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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
mov eax, dword [0x47e1c0]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x488], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xfc]
mov ecx, dword [ebp + 0x124]
mov edx, dword [ebp + 0x104]
mov dword [ebp + 0x100], eax
mov eax, dword [ebp + 0x12c]
mov byte [esp + 0x488], 2
mov dword [ebp + 0x130], eax
mov eax, dword [ebp + 0x164]
cmp eax, ebx
mov dword [ebp + 0x128], ecx
mov dword [ebp + 0x108], edx
mov dword [esp + 0x28], ebx
jle 0x4098b6
mov ecx, dword [ebp + 0x160]
xor eax, eax
lea edx, [esp + 0x80]
mov edi, dword [ecx + ebx*4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x80]
mov dl, byte [esp + 0x81]
cmp al, 0x30
jne 0x40919a
cmp dl, 0x47
je 0x4090d6
cmp dl, 0x44
je 0x4090d6
cmp dl, 0x54
je 0x4090d6
cmp dl, 0x4b
jne 0x40919a
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0x89
jge 0x40918f
mov eax, 0x89
sub eax, ebx
test eax, eax
jle 0x409140
mov dword [esp + 0x34], eax
mov edi, 0x47d328
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
mov ecx, edx
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], eax
jne 0x409104
push 1
lea eax, [esp + ebx + 0x83]
push 0x47d4c0
push eax
call fcn.00424dd0
mov edi, 0x47d4bc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x80]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, byte [esp + 0x81]
mov ebx, dword [esp + 0x28]
mov al, byte [esp + 0x80]
cmp dl, 0x47
jne 0x4092fb
cmp al, 0x30
jne 0x409878
lea eax, [esp + 0x8c]
push 4
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00412740
lea edx, [esp + 0x80]
push edx
call fcn.00424f59
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409272
mov eax, dword [ebp + 0x100]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [eax + 0x20]
lea eax, [esp + 0x14]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x20]
push 7
lea edx, [esp + 0xa4]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x100]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [eax + 0x50]
lea eax, [esp + 0x30]
push edx
push 0x47d4b8
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x3c]
push 6
lea edx, [esp + 0xe8]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x100]
mov ecx, dword [eax + 0x5c]
push ecx
mov edx, dword [eax + 0x58]
lea eax, [esp + 0x4c]
push edx
push 0x47d4b8
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x58]
add esp, 0x48
lea edx, [esp + 0xbe]
push 6
push ecx
push edx
call fcn.00424dd0
add esp, 0xc
mov eax, dword [ebp + 0x100]
cmp esi, 1
jne 0x4092a5
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [eax + 0x28]
lea eax, [esp + 0x14]
push edx
push 0x47d49c
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x20]
push 7
lea edx, [esp + 0xab]
push ecx
push edx
jmp 0x4092dd
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10c]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [edx + ecx*8 + 0x3c]
push eax
mov ecx, dword [edx + ecx*8 + 0x38]
lea edx, [esp + 0x14]
push ecx
push 0x47d49c
push edx
call fcn.004340ef
mov eax, dword [esp + 0x20]
push 7
lea ecx, [esp + 0xb2]
push eax
push ecx
call fcn.00424dd0
mov eax, dword [ebp + 0x100]
add esp, 0x1c
add eax, 0x2e0
mov dword [ebp + 0x100], eax
jmp 0x409878
cmp dl, 0x44
jne 0x409733
cmp al, 0x30
jne 0x409878
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [edx + 0x28]
lea edx, [esp + 0x14]
push ecx
push 0x47d4b8
push edx
call fcn.004340ef
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x4093a5
mov eax, dword [esp + 0x10]
cmp byte [eax + 6], 0x30
jne 0x4093a5
lea ecx, [esp + 0x54]
push 6
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x54]
push eax
push edx
mov byte [esp + 0x494], 3
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 4
call fcn.0043a778
lea ecx, [esp + 0x50]
mov byte [esp + 0x488], 3
call fcn.0043a63f
lea ecx, [esp + 0x54]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 7
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.00424dd0
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [edx + 0x30]
lea edx, [esp + 0x20]
push ecx
push 0x47d4b8
push edx
call fcn.004340ef
add esp, 0x1c
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x409452
mov eax, dword [esp + 0x10]
cmp byte [eax + 6], 0x30
jne 0x409452
lea ecx, [esp + 0x48]
push 6
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x494], 5
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 6
call fcn.0043a778
lea ecx, [esp + 0x44]
mov byte [esp + 0x488], 5
call fcn.0043a63f
lea ecx, [esp + 0x48]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 7
lea ecx, [esp + 0x9f]
push eax
push ecx
call fcn.00424dd0
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [edx + 0x58]
lea edx, [esp + 0x20]
push ecx
push 0x47d4b0
push edx
call fcn.004340ef
add esp, 0x1c
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x4094ff
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 0x30
jne 0x4094ff
lea ecx, [esp + 0x58]
push 5
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x494], 7
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 8
call fcn.0043a778
lea ecx, [esp + 0x40]
mov byte [esp + 0x488], 7
call fcn.0043a63f
lea ecx, [esp + 0x58]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 6
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.00424dd0
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [edx + 0x60]
lea edx, [esp + 0x20]
push ecx
push 0x47d4b0
push edx
call fcn.004340ef
add esp, 0x1c
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x4095ac
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 0x30
jne 0x4095ac
lea ecx, [esp + 0x5c]
push 5
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x50]
push eax
push edx
mov byte [esp + 0x494], 9
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xa
call fcn.0043a778
lea ecx, [esp + 0x4c]
mov byte [esp + 0x488], 9
call fcn.0043a63f
lea ecx, [esp + 0x5c]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 6
lea ecx, [esp + 0xc6]
push eax
push ecx
call fcn.00424dd0
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [edx + 0x48]
lea edx, [esp + 0x20]
push ecx
push 0x47d4b8
push edx
call fcn.004340ef
add esp, 0x1c
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x409659
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 0x30
jne 0x409659
lea ecx, [esp + 0x30]
push 5
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x494], 0xb
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xc
call fcn.0043a778
lea ecx, [esp + 0x24]
mov byte [esp + 0x488], 0xb
call fcn.0043a63f
lea ecx, [esp + 0x30]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 6
lea ecx, [esp + 0xb4]
push eax
push ecx
call fcn.00424dd0
mov edx, dword [ebp + 0x108]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [edx + 0x50]
lea edx, [esp + 0x20]
push ecx
push 0x47d4b8
push edx
call fcn.004340ef
add esp, 0x1c
lea ecx, [esp + 0x10]
push 0x47d4b4
call fcn.00433dae
cmp eax, 0xffffffff
je 0x409706
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 0x30
jne 0x409706
lea ecx, [esp + 0x14]
push 5
push ecx
lea ecx, [esp + 0x18]
call fcn.00433d14
push 0x47d328
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x494], 0xd
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0xe
call fcn.0043a778
lea ecx, [esp + 0x2c]
mov byte [esp + 0x488], 0xd
call fcn.0043a63f
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], 2
call fcn.0043a63f
mov eax, dword [esp + 0x10]
push 6
lea ecx, [esp + 0xba]
push eax
push ecx
call fcn.00424dd0
mov eax, dword [ebp + 0x108]
add esp, 0xc
add eax, 0x80
mov dword [ebp + 0x108], eax
jmp 0x409878
cmp dl, 0x4b
jne 0x409830
cmp al, 0x30
jne 0x409878
mov edx, dword [ebp + 0x128]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0xa8]
push eax
push 0x47d1d8
push ecx
call fcn.004340ef
mov edx, dword [esp + 0x1c]
push 3
lea eax, [esp + 0x109]
push edx
push eax
call fcn.00424dd0
mov ecx, dword [ebp + 0x128]
lea eax, [esp + 0x28]
mov edx, dword [ecx + 0xac]
push edx
push 0x47d1d8
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x34]
push 3
lea edx, [esp + 0x124]
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x128]
fld qword [eax + 0xb0]
fmul qword [0x467a90]
lea eax, [esp + 0x40]
fstp qword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
push ecx
push edx
push str._5.2f
push eax
call fcn.004340ef
mov ecx, dword [esp + 0x50]
add esp, 0x40
lea edx, [esp + 0xff]
push 5
push ecx
push edx
call fcn.00424dd0
mov eax, dword [ebp + 0x128]
lea edx, [esp + 0x1c]
mov ecx, dword [eax + 0xb8]
push ecx
push 0x47d1d8
push edx
call fcn.004340ef
mov eax, dword [esp + 0x28]
push 3
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.00424dd0
mov eax, dword [ebp + 0x128]
add esp, 0x24
add eax, 0xc0
mov dword [ebp + 0x128], eax
jmp 0x409878
cmp dl, 0x43
jne 0x409878
cmp al, 0x30
jne 0x409878
mov edx, dword [ebp + 0x130]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x10]
push eax
push 0x47d4a4
push ecx
call fcn.004340ef
mov edx, dword [esp + 0x1c]
push 5
lea eax, [esp + 0x9c]
push edx
push eax
call fcn.00424dd0
mov eax, dword [ebp + 0x130]
add esp, 0x18
add eax, 0x38
mov dword [ebp + 0x130], eax
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 0x160]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [edx + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x164]
mov dword [esp + 0x28], ebx
cmp ebx, eax
jl 0x40907b
call fcn.00450a42
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, 0xc0
push eax
call fcn.0043a3b4
mov bl, 0xf
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48c], bl
call fcn.00433d8c
mov esi, eax
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.00433d14
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0x10
call fcn.0043a778
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], bl
call fcn.0043a63f
lea edx, [esp + 0x10]
push str._res
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48c], 0x11
call fcn.0043a778
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], bl
call fcn.0043a63f
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.0043ab06
mov ecx, 0xfffffffc
lea edx, [esp + 0x14]
sub ecx, esi
add eax, ecx
lea ecx, [esp + 0x18]
push eax
push esi
push edx
call fcn.00433c02
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48c], 0x12
call fcn.0043a778
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], bl
call fcn.0043a63f
mov eax, dword [ebp + 0x16c]
lea ecx, [esp + 0x1c]
push eax
push 0x47d490
push ecx
call fcn.004340ef
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00434102
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0043a86e
push 0x47d4a0
mov byte [esp + 0x48c], 0x13
push eax
lea edx, [esp + 0x38]
push edx
call fcn.0043a8d4
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x494], 0x14
call fcn.0043a86e
push str..Dat
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x490], 0x15
push eax
call fcn.0043a8d4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48c], 0x16
call fcn.0043a778
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], 0x15
call fcn.0043a63f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x488], 0x14
call fcn.0043a63f
lea ecx, [esp + 0x30]
mov byte [esp + 0x488], 0x13
call fcn.0043a63f
lea ecx, [esp + 0x24]
mov byte [esp + 0x488], bl
call fcn.0043a63f
mov ecx, dword [esp + 0x18]
push 0x5001
push ecx
lea ecx, [esp + 0x68]
call fcn.0043abe8
mov eax, dword [ebp + 0x164]
xor esi, esi
test eax, eax
mov byte [esp + 0x488], 0x17
jle 0x409aa8
mov edx, dword [ebp + 0x160]
lea ecx, [esp + 0x60]
mov eax, dword [edx + esi*4]
push eax
call fcn.0043ae37
mov eax, dword [ebp + 0x164]
inc esi
cmp esi, eax
jl 0x409a8a
lea ecx, [esp + 0x60]
call fcn.0043aff4
lea ecx, [esp + 0x60]
mov byte [esp + 0x488], bl
call fcn.0043ac81
lea ecx, [esp + 0x18]
mov byte [esp + 0x488], 2
call fcn.0043a63f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x488], 1
call fcn.0043a63f
lea ecx, [esp + 0x20]
mov byte [esp + 0x488], 0
call fcn.0043a63f
lea ecx, [esp + 0x10]
mov dword [esp + 0x488], 0xffffffff
call fcn.0043a63f
mov ecx, dword [esp + 0x480]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret