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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a482
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
mov eax, dword [0x4a1e24]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x4a1e24
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
mov edx, dword [0x4a1e24]
xor ebp, ebp
mov ecx, 0x4a1e24
mov dword [esp + 0x2dc], ebp
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [esp + 0x20], eax
xor eax, eax
mov ecx, 0x13
lea edi, [esp + 0x78]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
rep stosd dword es:[edi], eax
mov byte [esp + 0x1c8], al
mov byte [esp + 0xc8], al
lea eax, [esp + 0x1c8]
mov dword [esp + 0x94], eax
mov eax, dword [0x4a1de4]
lea ecx, [esp + 0xc8]
mov dword [esp + 0x38], 0x45f420
mov dword [esp + 0x3c], 0x45f414
mov dword [esp + 0x40], 0x45f40c
mov dword [esp + 0x44], 0x45f400
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x78], 0x4c
mov dword [esp + 0x98], 0x104
mov dword [esp + 0xb4], 0x45f3f8
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], pe_nt_image_headers32
mov dword [esp + 0xac], 0x880822
mov dword [esp + 0x84], 0x45f3dc
mov dword [esp + 0x80], eax
mov dword [esp + 0xbc], 0x40dc90
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], 0x45df54
mov byte [esp + 0x2dc], 2
mov dword [esp + 0xa8], 0x45f3c8
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x5c]
call fcn.004183e0
cmp eax, 1
jne 0x4315ce
push fcn.00402c70
push fcn.00402da0
push 5
push 4
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x5c], 0x4663f4
mov dword [esp + 0x60], 0x466408
mov dword [esp + 0x64], 0x46641c
mov dword [esp + 0x68], 0x466430
call fcn.0044e918
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 3
call fcn.00406a40
mov eax, dword [esp + 0x18]
push 0x45f360
push eax
mov byte [esp + 0x2e4], 4
call fcn.0044da6f
add esp, 8
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x43158d
mov esi, dword [esp + ebp + 0x48]
lea edi, [esp + 0x24]
sub edi, esi
mov ebx, 5
mov edx, dword [esi]
lea ecx, [edi + esi]
push ecx
mov ecx, dword [esp + 0x24]
push edx
call fcn.0042fed0
add esi, 4
dec ebx
jne 0x431521
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + ebp + 0x44]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x45f398
push eax
call fcn.00412d20
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
push ecx
push ebx
call fcn.0044e7e9
add ebp, 4
add esp, 0x28
cmp ebp, 0x10
jl 0x431512
mov edx, dword [esp + 0x10]
push edx
call fcn.0044d9c2
add esp, 4
xor ebp, ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4315b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push fcn.00402c70
push 5
push 4
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x2ec], 2
call fcn.0044e8b8
mov eax, dword [esp + 0x6c]
cmp eax, ebp
je 0x4315e5
push eax
push ebp
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43160b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2dc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2d4]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 0x10