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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450f28
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x450b28
mov dword [esp + 0x18], ecx
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ebx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00453a20
mov eax, dword [esp + 0x18]
cmp dword [esp + 8], eax
jne 0x450898
mov ecx, 0xffffffff
jmp 0x4508cf
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
call fcn.00454870
mov eax, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x18]
cmp ecx, 0xffffffff
jne 0x4508d6
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x1c]
sub ebx, dword [edx + 0x14]
test ebx, ebx
jbe 0x450975
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 0x58]
cmp byte [ebp + 0x27], 1
ja 0x450902
xor esi, esi
jmp 0x450932
lea esi, [ebp + 0x27]
mov edi, dword [ebp + 0x1c]
lea esi, [esi + edi*4 + 5]
mov esi, dword [esi]
cmp esi, 0xffffffff
xchg edi, ebx
sete bl
xchg edi, ebx
mov ebx, dword [esp + 0x54]
mov ebx, dword [ebx + 0x98]
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
add ebx, esi
and ebx, edi
mov esi, ebx
mov ebx, dword [esp + 0x1c]
test esi, esi
je 0x450e53
mov edi, dword [esi]
test edi, edi
jle 0x450e53
mov ebx, dword [esi + 4]
test ebx, ebx
jle 0x45096f
mov dword [esp + 0x44], esi
test ecx, ecx
jl 0x450d49
cmp ecx, edi
jge 0x450d49
nop
lea edi, [ebx + 7]
sar edi, 3
imul edi, ecx
lea esi, [esi + edi + 8]
jmp 0x45097d
xor ebx, ebx
xor esi, esi
jmp 0x45097d
mov ebp, dword [esp + 0x58]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], ebx
mov edi, dword [edx + 0x24]
test edi, edi
jbe 0x450a34
mov edx, dword [edx + 0x28]
test edx, edx
je 0x4509ae
mov ecx, dword [edx + 4]
mov edx, dword [edx]
shr edi, 2
cmp edx, edi
jg 0x450a38
mov edi, edx
jmp 0x450a38
movzx edx, byte [ebp + 0x27]
test dl, dl
ja 0x4509ba
xor edx, edx
jmp 0x4509ec
lea edx, [ebp + 0x27]
mov edi, dword [ebp + 0x1c]
lea edx, [edx + edi*4 + 1]
mov edx, dword [edx]
cmp edx, 0xffffffff
xchg edi, ebx
sete bl
xchg edi, ebx
mov esi, dword [esp + 0x54]
mov ebx, dword [esi + 0x98]
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
add edx, ebx
and edx, edi
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
test edx, edx
je 0x450c74
mov edi, dword [edx]
test edi, edi
jle 0x450c74
mov dword [esp + 0x40], edx
test ecx, ecx
jl 0x450b6a
cmp ecx, edi
jge 0x450b6a
mov edi, dword [edx + 4]
test edi, edi
jle 0x450a2a
mov eax, esi
lea esi, [edi + 7]
sar esi, 3
imul ecx, esi
lea ecx, [edx + ecx + 8]
jmp 0x450a30
mov eax, esi
xor edi, edi
xor ecx, ecx
mov esi, eax
jmp 0x450a38
xor edi, edi
xor ecx, ecx
cmp byte [ebp + 0x27], 2
ja 0x450a42
xor eax, eax
jmp 0x450a74
lea edx, [ebp + 0x27]
mov ebp, dword [ebp + 0x1c]
lea edx, [edx + ebp*4 + 9]
mov edx, dword [edx]
cmp edx, 0xffffffff
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov eax, ecx
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0x98]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
dec ebp
add ecx, edx
and ecx, ebp
mov edx, ecx
mov ecx, eax
mov eax, edx
test eax, eax
je 0x450afe
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], edi
mov edx, dword [eax]
mov dword [esp + 0x24], edx
nop
test edx, edx
jge 0x450ab0
mov dword [esp + 0x3c], eax
call fcn.0044b970
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ebp, eax
mov eax, 0x10
mul edx
lea edx, [ebp + 4]
mov dword [esp + 0x48], edx
mov ebp, eax
mov eax, 0x10
mov ecx, dword [esp + 0x24]
mul ecx
jo 0x450adb
mov eax, dword [esp + 0x48]
mov edx, eax
neg eax
cmp ebp, eax
jbe 0x450af4
call fcn.0044b970
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
jmp 0x450b02
xor eax, eax
xor edx, edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x5c
ret
mov dword [esp], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00454300
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
call fcn.00438fd0
lea eax, [0x53b56a]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00439c00
mov eax, dword [esp + 0x20]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439a00
lea eax, [0x53789f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00439c00
mov eax, dword [esp + 0x38]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439a00
lea eax, [0x53e550]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.00439c00
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00439c00
lea eax, [0x538a51]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00439a80
lea eax, [0x5374e1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439c00
call fcn.00439040
lea eax, [0x53a3c9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437710
mov dword [esp], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00454300
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x2c], ebx
mov edx, dword [edx + 0x24]
mov dword [esp + 0x28], edx
call fcn.00438fd0
lea eax, [0x53a052]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00439c00
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00439c00
lea eax, [0x539837]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00439a80
lea eax, [0x5374b8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00439a80
call fcn.004391f0
call fcn.00439040
lea eax, [0x53a4b9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437710
mov dword [esp], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00454300
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
call fcn.00438fd0
lea eax, [0x53b56a]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.00439c00
mov eax, dword [esp + 0x20]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439a00
lea eax, [0x53789f]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00439c00
mov eax, dword [esp + 0x38]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00439a00
lea eax, [0x53efb0]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00439c00
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00439c00
lea eax, [0x538a51]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00439a80
lea eax, [0x5374e1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439c00
call fcn.00439040
lea eax, [0x53a3c9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437710
mov dword [esp], ebp
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.00454300
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x60]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x2c], edx
call fcn.00438fd0
lea eax, [0x53a052]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00439c00
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00439c00
lea eax, [0x53a109]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp], eax
call fcn.00439a80
lea eax, [0x5374b8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439c00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00439a80
call fcn.004391f0
call fcn.00439040
lea eax, [0x53a4b9]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437710
nop
call fcn.00463190
jmp fcn.00450840