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

Disassembly:
push 0xffffffffffffffff
push 0x43b288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x1a
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
mov eax, dword [0x44b0d8]
mov dword [esp + 0x10], eax
xor ebp, ebp
push 0x77
lea ecx, [esp + 0x14]
mov dword [esp + 0x4a4], ebp
call fcn.0042ebeb
mov ecx, dword [esp + 0x10]
push ecx
push 0x404
mov ecx, esi
call fcn.0042da53
mov ecx, eax
call fcn.0042db43
lea edx, [esp + 0x30]
mov dword [0x44d130], edx
call fcn.0040f7b0
mov edi, eax
cmp edi, ebp
je 0x40ab83
push 0x78
lea ecx, [esp + 0x14]
call fcn.0042ebeb
push edi
lea eax, [esp + 0x9c]
push 0x44a260
push eax
call fcn.0041bf4d
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push ecx
push edx
push eax
call fcn.0042a2a3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a4], 1
call fcn.0042a147
lea ecx, [esp + 0xc]
mov byte [esp + 0x4a0], 0
call fcn.0042a00e
mov ecx, dword [esp + 0x10]
push ecx
push 0x404
mov ecx, esi
call fcn.0042da53
mov ecx, eax
call fcn.0042db43
jmp 0x40ae49
push ebp
push 0x404
mov ecx, esi
call fcn.0042da53
mov ecx, eax
call fcn.0042dc44
lea edi, [esi + 0x5c]
push 5
mov ecx, edi
call fcn.0042dc44
mov edx, dword [esi + 0x78]
push ebp
push ebp
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
cmp eax, 0x30e58
jne 0x40ac9b
push ebx
lea ebx, [esp + 0x5c]
lea ecx, [esp + 0x20]
call fcn.0042938f
push 0xffffffffffffffff
push 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x4ac], 2
call fcn.00429422
mov eax, dword [esp + 0x24]
push ebp
push 0x44a25c
push eax
call fcn.004280ba
mov edx, dword [esp + 0x30]
xor ecx, ecx
mov cx, word [ebx - 0x20]
add edx, 4
push ecx
push 0x44a25c
push edx
call fcn.004280ba
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov ax, word [ebx]
add ecx, 8
push eax
push 0x44a25c
push ecx
call fcn.004280ba
mov eax, dword [esp + 0x48]
xor edx, edx
mov dx, word [ebx + 0x20]
add eax, 0xc
push edx
push 0x44a25c
push eax
call fcn.004280ba
add esp, 0x30
mov ecx, edi
push 0
push 0
push 0
push 0
push 0x44d124
push ebp
push 1
call fcn.0042830a
xor esi, esi
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*4]
mov ecx, edi
push eax
push esi
push ebp
call fcn.00428356
inc esi
cmp esi, 4
jl 0x40ac5c
lea ecx, [esp + 0x20]
mov byte [esp + 0x4a4], 0
call fcn.004293c2
inc ebp
add ebx, 2
cmp ebp, 0x10
jl 0x40abc8
mov esi, dword [esp + 0x10]
pop ebx
jmp 0x40ae1f
cmp eax, 0x30e62
mov eax, dword [0x44b0d8]
jne 0x40ad85
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
and edx, 0xffff
mov byte [esp + 0x4a0], 5
push edx
push 0x44a25c
push eax
call fcn.004280ba
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x20]
and ecx, 0xffff
push ecx
push 0x44a25c
push edx
call fcn.004280ba
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x30]
and eax, 0xffff
push eax
push 0x44a25c
push ecx
call fcn.004280ba
add esp, 0x24
mov ecx, edi
push ebp
push ebp
push ebp
push ebp
push 0x44d124
push ebp
push 1
call fcn.0042830a
mov edx, dword [esp + 0xc]
mov ecx, edi
push edx
push 1
push ebp
call fcn.00428356
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
push 2
push ebp
call fcn.00428356
mov ecx, dword [esp + 0x18]
push ecx
push 3
push ebp
mov ecx, edi
call fcn.00428356
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a0], 4
call fcn.0042a00e
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a0], 3
call fcn.0042a00e
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0xc]
jmp 0x40ae1a
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
and edx, 0xffff
mov byte [esp + 0x4a0], 7
push edx
push 0x44a25c
push eax
call fcn.004280ba
mov ecx, dword [esp + 0x3e]
lea edx, [esp + 0x18]
and ecx, 0xffff
push ecx
push 0x44a25c
push edx
call fcn.004280ba
add esp, 0x18
mov ecx, edi
push ebp
push ebp
push ebp
push ebp
push 0x44d124
push ebp
push 1
call fcn.0042830a
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
push 1
push ebp
call fcn.00428356
mov ecx, dword [esp + 0xc]
push ecx
push 2
push ebp
mov ecx, edi
call fcn.00428356
lea ecx, [esp + 0xc]
mov byte [esp + 0x4a0], 6
call fcn.0042a00e
mov byte [esp + 0x4a0], 0
lea ecx, [esp + 0x14]
call fcn.0042a00e
push 1
push 0x407
mov ecx, esi
call fcn.0042da53
mov ecx, eax
call fcn.0042dc86
push 1
push 0x406
mov ecx, esi
call fcn.0042da53
mov ecx, eax
call fcn.0042dc86
lea ecx, [esp + 0x10]
mov dword [esp + 0x4a0], 0xffffffff
call fcn.0042a00e
mov ecx, dword [esp + 0x498]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x498
ret