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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b3b3a
sub esp, 0x5c
mov ecx, dword [esp + 0x64]
nop
mov edx, dword [esp + 0x60]
test ecx, 0x80000000
je 0x4b36ec
shl ecx, 1
mov ebx, edx
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr edx, 0x1f
or ebx, edx
shr ecx, 0x1f
add ebx, 0xd7b17f80
adc ecx, 0xd
jmp 0x4b36f6
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebp, edx
and ebp, 0x3fffffff
test ecx, ecx
jge 0x4b3733
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xor esi, esi
sub esi, ebx
mov edi, 0
sbb edi, ecx
test ebp, ebp
jge 0x4b3737
lea ebp, [edx - 0x3b9aca00]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, 0xffffffff
sub esi, ebx
mov edi, 0xffffffff
sbb edi, ecx
jmp 0x4b3737
mov edi, ecx
mov esi, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x78]
test edx, edx
setl bl
sete al
mov esi, dword [esp + 0x74]
cmp esi, 0x3b9aca00
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, eax
or ebx, edi
test bl, bl
jne 0x4b3770
xor eax, eax
jmp 0x4b37b4
mov dword [esp], 0x3b9aca00
mov dword [esp + 4], 0
add esi, esi
mov dword [esp + 8], esi
adc edx, edx
mov dword [esp + 0xc], edx
call fcn.004648a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
sete al
test ecx, ecx
sete cl
and eax, ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x74]
test al, al
je 0x4b37ef
test esi, esi
je 0x4b3b34
mov eax, ebp
cmp esi, 0xffffffff
je 0x4b37cc
cdq
idiv esi
jmp 0x4b37ce
neg eax
mov edx, eax
mov eax, ebp
mov ebx, edx
cmp esi, 0xffffffff
je 0x4b37de
cdq
idiv esi
jmp 0x4b37e0
xor edx, edx
and ebx, 1
mov ebp, edx
sar edx, 0x1f
test ecx, ecx
jmp 0x4b3949
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.004648a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
sete al
test ecx, ecx
sete cl
and eax, ecx
test al, al
jne 0x4b3890
mov eax, 0x3b9aca00
mov ecx, dword [esp + 0x2c]
mul ecx
mov ecx, eax
mov eax, dword [esp + 0x28]
mov ebx, 0x3b9aca00
mov ebp, edx
mul ebx
add eax, 0
adc edx, ecx
cmp ecx, edx
jbe 0x4b3853
add ebp, 1
mov ecx, 0
adc ecx, 0
jmp 0x4b3855
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov esi, ebx
sar ebx, 0x1f
add esi, eax
adc ebx, edx
cmp ebx, edx
setb dl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, eax
setb al
and eax, edi
or edx, eax
test dl, dl
je 0x4b3881
add ebp, 1
adc ecx, 0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov edi, eax
jmp 0x4b399d
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.00464760
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00464760
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
call fcn.004648a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, 0x3b9aca00
mul edx
imul ecx, ecx, 0x3b9aca00
add edx, ecx
mov ecx, dword [esp + 0x30]
mov ebx, ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x58]
and ebp, 1
add ebx, eax
adc edx, ecx
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [esp + 0x74]
mov eax, ebx
mov ebx, ebp
mov ebp, eax
jge 0x4b396e
test edx, edx
setne al
test ebp, ebp
setne cl
or eax, ecx
test al, al
je 0x4b3968
xor ebx, 1
sub esi, ebp
mov eax, dword [esp + 0x78]
sbb eax, edx
jmp 0x4b3972
mov eax, edx
mov esi, ebp
jmp 0x4b3972
mov eax, edx
mov esi, ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x3c]
shl eax, 1
shr edx, 0x1f
or eax, edx
mov edx, dword [esp + 0x34]
shl edx, 1
mov dword [esp + 0x3c], eax
shr eax, 0x1f
cmp eax, 1
jne 0x4b3988
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], eax
jmp 0x4b3a01
mov ecx, ebp
shr ebp, 1
shr edi, 1
shl ecx, 0x1f
mov ebx, edx
and ebx, 1
shl ebx, 0x1f
shr edx, 1
shl eax, 0x1f
or ecx, edi
or ebx, ebp
or edx, eax
mov eax, dword [esp + 0x3c]
shr eax, 1
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
cmp edx, ebp
xchg edi, ebx
setb bl
xchg edi, ebx
mov eax, dword [esp + 0x3c]
cmp ecx, eax
sete al
seta cl
and edi, eax
or ecx, edi
test cl, cl
jne 0x4b3a5a
cmp edx, ebp
sete cl
and ecx, eax
test cl, cl
je 0x4b3ab8
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x48]
cmp eax, ebx
setb cl
xchg edi, ebx
sete bl
xchg edi, ebx
mov edx, dword [esp + 0x44]
cmp edx, esi
setbe al
and eax, edi
or eax, ecx
test al, al
je 0x4b3aa8
mov edx, dword [esp + 0x34]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x44]
mov ecx, esi
sub esi, eax
mov edi, dword [esp + 0x48]
sbb ebx, edi
mov edi, dword [esp + 0x24]
cmp edi, ebx
xchg edi, ebx
setb bl
xchg edi, ebx
sete al
cmp esi, ecx
seta cl
and eax, ecx
or eax, edi
test al, al
je 0x4b3a95
add ebp, 0xffffffff
mov ecx, dword [esp + 0x20]
adc ecx, 0xffffffff
jmp 0x4b3a99
mov ecx, dword [esp + 0x20]
sub ebp, edx
mov eax, dword [esp + 0x3c]
sbb ecx, eax
mov edi, 1
jmp 0x4b3ac2
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
xor edi, edi
jmp 0x4b3ac2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
test edx, edx
xchg edi, ebx
sete bl
xchg edi, ebx
test eax, eax
sete cl
and edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x4b3b0e
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x44]
cmp ecx, edi
sete cl
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
sete bl
and ecx, ebx
test cl, cl
je 0x4b39bf
jmp 0x4b3b1b
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
jmp 0x4b39bf
mov eax, dword [esp + 0x18]
test eax, eax
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebp, esi
mov esi, dword [esp + 0x74]
jmp 0x4b3949
call fcn.00438c60
nop
call fcn.0046b490
jmp fcn.004b36a0