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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bdcb5
sub esp, 0x68
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x84]
mov ebp, edx
and edx, ebx
mov eax, ebx
mov ebx, dword [esp + 0x80]
test edx, 0x80000000
je 0x4bdafc
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov edx, eax
sub eax, ecx
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x40], ebp
mov esi, ebx
sbb ebx, ebp
test ebx, ebx
jge 0x4bda7a
cmp esi, ebp
xchg edi, ebx
setg bl
xchg edi, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, edx
setb cl
and ecx, ebp
or ecx, edi
test cl, cl
jne 0x4bdae2
test ebx, ebx
setg cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test eax, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, ebp
or ecx, edi
test cl, cl
je 0x4bdab6
mov ecx, dword [esp + 0x40]
cmp esi, ecx
setl cl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x3c]
cmp esi, edx
seta dl
and edx, ebp
or ecx, edx
test cl, cl
jne 0x4bdac8
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
add esp, 0x68
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x80000000
add esp, 0x68
ret
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x98], 0x7fffffff
add esp, 0x68
ret
test ebp, 0x80000000
je 0x4bdca6
shl ebp, 1
mov edx, ecx
shr ecx, 0x1f
or ecx, ebp
mov ebp, edx
shl edx, 1
mov esi, ecx
shl ecx, 1
shr edx, 0x1f
or edx, ecx
mov ecx, edx
add edx, 0xd7b17f80
shr esi, 0x1f
add ecx, 0xd7b17f80
adc esi, 0xd
test eax, 0x80000000
je 0x4bdc91
shl eax, 1
mov ecx, ebx
shr ebx, 0x1f
or ebx, eax
mov eax, ecx
shl ecx, 1
mov edi, ebx
shl ebx, 1
shr ecx, 0x1f
or ecx, ebx
mov ebx, ecx
add ecx, 0xd7b17f80
shr edi, 0x1f
add ebx, 0xd7b17f80
adc edi, 0xd
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], eax
mov ebx, edx
sub edx, ecx
mov eax, edx
mov ecx, 0x3b9aca00
mul ecx
mov dword [esp + 0x4c], eax
and ebp, 0x3fffffff
mov ecx, dword [esp + 0x50]
and ecx, 0x3fffffff
sub ebp, ecx
add eax, ebp
mov dword [esp + 0x44], eax
lea edi, [esp]
lea esi, [esp + 0x80]
call fcn.004668be
mov ecx, dword [esp + 0x30]
sub ebx, ecx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
sbb ecx, ebx
imul ecx, ecx, 0x3b9aca00
add ecx, edx
mov edx, ebp
sar ebp, 0x1f
mov ebx, dword [esp + 0x4c]
add ebx, edx
adc ecx, ebp
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call fcn.004bd7d0
lea edi, [esp + 0x54]
lea esi, [esp + 0x1c]
call fcn.004668be
lea edi, [esp]
lea esi, [esp + 0x54]
call fcn.004668be
lea edi, [esp + 0x14]
lea esi, [esp + 0x6c]
call fcn.004668be
call fcn.004bb5c0
movzx ecx, byte [esp + 0x28]
test cl, cl
jne 0x4bdc77
lea edi, [esp]
lea esi, [esp + 0x6c]
call fcn.004668be
lea edi, [esp + 0x14]
lea esi, [esp + 0x80]
call fcn.004668be
call fcn.004bb480
movzx eax, byte [esp + 0x28]
test al, al
je 0x4bdc5d
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x80000000
add esp, 0x68
ret
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x98], 0x7fffffff
add esp, 0x68
ret
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
add esp, 0x68
ret
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov eax, ebx
jmp 0x4bdb67
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov ebp, ecx
jmp 0x4bdb32
call fcn.00464bd0
jmp fcn.004bd9f0