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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x482515
sub esp, 0x5c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
test edx, 0x80000000
je 0x4820ad
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
shr ebp, 0x1f
add ecx, 0xd7b17f80
adc ebp, 0xd
jmp 0x4820bb
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov eax, edx
mov edx, ecx
mov ecx, eax
and edx, 0x3fffffff
test ebp, ebp
jge 0x4820f0
xor ebx, ebx
sub ebx, ecx
mov esi, 0
sbb esi, ebp
mov edi, edx
neg edx
test edx, edx
jge 0x4820f4
mov ebx, 0xffffffff
sub ebx, ecx
mov esi, 0xffffffff
sbb esi, ebp
lea edx, [edi - 0x3b9aca00]
neg edx
jmp 0x4820f4
mov esi, ebp
mov ebx, ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], esi
mov ecx, dword [esp + 0x78]
test ecx, ecx
xchg edi, ebx
setl bl
xchg edi, ebx
mov eax, ebx
sete bl
mov esi, dword [esp + 0x74]
cmp esi, 0x3b9aca00
setb cl
and ecx, ebx
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x482131
xor ecx, ecx
jmp 0x482179
add esi, esi
mov ecx, dword [esp + 0x78]
adc ecx, ecx
mov dword [esp + 4], 0
mov dword [esp], 0x3b9aca00
mov dword [esp + 0xc], ecx
mov dword [esp + 8], esi
call fcn.00458ef0
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 + 0x28]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
test cl, cl
je 0x4821ba
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x48250f
mov eax, edx
mov ebx, eax
cmp ecx, 0xffffffff
je 0x482197
cdq
idiv ecx
jmp 0x482199
neg eax
and eax, 1
mov edx, eax
mov eax, ebx
mov ebx, edx
cmp ecx, 0xffffffff
je 0x4821ac
cdq
idiv ecx
jmp 0x4821ae
xor edx, edx
mov ecx, edx
sar edx, 0x1f
test ebp, ebp
jmp 0x482316
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.00458ef0
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 0x48225f
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 0x482222
add ebp, 1
mov ecx, 0
adc ecx, 0
jmp 0x482224
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 eax, edx
test al, al
je 0x482250
add ebp, 1
adc ecx, 0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov edi, eax
jmp 0x48236e
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.00458d70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00458d70
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.00458ef0
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0x3b9aca00
add edx, ecx
mov ecx, dword [esp + 0x30]
mov ebx, ecx
sar ecx, 0x1f
add ebx, eax
adc edx, ecx
mov eax, dword [esp + 0x50]
and eax, 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov esi, dword [esp + 0x74]
mov ecx, ebx
mov ebx, eax
jge 0x48233f
test edx, edx
setne al
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or eax, ebp
test al, al
je 0x482339
sub esi, ecx
mov eax, dword [esp + 0x78]
sbb eax, edx
xor ebx, 1
jmp 0x482343
mov eax, edx
mov esi, ecx
jmp 0x482343
mov eax, edx
mov esi, ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], esi
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 0x482359
mov eax, dword [esp + 0x74]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
jmp 0x4823de
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 + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x78]
mov edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
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 0x482437
cmp edx, ebp
sete al
and eax, edi
test al, al
je 0x482495
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 0x482485
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 eax, dword [esp + 0x24]
cmp eax, ebx
setb al
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, ecx
seta cl
and ecx, edi
or ecx, eax
test cl, cl
je 0x482472
add ebp, 0xffffffff
mov ecx, dword [esp + 0x20]
adc ecx, 0xffffffff
jmp 0x482476
mov ecx, dword [esp + 0x20]
sub ebp, edx
mov eax, dword [esp + 0x3c]
sbb ecx, eax
mov edi, 1
jmp 0x48249f
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
xor edi, edi
jmp 0x48249f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebp
test eax, eax
xchg edi, ebx
sete bl
xchg edi, ebx
test edx, edx
sete cl
and ecx, edi
test cl, cl
je 0x4824e9
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x48]
cmp ecx, edi
sete cl
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
sete bl
and ebx, ecx
test bl, bl
je 0x482394
jmp 0x4824f6
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
jmp 0x482394
mov eax, dword [esp + 0x18]
test eax, eax
mov ebx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ecx, esi
mov esi, dword [esp + 0x74]
jmp 0x482316
call fcn.00432570
nop
call fcn.0045e260
jmp fcn.00482060