Function at 0x10050da5
Capabilities:
Connect pipe
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b465
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push esi
push edi
mov dword [ebp - 0x29c], 0xfffffffe
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10050de5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10050dfe
push 0x12b1
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
push 1
lea eax, [ebp - 0x2bc]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004cdba
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x2a8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2a8]
lea edi, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x204], 0x1f6f0842
mov dword [ebp - 0x200], 0x1f6f0842
mov dword [ebp - 0x1fc], 0x1f6f0842
mov dword [ebp - 0x1f8], 0x1f6f0842
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x10050e70
mov dword [ebp - 0x1a8], 1
jmp 0x10050e77
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x10], 0
jne 0x10050e8c
cmp dword [ebp - 0x10], 0
je 0x10050e87
cmp dword [ebp - 0x10], 0
or eax, 0xffffffff
je 0x10050e9e
cmp dword [ebp - 0x10], 0
je 0x10050e9e
mov dword [ebp - 0x1d4], 1
jmp 0x10050ea5
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x268], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x204]
mov dword [ebp - 0x270], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x204]
mov dword [ebp + ecx - 0x204], eax
mov dword [ebp - 0x10], 0xa
jmp 0x10050eea
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x11
je 0x10050f08
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10050f06
push 0
push 0
call dword [sym.imp.GDI32.dll_CopyEnhMetaFileA]
jmp 0x10050ee3
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x1d0], 4
push 4
lea ecx, [ebp - 0x48]
call fcn.10016f3c
and dword [ebp - 4], 0
mov dword [ebp - 0xcc], 0xfffffffe
mov dword [ebp - 0x78], 0x796840eb
push 3
lea ecx, [ebp - 0x210]
call fcn.10016f3c
mov byte [ebp - 4], 1
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x138], 0x9c5c935c
mov dword [ebp - 0x1e4], 9
mov dword [ebp - 0x298], 0xfffffffd
mov dword [ebp - 0x14], 0
jmp 0x10050f8e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x10050fa7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov dword [eax], 0x4f147909
jmp 0x10050f87
mov dword [ebp - 0x14], 0
jmp 0x10050fb7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10050fd0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x210]
call fcn.10016fad
and dword [eax], 0
jmp 0x10050fb0
mov dword [ebp - 0xcc], 0xba31e468
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x78], eax
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov eax, dword [eax]
sub eax, 0x75fe6ce0
cmp eax, 0x66b7a7b
jg 0x10051011
mov dword [ebp - 0x184], 1
jmp 0x10051018
and dword [ebp - 0x184], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [eax]
jle 0x10051038
mov dword [ebp - 0x18c], 1
jmp 0x1005103f
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xfff6
jb 0x1005105d
mov dword [ebp - 0x194], 1
jmp 0x10051064
and dword [ebp - 0x194], 0
push 2
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax]
jl 0x10051099
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
cmp dword [eax], 0
jne 0x10051099
mov eax, 0xe069
test eax, eax
jne 0x10051099
and dword [ebp - 0x174], 0
jmp 0x100510a3
mov dword [ebp - 0x174], 1
push 1
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0x174]
sub ecx, dword [eax]
imul esi, ecx, 0xffff
push 3
lea ecx, [ebp - 0x48]
call fcn.10016fad
cmp esi, dword [eax]
jne 0x100510d5
mov dword [ebp - 0x17c], 1
jmp 0x100510dc
and dword [ebp - 0x17c], 0
push 3
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0x17c]
sub ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
push 2
lea ecx, [ebp - 0x210]
call fcn.10016fad
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
sub esi, 9
push 2
lea ecx, [ebp - 0x48]
call fcn.10016fad
cmp esi, dword [eax]
jg 0x10051138
mov dword [ebp - 0x1dc], 1
jmp 0x1005113f
and dword [ebp - 0x1dc], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10016fad
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov esi, eax
push 2
lea ecx, [ebp - 0x210]
call fcn.10016fad
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x10051174
mov dword [ebp - 0x168], 1
jmp 0x1005117b
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 0xffffffff
je 0x10051190
mov dword [ebp - 0xc8], 1
jmp 0x10051197
and dword [ebp - 0xc8], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0xc8]
imul ecx, dword [eax]
mov dword [ebp - 0x138], ecx
mov esi, dword [ebp - 0x138]
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
cmp esi, dword [eax]
jge 0x100511d0
mov dword [ebp - 0xd0], 1
jmp 0x100511d7
and dword [ebp - 0xd0], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10016fad
mov ecx, dword [ebp - 0xd0]
cmp ecx, dword [eax]
je 0x100511f7
mov dword [ebp - 0x190], 1
jmp 0x100511fe
and dword [ebp - 0x190], 0
mov esi, dword [ebp - 0x190]
inc esi
push 2
lea ecx, [ebp - 0x48]
call fcn.10016fad
sub esi, dword [eax]
je 0x10051347
mov dword [ebp - 0x4c], 0x19c36c1
push 2
lea ecx, [ebp - 0x248]
call fcn.10016f3c
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0
jmp 0x1005123f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10051258
push dword [ebp - 0x70]
lea ecx, [ebp - 0x248]
call fcn.10016fad
or dword [eax], 0xffffffff
jmp 0x10051238
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10051273
push 0x145b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [ebp - 0x4c], 0x6d23205e
jle 0x10051288
mov dword [ebp - 0xe0], 1
jmp 0x1005128f
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x4c], 0x13297949
jne 0x100512b9
mov dword [ebp - 0xd8], 1
jmp 0x100512c0
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xd8], eax
jl 0x100512d7
mov dword [ebp - 0x140], 1
jmp 0x100512de
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
jne 0x100512f3
mov dword [ebp - 0x170], 1
jmp 0x100512fa
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x1e4]
jl 0x1005131a
mov dword [ebp - 0xe8], 1
jmp 0x10051321
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x248]
call fcn.10016fad
mov ecx, dword [ebp - 0xe8]
mov dword [eax], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.10016fa8
jmp 0x100513a2
mov dword [ebp - 0x254], 0x78a4911c
mov dword [ebp - 0x25c], 0xffffffff
mov dword [ebp - 0x264], 0xbf2a6bc6
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x58], 0
jmp 0x1005137f
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x10051395
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x26c], 0x6ab81d4
jmp 0x10051378
mov eax, dword [ebp - 0x148]
dec eax
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.10016fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10016fa8
mov dword [ebp - 0x1d8], 0x39523dd9
mov dword [ebp - 0x1b4], 0xffffffff
mov dword [ebp - 0x1ec], 0x7b1891f7
mov dword [ebp - 0x68], 0
jmp 0x100513eb
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10051401
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xa0], 0x24a8c6a5
jmp 0x100513e4
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xa0], 0
jmp 0x1005142f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xa0]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa0], 0x1b
jle 0x1005146c
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x1005145f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
cmp dword [ebp - 0x1ec], 0
je 0x1005146a
jmp 0x1005146c
jmp 0x10051414
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0xa0]
mov dword [ebp + ecx - 0xa0], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x8d]
call fcn.10008913
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.10016fbc
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xac]
call fcn.10016f7e
mov dword [ebp - 4], 3
mov dword [ebp - 0x1f4], 0xfffffff8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x54], 0x9dcee34e
push 3
lea ecx, [ebp - 0x1c0]
call fcn.10016f3c
mov byte [ebp - 4], 4
mov dword [ebp - 0x60], 0
jmp 0x10051523
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1005153f
push dword [ebp - 0x60]
lea ecx, [ebp - 0x1c0]
call fcn.10016fad
mov dword [eax], 0x713e19f2
jmp 0x1005151c
push 3
lea ecx, [ebp - 0xac]
call fcn.10016fad
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xf0]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0xac]
call fcn.10016fad
mov esi, eax
push 2
lea ecx, [ebp - 0xac]
call fcn.10016fad
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x10051591
mov dword [ebp - 0x188], 1
jmp 0x10051598
and dword [ebp - 0x188], 0
push 2
lea ecx, [ebp - 0x1c0]
call fcn.10016fad
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x188], eax
je 0x100515de
mov dword [ebp - 0xf8], 1
jmp 0x100515e5
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 1
jl 0x100515fa
mov dword [ebp - 0x150], 1
jmp 0x10051601
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0x56974edf
jg 0x10051619
mov dword [ebp - 0x100], 1
jmp 0x10051620
and dword [ebp - 0x100], 0
mov esi, dword [ebp - 0x1c]
imul esi, dword [ebp - 0x100]
add esi, dword [ebp - 0x1c]
push 3
lea ecx, [ebp - 0xac]
call fcn.10016fad
sub esi, dword [eax]
je 0x1005165c
push 0
lea ecx, [ebp - 0x1c0]
call fcn.10016fad
cmp dword [eax], 0
je 0x1005165c
mov dword [ebp - 0x178], 1
jmp 0x10051663
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x178], eax
jle 0x1005167a
mov dword [ebp - 0x108], 1
jmp 0x10051681
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
neg eax
imul eax, eax, 0x9953
test eax, eax
je 0x1005169f
mov dword [ebp - 0x158], 1
jmp 0x100516a6
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x1f4]
imul eax, dword [ebp - 0x158]
test eax, eax
je 0x10051882
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x160], 0x8ef544bd
mov dword [ebp - 0x180], 0xfffffff6
mov dword [ebp - 0x38], 0x376e30f4
cmp dword [ebp - 0x50], 0
je 0x10051701
push 3
lea ecx, [ebp - 0xac]
call fcn.10016fad
cmp dword [eax], 0
je 0x10051701
mov dword [ebp - 0x110], 1
jmp 0x10051708
and dword [ebp - 0x110], 0
push 2
lea ecx, [ebp - 0x1c0]
call fcn.10016fad
mov ecx, dword [ebp - 0x110]
cmp ecx, dword [eax]
jne 0x1005172b
mov dword [ebp - 0x198], 1
jmp 0x10051732
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x198]
lea eax, [ecx + eax + 0x4fe1]
cmp eax, dword [ebp - 0x50]
jg 0x10051762
push 0
lea ecx, [ebp - 0xac]
call fcn.10016fad
cmp dword [eax], 0
jne 0x10051762
and dword [ebp - 0x118], 0
jmp 0x1005176c
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x274], eax
push 0xfffffffffffffff9
pop eax
cmp eax, 1
jne 0x100517a1
cmp dword [ebp - 0x180], 0
je 0x100517a1
mov dword [ebp - 0x120], 1
jmp 0x100517a8
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xdf2f
jne 0x100517c6
mov dword [ebp - 0x1ac], 1
jmp 0x100517cd
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24c], eax
push 2
lea ecx, [ebp - 0xac]
call fcn.10016fad
xor ecx, ecx
sub ecx, dword [eax]
mov eax, 0x5169ff4c
sub eax, ecx
cmp eax, dword [ebp - 0x50]
jl 0x1005182d
mov dword [ebp - 0x38], 0
jmp 0x10051803
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1005182b
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10051829
push 0x34b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100517fc
jmp 0x10051874
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10051841
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 0x1c], 0
jmp 0x10051851
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19
jg 0x10051874
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10051872
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x1005184a
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x180]
mov dword [ebp - 0x1c], eax
jmp 0x100518a1
mov dword [ebp - 0x1cc], 0x8a3e09e1
push 3
lea ecx, [ebp - 0xac]
call fcn.10016fad
mov eax, dword [eax]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c0]
call fcn.10016fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.10016fa8
mov dword [ebp - 0x5c], 0
jmp 0x100518cf
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x100518e5
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x2cc], 0xee91
jmp 0x100518c8
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x7c], 0xfffffffb
mov dword [ebp - 0x94], 0x3dc99cdf
push 2
lea ecx, [ebp - 0x130]
call fcn.10016f3c
mov dword [ebp - 4], 5
mov dword [ebp - 0x64], 0xe936be85
mov dword [ebp - 0x8c], 0xfffffff8
push 1
lea ecx, [ebp - 0x1a4]
call fcn.10016f3c
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
jmp 0x10051943
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1005195f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x130]
call fcn.10016fad
mov dword [eax], 1
jmp 0x1005193c
mov dword [ebp - 0x18], 0
jmp 0x1005196f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1005198b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
mov dword [eax], 0xfffa
jmp 0x10051968
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x94], 0
je 0x100519bb
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
cmp dword [eax], 0
je 0x100519bb
mov dword [ebp - 0xb8], 1
jmp 0x100519c2
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xb4f5ac3d
ja 0x100519da
mov dword [ebp - 0xbc], 1
jmp 0x100519e1
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x64], eax
jge 0x100519fe
mov dword [ebp - 0xc4], 1
jmp 0x10051a05
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xc4]
je 0x10051a22
mov eax, 0x5c0d
test eax, eax
jne 0x10051a22
and dword [ebp - 0xb0], 0
jmp 0x10051a2c
mov dword [ebp - 0xb0], 1
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jg 0x10051a4f
mov dword [ebp - 0x1c4], 1
jmp 0x10051a56
and dword [ebp - 0x1c4], 0
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x8c], eax
jl 0x10051a8f
mov dword [ebp - 0xd4], 1
jmp 0x10051a96
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xfffd
je 0x10051aae
mov dword [ebp - 0xdc], 1
jmp 0x10051ab5
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0xdc], eax
je 0x10051acf
mov dword [ebp - 0xe4], 1
jmp 0x10051ad6
and dword [ebp - 0xe4], 0
mov dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0xe4]
jg 0x10051af4
mov dword [ebp - 0xec], 1
jmp 0x10051afb
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0x95
jge 0x10051b13
mov dword [ebp - 0xf4], 1
jmp 0x10051b1a
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 0
je 0x10051b2f
mov dword [ebp - 0x1e8], 1
jmp 0x10051b36
and dword [ebp - 0x1e8], 0
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
cmp dword [eax], 0xfffffff8
je 0x10051b54
mov dword [ebp - 0xfc], 1
jmp 0x10051b5b
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
mov ecx, dword [ebp - 0xfc]
mov dword [eax], ecx
cmp dword [ebp - 0x94], 0
je 0x10051cd9
cmp dword [ebp - 0x28], 0
je 0x10051b8f
mov dword [ebp - 0x124], 1
jmp 0x10051b96
and dword [ebp - 0x124], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
cmp dword [eax], 0xa73
jge 0x10051bb7
mov dword [ebp - 0x104], 1
jmp 0x10051bbe
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x104], eax
jne 0x10051bd5
mov dword [ebp - 0x10c], 1
jmp 0x10051bdc
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10c], eax
jne 0x10051bf3
mov dword [ebp - 0x114], 1
jmp 0x10051bfa
and dword [ebp - 0x114], 0
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x114]
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
sub esi, dword [eax]
jne 0x10051c2f
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
cmp dword [eax], 0
jne 0x10051c2f
and dword [ebp - 0x11c], 0
jmp 0x10051c39
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x11c]
add eax, 7
cmp eax, 0x9c77
jl 0x10051c55
mov dword [ebp - 0x134], 1
jmp 0x10051c5c
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x134]
je 0x10051c76
mov dword [ebp - 0x13c], 1
jmp 0x10051c7d
and dword [ebp - 0x13c], 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
mov ecx, dword [ebp - 0x13c]
add ecx, dword [eax]
je 0x10051cb2
push 0
lea ecx, [ebp - 0x1a4]
call fcn.10016fad
cmp dword [eax], 0
je 0x10051cb2
mov dword [ebp - 0x1c8], 1
jmp 0x10051cb9
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x288], eax
xor eax, eax
inc eax
cmp eax, 3
jb 0x10051cd9
mov dword [ebp - 0x144], 1
jmp 0x10051ce0
and dword [ebp - 0x144], 0
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
mov esi, dword [ebp - 0x144]
imul esi, dword [eax]
push 1
lea ecx, [ebp - 0x130]
call fcn.10016fad
cmp esi, dword [eax]
jne 0x10051d13
mov dword [ebp - 0x14c], 1
jmp 0x10051d1a
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a4]
call fcn.10016fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10016fa8
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.1004d555
add esp, 0x14
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x88], 0xfadacd7d
mov dword [ebp - 0x6c], 0
jmp 0x10051d8d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10051da3
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x284], 0
jmp 0x10051d86
mov dword [ebp - 0x30], 0
jmp 0x10051db3
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffec
jle 0x10051f42
mov dword [ebp - 0x3c], 1
push 3
lea ecx, [ebp - 0x23c]
call fcn.10016f3c
mov dword [ebp - 4], 7
mov dword [ebp - 0x74], 0
jmp 0x10051de8
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x10051e01
push dword [ebp - 0x74]
lea ecx, [ebp - 0x23c]
call fcn.10016fad
or dword [eax], 0xffffffff
jmp 0x10051de1
cmp dword [ebp - 0x30], 0
jne 0x10051e6b
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x88], 9
je 0x10051e28
mov dword [ebp - 0x154], 1
jmp 0x10051e2f
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x154], eax
jle 0x10051e43
mov dword [ebp - 0x80], 1
jmp 0x10051e47
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x284], ecx
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x80]
test eax, eax
jne 0x10051e6b
and dword [ebp - 0x15c], 0
jmp 0x10051e75
mov dword [ebp - 0x15c], 1
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x3c]
je 0x10051e98
cmp dword [ebp - 0x3c], 0
je 0x10051e98
mov dword [ebp - 0x1b0], 1
jmp 0x10051e9f
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x294], eax
mov eax, 0x29c4ddb8
test eax, eax
je 0x10051eb5
cmp dword [ebp - 0x3c], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x284], 0x59229a27
jle 0x10051ed3
mov dword [ebp - 0x164], 1
jmp 0x10051eda
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x164], eax
je 0x10051ef1
mov dword [ebp - 0x16c], 1
jmp 0x10051ef8
and dword [ebp - 0x16c], 0
push 8
pop eax
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x16c]
je 0x10051f12
mov dword [ebp - 0xb4], 1
jmp 0x10051f19
and dword [ebp - 0xb4], 0
push 2
lea ecx, [ebp - 0x23c]
call fcn.10016fad
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.10016fa8
jmp 0x10051dac
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10051f59
push 0x1867
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 0x21c], 0
je 0x10051f76
push 2
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call dword [ebp - 0x21c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret