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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x88], 0x7644faa2
mov edx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
lea edx, section..datA
imul esi, ecx, 0x140
mov edi, edx
add edi, esi
add edi, 0xa8
imul esi, ecx, 0x140
add edx, esi
add edx, 0xc
mov edx, dword [edx]
mov esi, dword [esp + 0x88]
add esi, 0x89bb055f
add ecx, esi
xor edx, dword [edi]
add edx, eax
cmp ecx, 0x11
mov eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
je 0x404da8
jmp 0x404be2
mov eax, dword [esp + 0x3c]
mov cl, byte [eax + 0x424fab]
sub cl, byte [eax + 0x424fda]
mov byte [esp + eax + 0x50], cl
mov edx, dword [esp + 0x70]
imul edx, dword [esp + 0x70]
mov dword [esp + 0x70], edx
add eax, 1
cmp eax, 0xe
mov dword [esp + 0x3c], eax
je 0x404d42
jmp 0x404c39
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, section..datA
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov ebx, esi
imul ebx, edi
mov dword [esp + 0x30], eax
mov eax, esi
mov dword [esp + 0x2c], edx
mul esi
add edx, ebx
add edx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x30]
imul edx, eax, 0x140
mov esi, dword [esp + 0x2c]
add esi, edx
add esi, 0xa8
mov edx, dword [esi]
mov si, word [esp + 0x86]
imul edi, eax, 0x140
mov ebx, dword [esp + 0x2c]
add ebx, edi
add ebx, 0x13c
imul si, si, 0xec13
mov word [esp + 0x86], si
mov edi, dword [esp + 0x70]
imul eax, eax, 0x140
mov esi, dword [esp + 0x2c]
add esi, eax
add esi, 0xc
mov eax, dword [esi]
mov esi, dword [ebx]
mov dword [esp + 0x70], edi
xor eax, edx
mov edx, dword [esp + 0x28]
add edx, ecx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call fcn.00403f36
mov eax, dword [esp + 0x30]
add eax, 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ecx, edx
cmp eax, 0x11
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
je 0x404dc5
jmp 0x404c6e
call fcn.00404e34
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004050f2
xor ecx, ecx
mov edx, 0x1000
mov esi, 4
mov dword [esp], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
call eax
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
jmp 0x404c6e
xor eax, eax
lea ecx, [esp + 0x50]
xor edx, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
jmp 0x404c39
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0040494a
xor eax, eax
mov ecx, dword [esp + 0x28]
add ecx, 0x2c3e
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x24], ecx
mov ecx, dword [esp + 0x70]
and ecx, 0x3a8512e7
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
xor ecx, 0xffffffff
mov esi, dword [esp + 0x88]
xor esi, 0x7644da92
mov dword [esp + 0x70], ecx
mov dword [edx], 0x1b000
mov ecx, dword [esp + 0x28]
add ecx, 0x692
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x10], esi
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret