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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x405c8b
sub esp, 0x70
mov eax, dword [esp + 0x74]
test eax, eax
je 0x405c66
mov ecx, dword [eax + 8]
cmp ecx, 0xb31a546d
ja 0x40592a
cmp ecx, 0x7925028c
ja 0x405788
cmp ecx, 0x2ea27ffb
ja 0x4056b1
cmp ecx, 0x13ff06c5
jne 0x4056a2
lea edx, [0x5fdca0]
cmp edx, eax
jne 0x405694
mov edx, dword [esp + 0x78]
movzx ebx, byte [edx]
je 0x405677
cmp ecx, 0x2ea27ffb
jne 0x4055cf
lea ecx, [0x5fe2e0]
cmp ecx, eax
jne 0x40566f
movsd xmm0, qword [edx]
je 0x40564d
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00405500
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
call fcn.004275e0
lea eax, [0x63ebf9]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00427e60
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00427e60
lea eax, [0x63ec47]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00427e60
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00427fa0
call fcn.00427650
add esp, 0x70
ret
movsd qword [esp + 0x60], xmm0
call fcn.004275e0
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
call fcn.00427890
call fcn.00427650
jmp 0x405649
xorps xmm0, xmm0
jmp 0x4055cd
mov byte [esp + 0x13], bl
call fcn.004275e0
movzx eax, byte [esp + 0x13]
mov byte [esp], al
call fcn.00427830
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x4055ad
cmp ecx, 0x2ea27ffb
mov edx, dword [esp + 0x78]
jmp 0x4055b9
cmp ecx, 0x663e425f
jne 0x405779
lea edx, [0x5ffa60]
cmp edx, eax
jne 0x40576b
mov edx, dword [esp + 0x78]
movzx ebx, byte [edx]
je 0x405740
cmp ecx, 0x7925028c
jne 0x4055cf
lea ecx, [0x5fdd60]
cmp ecx, eax
jne 0x405738
movss xmm0, dword [edx + 4]
movss xmm1, dword [edx]
jne 0x4055cf
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x28], xmm0
call fcn.004275e0
movss xmm0, dword [esp + 0x18]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
movss xmm0, dword [esp + 0x28]
cvtss2sd xmm0, xmm0
movsd qword [esp + 8], xmm0
call fcn.00427b00
call fcn.00427650
jmp 0x405649
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x4056f3
mov byte [esp + 0x11], bl
call fcn.004275e0
movzx eax, byte [esp + 0x11]
movzx eax, al
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x4056d2
cmp ecx, 0x7925028c
mov edx, dword [esp + 0x78]
jmp 0x4056da
cmp ecx, 0x963f9bff
ja 0x40585e
cmp ecx, 0x86318d2e
jne 0x40584f
lea edx, [0x5ffa20]
cmp edx, eax
jne 0x40583c
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
je 0x405811
cmp ecx, 0x963f9bff
jne 0x4055cf
lea ecx, [0x5ff060]
cmp ecx, eax
jne 0x405805
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
jne 0x4055cf
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ecx
call fcn.004275e0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00427cb0
call fcn.00427650
jmp 0x405649
mov ebx, 0
mov ecx, 0
jmp 0x4057d4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebp
call fcn.004275e0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
mov ebp, 0
jmp 0x4057b7
cmp ecx, 0x963f9bff
mov edx, dword [esp + 0x78]
jmp 0x4057bf
cmp ecx, 0xb0c23ed3
jne 0x40591b
lea edx, [0x5fe2a0]
cmp edx, eax
jne 0x40590f
mov edx, dword [esp + 0x78]
movss xmm0, dword [edx]
je 0x4058e6
cmp ecx, 0xb31a546d
jne 0x4055cf
lea ecx, [0x5fdd20]
cmp ecx, eax
jne 0x4058de
movsd xmm0, qword [edx + 8]
movsd xmm1, qword [edx]
jne 0x4055cf
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
call fcn.004275e0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
call fcn.00427b00
call fcn.00427650
jmp 0x405649
xorps xmm0, xmm0
xorps xmm1, xmm1
jmp 0x4058a1
movss dword [esp + 0x34], xmm0
call fcn.004275e0
movss xmm0, dword [esp + 0x34]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00427890
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
xorps xmm0, xmm0
jmp 0x405880
cmp ecx, 0xb31a546d
mov edx, dword [esp + 0x78]
jmp 0x405888
cmp ecx, 0xd04ae83d
ja 0x405a9e
cmp ecx, 0xbd4ad792
ja 0x4059ec
cmp ecx, 0xbbad4102
jne 0x4059dd
lea edx, [0x5ff020]
cmp edx, eax
jne 0x4059d2
mov edx, dword [esp + 0x78]
mov ebx, dword [edx]
je 0x4059ac
cmp ecx, 0xbd4ad792
jne 0x4055cf
lea ecx, [0x5ffaa0]
cmp ecx, eax
jne 0x4059a5
mov ecx, dword [edx]
jne 0x4055cf
mov dword [esp + 0x40], ecx
call fcn.004275e0
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov ecx, 0
jmp 0x405978
mov dword [esp + 0x44], ebx
call fcn.004275e0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00427cb0
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x40595e
cmp ecx, 0xbd4ad792
mov edx, dword [esp + 0x78]
jmp 0x405966
cmp ecx, 0xcc06c027
jne 0x405a8f
lea edx, [0x5ff0a0]
cmp edx, eax
jne 0x405a81
mov edx, dword [esp + 0x78]
movzx ebx, byte [edx]
je 0x405a57
cmp ecx, 0xd04ae83d
jne 0x4055cf
lea ecx, [0x5ff9e0]
cmp ecx, eax
jne 0x405a50
mov ecx, dword [edx]
jne 0x4055cf
mov dword [esp + 0x38], ecx
call fcn.004275e0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov ecx, 0
jmp 0x405a23
mov byte [esp + 0x12], bl
call fcn.004275e0
movzx eax, byte [esp + 0x12]
movsx eax, al
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00427cb0
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x405a09
cmp ecx, 0xd04ae83d
mov edx, dword [esp + 0x78]
jmp 0x405a11
cmp ecx, 0xe0ff5cb4
ja 0x405b68
cmp ecx, 0xd5b87712
jne 0x405b59
lea edx, [0x5ff960]
cmp edx, eax
jne 0x405b4b
mov edx, dword [esp + 0x78]
mov ebx, dword [edx]
je 0x405b24
cmp ecx, 0xe0ff5cb4
jne 0x4055cf
lea ecx, [0x5ff860]
cmp ecx, eax
jne 0x405b18
mov ecx, dword [edx + 4]
mov ebx, dword [edx]
jne 0x4055cf
mov dword [esp + 0x68], ebx
mov dword [esp + 0x24], ecx
call fcn.004275e0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00427e60
call fcn.00427650
jmp 0x405649
mov ebx, 0
mov ecx, 0
jmp 0x405ae7
mov dword [esp + 0x48], ebx
call fcn.004275e0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x405aca
cmp ecx, 0xe0ff5cb4
mov edx, dword [esp + 0x78]
jmp 0x405ad2
cmp ecx, 0xecd580ce
jne 0x405c5d
lea edx, [0x5fefe0]
cmp edx, eax
jne 0x405c4f
mov edx, dword [esp + 0x78]
movzx ebx, word [edx]
je 0x405c24
cmp ecx, 0xeff20ea0
jne 0x405ba6
lea ebx, [0x5ff9a0]
cmp ebx, eax
jne 0x405c1d
movzx ebx, word [edx]
je 0x405bf1
cmp ecx, 0xf75371fa
jne 0x4055cf
lea ecx, [0x5fefa0]
cmp ecx, eax
jne 0x405bea
mov ecx, dword [edx]
jne 0x4055cf
mov dword [esp + 0x3c], ecx
call fcn.004275e0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00427cb0
call fcn.00427650
jmp 0x405649
mov ecx, 0
jmp 0x405bbe
mov word [esp + 0x16], bx
call fcn.004275e0
movzx eax, word [esp + 0x16]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00427b80
call fcn.00427650
jmp 0x405649
mov ebx, 0
jmp 0x405ba4
mov word [esp + 0x14], bx
call fcn.004275e0
movzx eax, word [esp + 0x14]
movsx eax, ax
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00427cb0
call fcn.00427650
jmp 0x405649
mov edx, dword [esp + 0x78]
mov ebx, 0
jmp 0x405b89
mov edx, dword [esp + 0x78]
jmp 0x405b8f
call fcn.004275e0
lea eax, [0x63ef08]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00427e60
call fcn.00427650
jmp 0x405649
call fcn.0044a170
jmp fcn.00405540