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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x4c]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov edi, dword [esp + 0x60]
mov esi, ecx
mov ebx, dword [esi + 0x7c]
mov ecx, dword [esp + 0x58]
push ebp
push edi
push eax
mov edx, ebx
shl edx, 4
push ecx
lea eax, [edx + esi + 4]
push eax
mov dword [esp + 0x44], esi
call dword [0x485508]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
sub edi, edx
sub ebp, ecx
imul edi, ebp
cmp ebx, 5
mov dword [esi + ebx*4 + 0x64], edi
je 0x404ced
mov eax, dword [esi + 0x7c]
pop edi
inc eax
mov dword [esi + 0x7c], eax
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10
xor edx, edx
lea eax, [esi + 4]
lea ecx, [esi + 0x64]
mov dword [esp + 0x64], 0x7fffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea esp, [esp]
inc edx
cmp edx, 6
mov dword [esp + 0x34], edx
mov dword [esp + 0x58], edx
jge 0x404e05
mov edx, dword [ecx]
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
add eax, 0x14
add ecx, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
jmp 0x404d63
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [ecx]
mov ecx, dword [eax - 4]
cmp ebx, ecx
jl 0x404d72
mov ebx, ecx
mov ecx, dword [eax]
cmp edi, ecx
jl 0x404d7a
mov edi, ecx
mov ecx, dword [eax + 4]
cmp esi, ecx
jg 0x404d83
mov esi, ecx
mov eax, dword [eax + 8]
cmp edx, eax
jg 0x404d8c
mov edx, eax
mov eax, edx
mov ecx, esi
sub ecx, ebx
sub eax, edi
imul eax, ecx
mov ecx, eax
sub ecx, ebp
sub ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x64]
jge 0x404dcd
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
inc ecx
add edi, 4
add eax, 0x10
cmp ecx, 6
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
jl 0x404d53
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, 4
add eax, 0x10
cmp edx, 5
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jl 0x404d10
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esi + eax*4 + 0x64], edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push ecx
shl eax, 4
push edx
lea eax, [eax + esi + 4]
push eax
call dword [0x485508]
mov eax, dword [esp + 0x50]
cmp eax, 5
je 0x404e7e
mov ecx, dword [esi + 0x78]
mov dword [esi + eax*4 + 0x64], ecx
shl eax, 4
lea edx, [esi + 0x54]
mov ecx, dword [edx]
lea eax, [eax + esi + 4]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10