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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b81ea
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x7c]
mov ebp, edx
and edx, ebx
mov eax, ebx
mov ebx, dword [esp + 0x78]
test edx, 0x80000000
je 0x4b8043
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov edx, eax
sub eax, ecx
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x40], ebp
mov esi, ebx
sbb ebx, ebp
test ebx, ebx
xchg edi, ebx
setl bl
xchg edi, ebx
sete cl
test eax, eax
setb al
and eax, ecx
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b8038
cmp esi, ebp
setg al
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebp, dword [esp + 0x3c]
cmp edx, ebp
seta dl
and edx, edi
or edx, eax
test dl, dl
jne 0x4b801e
test ebx, ebx
setg al
mov edx, dword [esp + 0x4c]
test edx, edx
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ecx
or edi, eax
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b7ff2
mov eax, dword [esp + 0x40]
cmp esi, eax
setl al
sete cl
mov esi, dword [esp + 0x44]
cmp esi, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or eax, ebp
test al, al
jne 0x4b8004
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
add esp, 0x60
ret
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x80000000
add esp, 0x60
ret
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], 0x7fffffff
add esp, 0x60
ret
test ebx, ebx
mov ebp, dword [esp + 0x3c]
jmp 0x4b7fb7
test ebp, 0x80000000
je 0x4b81db
shl ebp, 1
mov edx, ecx
shr ecx, 0x1f
or ecx, ebp
mov ebp, edx
shl edx, 1
shr edx, 0x1f
mov esi, ecx
shl ecx, 1
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr esi, 0x1f
add ecx, 0xd7b17f80
adc esi, 0xd
test eax, 0x80000000
je 0x4b81c6
shl eax, 1
mov ecx, ebx
shr ebx, 0x1f
or ebx, eax
mov eax, ecx
shl ecx, 1
shr ecx, 0x1f
mov edi, ebx
shl ebx, 1
or ecx, ebx
mov ebx, ecx
add ecx, 0xd7b17f80
shr edi, 0x1f
add ebx, 0xd7b17f80
adc edi, 0xd
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x58], eax
mov ebx, edx
sub edx, ecx
mov eax, edx
mov ecx, 0x3b9aca00
mul ecx
mov dword [esp + 0x54], eax
and ebp, 0x3fffffff
mov ecx, dword [esp + 0x58]
and ecx, 0x3fffffff
sub ebp, ecx
add eax, ebp
mov dword [esp + 0x48], eax
mov edi, esp
lea esi, [esp + 0x78]
call fcn.0045a51e
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
sub ebx, ecx
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
sbb ecx, ebx
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, ebp
sar ebp, 0x1f
mov ebx, dword [esp + 0x54]
add ebx, edx
adc ecx, ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x18], ecx
call fcn.004b7cc0
lea esi, [esp + 0x1c]
mov edi, esp
call fcn.0045a51e
lea edi, [esp + 0x14]
mov dword [esp + 0x5c], edi
lea esi, [esp + 0x64]
call fcn.0045a51e
call fcn.004b6210
movzx ecx, byte [esp + 0x28]
test cl, cl
jne 0x4b81ac
mov edi, esp
lea esi, [esp + 0x64]
call fcn.0045a51e
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0045a51e
call fcn.004b6020
movzx eax, byte [esp + 0x28]
test al, al
je 0x4b8192
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x80000000
add esp, 0x60
ret
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], 0x7fffffff
add esp, 0x60
ret
mov eax, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], eax
add esp, 0x60
ret
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, ebx
jmp 0x4b80ae
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebp, ecx
jmp 0x4b8079
call fcn.00458550
jmp fcn.004b7f10