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

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
mov edi, dword [esp + 0x58]
mov eax, ebp
sub eax, edi
sar eax, 2
cdq
sub eax, edx
mov edx, dword [esp + 0x64]
sar eax, 1
lea esi, [edi + eax*4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [ebp - 4]
push eax
push esi
mov eax, edi
call fcn.00491db0
add esp, 0x18
cmp edi, esi
lea ebx, [esi + 4]
jae 0x48ff14
mov byte [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi - 4]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
call fcn.00492d50
test al, al
jne 0x48ff14
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x64]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
call fcn.00492d50
test al, al
jne 0x48ff14
mov esi, edi
cmp dword [esp + 0x58], esi
jb 0x48fec4
cmp ebx, ebp
jae 0x48ff68
mov dword [esp + 0x2c], esi
lea esp, [esp]
mov byte [esp + 0x14], 0
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x64]
mov dword [esp + 0x2c], ebx
call fcn.00492d50
test al, al
jne 0x48ff68
mov byte [esp + 0x10], al
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x64]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
call fcn.00492d50
test al, al
jne 0x48ff68
add ebx, 4
cmp ebx, ebp
jb 0x48ff20
mov eax, esi
mov edi, ebx
mov dword [esp + 0x10], eax
cmp edi, ebp
jae 0x48ffd9
mov dword [esp + 0x30], esi
jmp 0x48ff80
mov byte [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x64]
mov dword [esp + 0x38], edi
call fcn.00492d50
test al, al
jne 0x48ffce
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x64]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
call fcn.00492d50
test al, al
jne 0x48ffd5
mov edx, dword [edi]
mov eax, ebx
mov ecx, dword [eax]
mov dword [eax], edx
add ebx, 4
mov dword [edi], ecx
add edi, 4
cmp edi, ebp
jb 0x48ff80
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x58]
jbe 0x490055
lea ebp, [eax - 4]
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
lea edx, [esp + 0x64]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
call fcn.00492d50
test al, al
jne 0x490035
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x64]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
call fcn.00492d50
test al, al
jne 0x490049
mov edx, dword [ebp]
mov eax, dword [esi - 4]
sub esi, 4
mov dword [esi], edx
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
sub eax, 4
sub ebp, 4
cmp dword [esp + 0x58], eax
mov dword [esp + 0x10], eax
jb 0x48ffe2
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x5c]
cmp eax, dword [esp + 0x58]
jne 0x49008d
cmp edi, ebp
je 0x4900c8
cmp ebx, edi
je 0x490067
mov edx, dword [ebx]
mov ecx, dword [esi]
mov dword [esi], edx
mov dword [ebx], ecx
mov edx, esi
mov ebp, dword [edx]
mov ecx, edi
mov dword [esp + 0x28], ebp
mov ebp, dword [ecx]
mov dword [edx], ebp
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x5c]
add ebx, 4
add esi, 4
add edi, 4
mov dword [ecx], edx
jmp 0x48ff70
sub eax, 4
cmp edi, ebp
mov dword [esp + 0x10], eax
jne 0x4900b8
sub esi, 4
cmp eax, esi
je 0x4900a7
mov edx, dword [esi]
mov ecx, dword [eax]
mov dword [eax], edx
mov dword [esi], ecx
mov edx, dword [ebx - 4]
mov ecx, dword [esi]
sub ebx, 4
mov dword [esi], edx
mov dword [ebx], ecx
jmp 0x48ff70
mov ecx, dword [edi]
mov edx, dword [eax]
mov dword [edi], edx
mov dword [eax], ecx
add edi, 4
jmp 0x48ff70
mov eax, dword [esp + 0x54]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], ebx
pop ebx
add esp, 0x40
ret