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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x4c
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], edx
mov edi, dword [edx]
mov edx, dword [ebx]
mov ebp, dword [eax]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x7c]
lea eax, [edx*8]
shl edi, 3
lea ebx, [ebp*4 + 4]
mov dword [esp], ebx
mov ebx, eax
neg ebx
lea esi, [ecx + edx*8]
mov dword [esp + 4], edi
mov ebp, dword [ecx]
sub ecx, eax
mov dword [esp + 0x34], ebp
mov edi, dword [ebx + esi + 4]
mov ebx, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x3c], edi
mov ebx, dword [ebx]
mov esi, dword [esi]
cmp ebx, esi
jl 0x48ae63
mov ebx, esi
mov eax, dword [ecx + ebx*8]
sub eax, ebp
mov ebp, dword [ecx + ebx*8 + 4]
sub ebp, edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ebp
mov esi, dword [edi]
cmp edx, esi
mov edi, dword [esp + 4]
cmovge esi, edx
cmp ebx, esi
lea edx, [esi + 1]
mov dword [esp + 0x38], edx
mov edx, dword [esp]
jle 0x48b876
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
sub eax, edx
mov esi, dword [esi]
mov dword [esp + 0x48], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 4], edi
lea edx, [eax + edx*2]
mov eax, 0x2aaaaaab
lea ebp, [esi - 1]
mov dword [esp + 0x44], edx
imul ebp
sar ebp, 0x1f
sub edx, ebp
mov eax, dword [esp + 0x74]
inc edx
sub eax, edi
mov dword [esp], eax
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, esi
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + ebx*8 - 4]
mov esi, dword [ecx + ebx*8 - 8]
sub ebp, dword [esp + 0x3c]
sub esi, dword [esp + 0x34]
mov ecx, dword [edi + ebx*4]
test ecx, ecx
mov dword [esp + 0x30], ebp
je 0x48b86b
mov ebp, dword [esp + 0x70]
sub edx, esi
mov dword [0x5e1aac], edx
sub eax, dword [esp + 0x30]
mov edi, dword [ebp + ebx*4 - 4]
mov ebp, dword [ebp + ebx*4]
sub ebp, edi
mov dword [esp + 0x2c], edi
lea edi, [ebp - 1]
imul edi, ebp
mov edx, edi
shr edx, 0x1f
add edi, edx
sar edi, 1
add eax, edi
cdq
idiv ebp
mov dword [0x5e1ab0], eax
cmp ecx, 1
jle 0x48af51
add ecx, ebx
mov eax, dword [esp + 0x70]
mov ebp, dword [eax + ecx*4 - 4]
sub ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
test edi, edi
jle 0x48b86b
mov eax, dword [esp + 0x84]
dec ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x24], 1
mov dword [esp + 0x10], esi
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x44]
lea edx, [edx + esi*8]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x48]
sub eax, esi
add eax, edi
cdq
idiv edi
mov ebx, eax
cmp ebp, 5
ja case.default.0x48b704
mov eax, dword [ebp*4 + 0x5c2508]
jmp eax
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2520]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004d2200
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004cff10
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004ce250
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004ccc00
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004cbd10
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004cb760
jmp case.default.0x48b704
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2538]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c9a40
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c7dd0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c6680
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c5410
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c4820
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c4340
jmp case.default.0x48b704
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2550]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c2ca0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c1980
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c0730
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bf900
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004befc0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004beb50
jmp case.default.0x48b704
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2568]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bdab0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bcca0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bc130
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bb6d0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bb190
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004bac70
jmp case.default.0x48b704
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2580]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004ba180
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b9870
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b9140
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b8c70
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b8860
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b8470
jmp case.default.0x48b704
lea eax, [ebx - 1]
cmp eax, 5
ja case.default.0x48b704
mov eax, dword [eax*4 + 0x5c2598]
jmp eax
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b7fd0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b7bc0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b77b0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b72b0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b6ed0
jmp case.default.0x48b704
mov eax, esi
imul eax, dword [esp + 4]
add eax, dword [esp]
push dword [esp + 0x20]
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
push dword [esp + 0x80]
push 0x5e1ab0
push 0x5e1aac
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004b6c30
dec edi
add esi, ebx
test edi, edi
jg 0x48af9d
nop
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
dec ebx
cmp ebx, dword [esp + 0x38]
jge 0x48aeda
add esp, 0x4c
pop ebp
pop ebx
pop edi
pop esi
ret 0x38