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

Disassembly:
push edi
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x18]
sub esp, 0x5c
lea eax, [ebx + ebx*2]
xor edx, edx
mov ecx, dword [esp + 0xb0]
lea edi, [ebx + eax]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edx
test esi, esi
jle 0x49933f
shl ebx, 2
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x80]
mov esi, ebx
mov ebx, dword [eax]
mov dword [esp + 4], esi
mov eax, 0xffffffff
add eax, ebx
lea edx, [edx + ebx*4]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x50], edx
sub edx, ecx
mov dword [esp + 0x44], eax
mov dword [esp], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
mov esi, ebp
mov dword [esp + 0x10], edx
call fcn.00498ce0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
call fcn.00498ce0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
shl eax, 2
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x98]
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0xa0]
add eax, edx
mov edx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00498ce0
xor ebx, ebx
mov eax, dword [esp + 0x84]
test eax, eax
jle 0x49930a
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x44]
mov ebp, dword [eax + ebx*4]
cmp ebp, edx
jle 0x49927f
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov ecx, ebp
shl ecx, 2
lea ecx, [ecx + eax*8]
mov eax, dword [esp + 0x40]
add ecx, edx
mov edx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.00498ce0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
lea eax, [eax + edx*2]
cmp ebp, eax
jl 0x4991dd
mov eax, edx
mov edx, dword [esp + 0x30]
shl eax, 2
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
lea eax, [eax + ebp*4]
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.00498ce0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
add eax, edx
cmp ebp, eax
jl 0x49922f
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
lea eax, [eax + ebp*4]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.00498ce0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
add eax, edx
cmp ebp, eax
jl 0x49927b
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
lea eax, [eax + ebp*4]
mov dword [esp + 4], ecx
sub eax, edx
mov edx, dword [esp + 0x98]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
call fcn.00498ce0
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x48], eax
test edx, edx
je 0x499347
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x9c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov edx, dword [edx + ebx*4]
mov eax, dword [esp + 0x40]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
call fcn.00498ea0
mov eax, dword [esp + 0xb8]
add edi, eax
mov eax, dword [esp + 0x7c]
inc ebx
mov edx, dword [esp + 0x84]
lea esi, [esi + eax*4]
cmp ebx, edx
jl 0x499106
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x4c]
lea eax, [eax + edx*4]
inc ebx
mov dword [esp + 0x30], eax
lea ebp, [ebp + ecx*4]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], ebx
cmp ebx, eax
jl 0x49901a
add esp, 0x5c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x9c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov ecx, dword [ecx + ebx*4]
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebp
call fcn.00498dc0
jmp 0x4992ef