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

Disassembly:
sub esp, 0x64
mov eax, dword [0x430018]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor edx, edx
push ebx
push ebp
inc edx
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x74]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x48], edx
mov ecx, 0x28f3472a
mov dword [esp + 0x40], edi
xor eax, ecx
imul ebx, eax
sub ebx, 0x31
xor ebx, ecx
imul ebx, dword [esp + 0x48]
mov dword [esp + 0x50], edx
imul eax, dword [esp + 0x50], 0x28f3471e
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
xor eax, ecx
mov dword [esp + 0x58], edx
imul ebp, eax
sub ebp, 0x37
xor ebp, ecx
imul ebp, dword [esp + 0x58]
mov dword [esp + 0x14], edx
imul esi, dword [esp + 0x14], 0x28f3472f
mov dword [esp + 0x1c], edx
imul eax, dword [esp + 0x1c], 0x28f3472a
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
xor eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, eax
mov eax, 0x28f3472a
xor edx, eax
imul edx, dword [esp + 0x68]
cmp ecx, edx
jae 0x40aebf
mov edi, dword [esp + 0x18]
xor ebx, eax
xor dword [esp + 0x20], eax
xor edi, eax
xor ebp, eax
push ecx
or ecx, 0x1833d
pop ecx
push eax
and eax, 0x10b81
jmp 0x40ad43
jmp 0x40ad4c
call 0x40ad59
add byte [ebx], bh
cmp al, 0x48
inc ecx
dec esp
cmp byte [edi], dh
add esp, 4
pop eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
imul ecx, ebx
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x40adaa
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x2c], 1
dec esi
xor esi, eax
imul esi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push ebx
push ebx
add esp, 4
jmp 0x40adb4
or ebx, 0x76fd
pop ebx
push ecx
push ebx
add esp, 4
sub ecx, 0x12632
sub ecx, 0x17002
pop ecx
push eax
and eax, 0x3b25
jmp 0x40addb
pop eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
imul ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x40ae2d
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x34], 1
sub esi, 3
xor esi, eax
imul esi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
imul ecx, ebp
imul edx, edi
imul eax, ecx
cmp edx, eax
jne 0x40ae7a
mov eax, 0x28f3472a
xor esi, eax
imul esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
dec esi
xor esi, eax
imul esi, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
call fcn.0040b483
mov edx, 0x28f3472a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
xor ecx, edx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x68], eax
xor edi, edx
mov eax, dword [esp + 0x1c]
imul ecx, dword [esp + 0x68]
imul eax, edi
cmp eax, ecx
jb 0x40ad2b
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
mov eax, edi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ed3d
add esp, 0x64
ret