Function at 0x402190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51bf48
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x563fac]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00405061
lea eax, [esp + 0x18]
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 0x18], edi
je 0x402206
push esi
call fcn.00402580
push edi
mov ecx, esi
call fcn.00404cc9
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3ea
lea ebx, [esp + 0x1c]
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], edi
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0040bfe5
or ebp, 0xffffffff
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40224b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3ef
lea ebx, [esp + 0x1c]
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], 1
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x74]
call fcn.0040bfe5
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3ed
lea ebx, [esp + 0x1c]
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], 2
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x170]
call fcn.0040bfe5
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4022dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3ee
lea ebx, [esp + 0x1c]
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], 3
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x1c4]
call fcn.0040bfe5
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402326
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x7da
lea ebx, [esp + 0x1c]
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], 4
mov eax, dword [eax]
push eax
lea ecx, [esi + 0xc8]
call fcn.0040bfe5
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40236e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0x7d1
mov dword [esp + 0x28], 0x409
mov dword [esp + 0x2c], 0x7d2
mov dword [esp + 0x30], 0x411
mov dword [esp + 0x34], 0x7d3
mov dword [esp + 0x38], 0x40c
mov dword [esp + 0x3c], 0x7d4
mov dword [esp + 0x40], 0x410
mov dword [esp + 0x44], 0x7d5
mov dword [esp + 0x48], 0x407
mov dword [esp + 0x4c], 0x7d6
mov dword [esp + 0x50], 0xc0a
mov dword [esp + 0x54], 0x7d7
mov dword [esp + 0x58], 0x804
mov dword [esp + 0x5c], 0x7d8
mov dword [esp + 0x60], 0x404
mov dword [esp + 0x64], 0x7d9
mov dword [esp + 0x68], 0x412
call fcn.004036c0
push 0x7d1
lea ebx, [esp + 0x20]
mov dword [esp + 0x24], eax
call fcn.00401df0
add esp, 4
mov dword [esp + 0x78], 5
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], edi
jmp 0x402434
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + edi*8 + 0x24]
push ecx
lea ebx, [esp + 0x18]
call fcn.00401df0
add esp, 4
mov byte [esp + 0x78], 6
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x13c]
push edx
push 0
push 0x143
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x13c]
push ecx
push 0
push 0x14c
push edx
call ebp
mov edi, dword [esp + edi*8 + 0x28]
push edi
push eax
mov eax, dword [esi + 0x13c]
push 0x151
push eax
call ebp
cmp dword [esp + 0x20], edi
jne 0x40249a
mov ecx, ebx
push ecx
lea ecx, [esp + 0x20]
call fcn.00402660
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4024bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 9
jb 0x402430
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x13c]
push ecx
push 0
push 0x14d
push edx
call ebp
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40250e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret