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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4082a7
sub esp, 0x88
mov eax, dword [esp + 0x90]
xor ebp, ebp
cmp eax, ebp
jne 0x407a92
mov ebx, 0x5fd5de
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x1e
mov dword [esp], 0x5cd980
lea ebx, [esp + 0x74]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040b8f0
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00429c60
ud2
movzx ebp, byte [eax + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
je 0x407abc
mov ebx, 0x5fa3cf
mov dword [esp], ebx
mov dword [esp + 4], 0x15
call fcn.0042a340
mov eax, dword [esp + 0x90]
movzx ebp, byte [eax + 4]
mov ebx, ebp
or ebx, 4
mov byte [eax + 4], bl
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x20]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 4], ebp
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov ebx, dword [edx]
call ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + 0xc]
xor ebx, ebx
cmp ebp, ebx
jne 0x407b46
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], 1
call fcn.0040e880
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0x90]
cmp ebx, 0
je 0x4082a0
cmp byte [0x6d9e38], 0
jne 0x40828c
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x90]
movzx ecx, byte [ecx + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x408285
shl ebx, cl
dec ebx
and ebx, dword [esp + 0x28]
mov edx, ebx
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx + 0x10]
xor ebx, ebx
cmp ebp, ebx
je 0x407b9e
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 8], edx
call fcn.004090a0
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x90]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x8c]
movzx ebp, word [ebx + 0x34]
mov ebx, ebp
imul ebx, edx
add ecx, ebx
mov ebx, dword [esp + 0x28]
shr ebx, 0x18
mov byte [esp + 0x23], bl
movzx ebx, byte [esp + 0x23]
cmp bl, 4
jae 0x407bdb
movzx ebx, byte [esp + 0x23]
add ebx, 4
mov byte [esp + 0x23], bl
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
xor eax, eax
cmp eax, 8
jae 0x407ca8
cmp ecx, 0
je 0x40827e
mov esi, ecx
cmp eax, 8
jae 0x408277
add esi, eax
movzx ebx, byte [esi]
mov edx, ebx
movzx ebx, byte [esp + 0x23]
cmp dl, bl
je 0x408167
mov esi, ecx
cmp eax, 8
jae 0x408160
add esi, eax
movzx ebx, byte [esi]
cmp bl, 0
jne 0x407c9e
mov ebx, dword [esp + 0x5c]
xor ebp, ebp
cmp ebx, ebp
jne 0x407c9e
mov esi, ecx
cmp eax, 8
jae 0x408159
add esi, eax
mov dword [esp + 0x5c], esi
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x30]
mov edx, ebp
imul edx, eax
add edx, 8
mov ebx, ecx
add ebx, edx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x30]
mov edx, ebp
shl edx, 3
add edx, 8
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
add edx, ebx
mov ebx, ecx
add ebx, edx
mov dword [esp + 0x54], ebx
inc eax
cmp eax, 8
jb 0x407bfe
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x8c]
movzx ebp, word [eax + 0x34]
mov eax, ebp
sub eax, 4
mov ebx, ecx
add ebx, eax
mov eax, dword [ebx]
xor ebp, ebp
cmp eax, ebp
jne 0x408152
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx]
cvtsi2ss xmm0, ebp
movss xmm2, xmm0
mov ecx, dword [esp + 0x90]
movzx ecx, byte [ecx + 5]
mov ebx, 1
cmp cl, 0x20
jae 0x40814b
shl ebx, cl
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0
fild qword [esp + 0x34]
fstp dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [0x6193c4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x30]
ucomiss xmm2, xmm0
jae 0x40811a
mov ebx, dword [esp + 0x5c]
xor ebp, ebp
cmp ebx, ebp
jne 0x407f05
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x28]
mov dword [esp], ebp
call fcn.0040e800
mov ebx, dword [esp + 4]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x28]
movzx ebx, byte [ebp + 0xf]
and ebx, 0x80
cmp bl, 0
je 0x407e9c
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x60], ecx
mov ebp, dword [ecx + 0x18]
xor ebx, ebx
cmp ebp, ebx
jne 0x407de1
mov dword [esp], 0x5bdb40
call fcn.0040e800
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 4]
cmp ecx, 0
je 0x408113
cmp byte [0x6d9e38], 0
jne 0x4080fb
mov dword [ecx + 0x18], eax
mov ebp, dword [ecx + 0x18]
mov eax, dword [ebp]
xor ebx, ebx
cmp eax, ebx
jne 0x407e1d
mov dword [esp], 0x5b6a60
call fcn.0040e800
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x60]
mov ebp, dword [ebx + 0x18]
cmp ebp, 0
je 0x4080f3
cmp byte [0x6d9e38], 0
jne 0x4080e2
mov dword [ebp], eax
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x18]
mov ebx, dword [ebp]
mov edx, dword [ebx]
mov ebp, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, ebp
inc ebp
cmp ebp, ecx
ja 0x4080b5
mov ebx, eax
inc ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], edx
mov ebx, edx
mov ebp, eax
imul ebp, ebp, 4
add ebx, ebp
mov ebp, dword [esp + 0x44]
cmp byte [0x6d9e38], 0
jne 0x4080a4
mov dword [ebx], ebp
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x18]
mov ebx, dword [ebp]
mov ebp, dword [esp + 0x80]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x7c]
cmp byte [0x6d9e38], 0
jne 0x408093
mov dword [ebx], ebp
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x40]
movzx ebp, word [ebx + 0x34]
mov eax, ebp
sub eax, 4
add ecx, eax
mov eax, dword [esp + 0x44]
cmp ecx, 0
je 0x40808c
cmp byte [0x6d9e38], 0
jne 0x40807b
mov dword [ecx], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0
je 0x408074
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x48]
mov eax, 8
add ebx, eax
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x30]
mov eax, ebp
shl eax, 3
mov ebx, dword [esp + 0x58]
add ebx, eax
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [ebx + 0x31]
cmp bl, 0
je 0x407f4f
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x20]
mov dword [esp], ebp
call fcn.0040e800
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
cmp eax, 0
je 0x40806d
cmp byte [0x6d9e38], 0
jne 0x408058
mov dword [eax], edx
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [ebx + 0x33]
cmp bl, 0
je 0x407f99
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x24]
mov dword [esp], ebp
call fcn.0040e800
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], edx
cmp eax, 0
je 0x408051
cmp byte [0x6d9e38], 0
jne 0x40803c
mov dword [eax], edx
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x20]
mov dword [esp], ebp
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call fcn.0040f2d0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x24]
mov dword [esp], ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
call fcn.0040f2d0
mov ecx, dword [esp + 0x90]
movzx ebx, byte [esp + 0x23]
mov eax, ebx
mov ebx, dword [esp + 0x5c]
mov byte [ebx], al
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
movzx ebp, byte [ecx + 4]
mov ebx, ebp
and ebx, 4
cmp bl, 0
jne 0x408026
mov ebx, 0x5fa3cf
mov dword [esp], ebx
mov dword [esp + 4], 0x15
call fcn.0042a340
mov ecx, dword [esp + 0x90]
movzx ebp, byte [ecx + 4]
mov ebx, ebp
and ebx, 0xfb
mov byte [ecx + 4], bl
add esp, 0x88
ret
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040f1d0
mov edx, dword [esp + 0x3c]
jmp 0x407f95
mov dword [eax], eax
jmp 0x407f86
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040f1d0
mov edx, dword [esp + 0x4c]
jmp 0x407f4b
mov dword [eax], eax
jmp 0x407f3c
mov dword [ebx], eax
jmp 0x407ed8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040f1d0
jmp 0x407ecb
mov dword [ecx], eax
jmp 0x407ebc
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x407e9c
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040f1d0
jmp 0x407e6b
mov dword [esp], 0x5c9280
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0043c270
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x407e3a
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040f1d0
jmp 0x407e1d
mov dword [ebp], eax
jmp 0x407e0d
lea esi, [ecx + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f1d0
mov ecx, dword [esp + 0x60]
jmp 0x407de1
mov dword [ecx], eax
jmp 0x407dd1
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx]
cmp ebp, 8
jl 0x407d3b
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
call fcn.00408f00
jmp 0x407b46
xor ebx, ebx
jmp 0x407cf6
mov ecx, eax
jmp 0x407bf3
call fcn.00428680
ud2
call fcn.00428680
ud2
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x30]
mov ebx, ebp
imul ebx, eax
mov dword [esp + 0x24], eax
add ebx, 8
mov eax, ebx
mov ebx, ecx
add ebx, eax
mov eax, ebx
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [ebx + 0x31]
cmp bl, 0
je 0x40819c
mov eax, dword [eax]
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov edx, dword [ebx + 4]
mov ebx, dword [edx]
call ebx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x4081d0
jmp 0x407c9e
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [ebx + 0x37]
cmp bl, 0
je 0x40820d
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x20]
mov dword [esp], ebp
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 8], ebx
call fcn.0040f2d0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x30]
mov edx, ebp
shl edx, 3
add edx, 8
mov ebx, dword [esp + 0x8c]
movzx ebp, byte [ebx + 0x32]
mov ebx, ebp
imul ebx, eax
mov ebp, edx
add ebp, ebx
mov eax, ecx
add eax, ebp
mov ebx, dword [esp + 0x8c]
movzx ebx, byte [ebx + 0x33]
cmp bl, 0
je 0x40824a
mov eax, dword [eax]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [ebx + 0x24]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
call fcn.0040f2d0
mov ecx, dword [esp + 0x90]
jmp 0x407ffc
call fcn.00428680
ud2
mov dword [ecx], eax
jmp 0x407c07
xor ebx, ebx
jmp 0x407b5f
lea esi, [ebx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f1d0
jmp 0x407b46
mov dword [ebx], eax
jmp 0x407b36
call fcn.00450db0
jmp fcn.00407a20