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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b21dd
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
test edx, 0x80000000
je 0x4b1d75
shl edx, 1
mov ebx, ecx
shr ecx, 0x1f
or ecx, edx
mov edx, ebx
shl ebx, 1
mov ebp, ecx
shl ecx, 1
shr ebx, 0x1f
or ecx, ebx
mov ebx, ecx
add ecx, 0xd7b17f80
shr ebp, 0x1f
add ebx, 0xd7b17f80
adc ebp, 0xd
jmp 0x4b1d83
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov eax, edx
mov edx, ecx
mov ecx, eax
and edx, 0x3fffffff
test ebp, ebp
jge 0x4b1dac
xor ebx, ebx
sub ebx, ecx
mov ecx, 0
sbb ecx, ebp
neg edx
test edx, edx
jge 0x4b1db0
add ebx, 0xffffffff
adc ecx, 0xffffffff
add edx, 0x3b9aca00
jmp 0x4b1db0
mov ebx, ecx
mov ecx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov esi, dword [esp + 0x7c]
test esi, esi
xchg edi, ebx
setl bl
xchg edi, ebx
mov eax, ebx
sete bl
mov ecx, dword [esp + 0x78]
cmp ecx, 0x3b9aca00
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, ebx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4b1df1
xor ebx, ebx
jmp 0x4b1e3b
add ecx, ecx
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
mov edx, dword [esp + 0x7c]
adc edx, edx
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call fcn.00459f40
mov eax, dword [esp + 0x14]
test eax, eax
sete al
mov ecx, dword [esp + 0x10]
test ecx, ecx
sete cl
and ecx, eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
mov ebx, ecx
mov ecx, dword [esp + 0x78]
test bl, bl
je 0x4b1e7c
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x4b21d7
mov eax, edx
mov esi, eax
cmp ebx, 0xffffffff
je 0x4b1e59
cdq
idiv ebx
jmp 0x4b1e5b
neg eax
and eax, 1
mov edx, eax
mov eax, esi
mov esi, edx
cmp ebx, 0xffffffff
je 0x4b1e6e
cdq
idiv ebx
jmp 0x4b1e70
xor edx, edx
mov ebx, edx
sar edx, 0x1f
test ebp, ebp
jmp 0x4b1fd9
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.00459f40
mov eax, dword [esp + 0x14]
test eax, eax
sete al
mov ecx, dword [esp + 0x10]
test ecx, ecx
sete cl
and ecx, eax
test cl, cl
jne 0x4b1f20
mov eax, dword [esp + 0x30]
mov ecx, 0x3b9aca00
mul ecx
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ebp, edx
mul ecx
add eax, 0
adc edx, ebx
cmp ebx, edx
jbe 0x4b1edf
add ebp, 1
mov ecx, 0
adc ecx, 0
jmp 0x4b1ee1
xor ecx, ecx
mov ebx, dword [esp + 0x34]
mov esi, ebx
add ebx, eax
mov edi, esi
sar esi, 0x1f
add edi, eax
adc esi, edx
cmp esi, edx
setb dl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebx, eax
setb al
and eax, edi
or eax, edx
test al, al
je 0x4b1f11
add ebp, 1
adc ecx, 0
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov edi, eax
jmp 0x4b202c
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.00459dc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00459dc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.00459f40
mov eax, dword [esp + 0x10]
mov ecx, 0x3b9aca00
mul ecx
mov ecx, dword [esp + 0x34]
mov ebx, ecx
add ecx, eax
mov ebp, dword [esp + 0x14]
imul ebp, ebp, 0x3b9aca00
add edx, ebp
mov ebp, ebx
sar ebx, 0x1f
add ebp, eax
adc edx, ebx
mov eax, dword [esp + 0x54]
and eax, 1
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov esi, eax
mov ebx, ecx
mov ecx, dword [esp + 0x78]
jge 0x4b1ffe
test edx, edx
setne al
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or eax, ebp
test al, al
je 0x4b1ffe
sub ecx, ebx
mov eax, dword [esp + 0x7c]
sbb eax, edx
xor esi, 1
mov edx, eax
mov ebx, ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ebx
add esp, 0x60
ret
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x40]
shl eax, 1
shr edx, 0x1f
or eax, edx
mov edx, dword [esp + 0x38]
shl edx, 1
mov dword [esp + 0x40], eax
shr eax, 0x1f
cmp eax, 1
jne 0x4b2017
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
jmp 0x4b209c
shr ebp, 1
mov ecx, edi
shl edi, 0x1f
or edi, ebp
shr ecx, 1
mov ebx, edx
and edx, 1
shl edx, 0x1f
or edx, ecx
shr ebx, 1
mov ecx, eax
shl eax, 0x1f
or eax, ebx
shr ecx, 1
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x40], ecx
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x7c]
mov edx, eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x40]
cmp eax, ecx
xchg edi, ebx
sete bl
xchg edi, ebx
setb al
cmp edx, ebp
setb cl
and ecx, edi
or ecx, eax
test cl, cl
jne 0x4b20ff
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], edx
cmp edx, ebp
sete al
and eax, edi
test al, al
je 0x4b214d
mov eax, dword [esp + 0x4c]
cmp eax, esi
setb cl
xchg edi, ebx
sete bl
xchg edi, ebx
mov edx, dword [esp + 0x48]
cmp edx, ebx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, edi
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4b2155
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x48]
mov ecx, ebx
sub ebx, eax
mov edi, dword [esp + 0x4c]
sbb esi, edi
mov eax, dword [esp + 0x28]
cmp eax, esi
setb al
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebx, ecx
seta cl
and ecx, edi
or ecx, eax
test cl, cl
je 0x4b213a
add ebp, 0xffffffff
mov ecx, dword [esp + 0x20]
adc ecx, 0xffffffff
jmp 0x4b213e
mov ecx, dword [esp + 0x20]
sub ebp, edx
mov eax, dword [esp + 0x40]
sbb ecx, eax
mov edi, 1
jmp 0x4b2167
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x24], ebx
test eax, eax
xchg edi, ebx
sete bl
xchg edi, ebx
test edx, edx
sete cl
and ecx, edi
test cl, cl
je 0x4b21b1
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x4c]
cmp ecx, edi
sete cl
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
sete bl
and ebx, ecx
test bl, bl
je 0x4b2052
jmp 0x4b21be
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
jmp 0x4b2052
mov eax, dword [esp + 0x18]
test eax, eax
mov ecx, dword [esp + 0x78]
mov edx, esi
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x54]
jmp 0x4b1fd9
call fcn.00433070
nop
call fcn.0045e340
jmp fcn.004b1d20