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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48e13b
sub esp, 0x6c
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x88]
mov ebp, edx
and edx, ebx
mov eax, ebx
mov ebx, dword [esp + 0x84]
shr edx, 0x1f
shl edx, 0x1f
test edx, edx
je 0x48df7d
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x3c], ecx
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x90]
mov esi, ebx
sbb ebx, ebp
mov dword [esp + 0x4c], ebx
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
test eax, eax
setb cl
and ecx, edi
test ebx, ebx
setl bl
or ebx, ecx
test bl, bl
je 0x48df72
cmp esi, ebp
sete cl
mov ebx, dword [esp + 0x3c]
cmp edx, ebx
seta dl
and edx, ecx
cmp esi, ebp
setg cl
or edx, ecx
test dl, dl
jne 0x48df58
test eax, eax
seta cl
and ecx, edi
mov edx, dword [esp + 0x4c]
test edx, edx
xchg edi, ebx
setg bl
xchg edi, ebx
or ecx, edi
test cl, cl
je 0x48df2c
cmp esi, ebp
sete cl
mov edi, dword [esp + 0x40]
cmp edi, ebx
setb bl
and ebx, ecx
cmp esi, ebp
setl cl
or ecx, ebx
test cl, cl
jne 0x48df3e
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
add esp, 0x6c
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
add esp, 0x6c
ret
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x7fffffff
add esp, 0x6c
ret
test eax, eax
mov ebx, dword [esp + 0x3c]
jmp 0x48def9
mov edx, ebp
shr ebp, 0x1f
shl ebp, 0x1f
test ebp, ebp
je 0x48e12c
shl edx, 1
mov ebp, ecx
shr ecx, 0x1f
or ecx, edx
mov edx, ebp
shl ebp, 1
shr ebp, 0x1f
mov esi, ecx
shl ecx, 1
or ebp, ecx
mov ecx, ebp
add ebp, 0xd7b17f80
shr esi, 0x1f
add ecx, 0xd7b17f80
adc esi, 0xd
mov ecx, eax
shr eax, 0x1f
shl eax, 0x1f
test eax, eax
je 0x48e117
shl ecx, 1
mov eax, ebx
shr ebx, 0x1f
or ebx, ecx
mov ecx, eax
shl eax, 1
shr eax, 0x1f
mov edi, ebx
shl ebx, 1
or eax, ebx
mov ebx, eax
add eax, 0xd7b17f80
shr edi, 0x1f
add ebx, 0xd7b17f80
adc edi, 0xd
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
sub ebp, eax
mov eax, ebp
mov ebx, 0x3b9aca00
mov ebp, edx
mul ebx
mov dword [esp + 0x50], eax
and ebp, 0x3fffffff
and ecx, 0x3fffffff
sub ebp, ecx
add eax, ebp
mov dword [esp + 0x44], eax
mov ebx, edi
mov edi, esp
lea esi, [esp + 0x84]
call fcn.0044c3be
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x34]
mov esi, ebp
mov ebp, dword [esp + 0x30]
sub ecx, ebp
mov ecx, dword [esp + 0x38]
sbb ecx, ebx
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, esi
sar esi, 0x1f
mov ebx, dword [esp + 0x50]
add ebx, edx
adc ecx, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], ecx
call fcn.0048dc00
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.0044c3be
mov edi, esp
lea esi, [esp + 0x58]
call fcn.0044c3be
lea edi, [esp + 0x14]
mov dword [esp + 0x54], edi
lea esi, [esp + 0x70]
call fcn.0044c3be
call fcn.0048cc30
movzx ecx, byte [esp + 0x28]
test cl, cl
jne 0x48e0fd
mov edi, esp
lea esi, [esp + 0x70]
call fcn.0044c3be
mov edi, dword [esp + 0x54]
lea esi, [esp + 0x84]
call fcn.0044c3be
call fcn.0048ca10
movzx eax, byte [esp + 0x28]
test al, al
je 0x48e0e3
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
add esp, 0x6c
ret
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0x7fffffff
add esp, 0x6c
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
add esp, 0x6c
ret
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
mov ecx, ebx
jmp 0x48dff0
mov esi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov edx, ecx
jmp 0x48dfb7
call fcn.0044a470
jmp fcn.0048de50