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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60a59c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
and dword [esp + 4], 0
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x16c]
mov ecx, dword [eax]
add dword [ebp + 0xc], ecx
mov eax, dword [eax + 4]
push dword [ebp + 0x14]
add dword [ebp + 0x10], eax
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [eax + 0x47c]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov eax, dword [eax + 4]
sub dword [ebp + 0x10], eax
cmp dword [esi + 0xec], 0
je 0x48faf3
push ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esp
push dword [ebp + 0x14]
mov dword [eax + 4], ecx
mov ebx, dword [esi + 0xec]
lea eax, [esp + 0x2c]
push eax
call fcn.0049922e
xor ebx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x20], ebx
je 0x48fae4
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
call fcn.0042d8b1
or dword [esp + 0x3c], 0xffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.0046458f
jmp 0x48fc17
or dword [esp + 0x3c], 0xffffffff
push ebx
lea ecx, [esp + 0x24]
call fcn.0046458f
mov ebx, dword [esi + 0x2c]
lea eax, [ebx + 0x498]
call fcn.0040c812
cmp eax, 1
je 0x48fbb0
lea eax, [ebx + 0x498]
call fcn.0040c812
test eax, eax
je 0x48fbb0
xor edi, edi
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x48fb2e
mov eax, dword [eax - 4]
jmp 0x48fb30
xor eax, eax
cmp edi, eax
jge 0x48fbf1
mov eax, dword [esi + 0xcc]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d0]
test eax, eax
jne 0x48fb82
push ecx
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esp
sub esp, 0x10
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, ebx
call dword [eax + 0x220]
call fcn.0042a41e
add esp, 0x18
test al, al
jne 0x48fb85
inc edi
jmp 0x48fb1f
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
sub eax, dword [ebx + 0x7c]
sub edx, dword [ebx + 0x78]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
mov dword [esp + 0x1c], esp
push dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3e4]
jmp 0x48fc17
xor edi, edi
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x48fbc1
mov eax, dword [eax - 4]
jmp 0x48fbc3
xor eax, eax
cmp edi, eax
jge 0x48fbf1
mov eax, dword [esi + 0xcc]
mov ebx, dword [eax + edi*4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1d0]
test eax, eax
jne 0x48fbee
mov ecx, dword [ebx + 0x8c]
add ecx, dword [ebx + 0x7c]
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jl 0x48fb88
inc edi
jmp 0x48fbb2
mov eax, dword [esi + 0x8c]
push dword [ebp + 8]
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x30], eax
mov eax, dword [esi]
mov ecx, esi
jge 0x48fc11
call dword [eax + 0x180]
jmp 0x48fc17
call dword [eax + 0x184]
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10