Function at 0x6040b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp byte [edi + 0x3ec], 0
mov dword [esp + 0x44], edi
jne 0x60457e
cmp dword [edi + 0x3d4], 0
je 0x60457e
mov eax, dword [edi + 0x70]
test eax, eax
je 0x60457e
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60457e
mov eax, dword [edi + 0x3f0]
test eax, eax
je 0x60457e
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60457e
mov eax, dword [edi + 0x3f4]
test eax, eax
je 0x60457e
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60457e
mov eax, dword [edi + 0x3f8]
test eax, eax
je 0x60457e
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60457e
call dword [0x794288]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 0xc8
mov dword [esp + 0x20], 0
call fcn.0067b970
mov esi, dword [edi + 0x3d4]
mov dword [esp + 0x48], eax
mov eax, dword [eax + 4]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub esi, 1
lea eax, [eax + eax*2 - 0xa]
mov dword [esp + 0x38], eax
js 0x60457e
jmp 0x6041a4
mov edi, dword [esp + 0x44]
cmp esi, dword [edi + 0x3d4]
jae 0x60457e
mov ebp, dword [edi + 0x3f8]
add edi, 0x3c4
push esi
mov ecx, edi
call fcn.00602980
cmp dword [eax + 0x18], 0x10
jb 0x6041cf
mov ebx, dword [eax + 4]
jmp 0x6041d2
lea ebx, [eax + 4]
add ebp, 0x54
push ebx
mov ecx, ebp
call fcn.00439b60
mov ecx, eax
call fcn.0053a2e0
push esi
mov ecx, edi
mov dword [esp + 0x2c], eax
call fcn.00602980
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffd8
cmp dword [eax + 0x20], ecx
jae 0x60422c
push esi
mov ecx, edi
call fcn.00602980
mov edx, dword [esp + 0x40]
push esi
mov ecx, edi
mov dword [eax + 0x20], edx
call fcn.00602980
mov eax, dword [eax + 0x1c]
sub eax, 1
push esi
mov ecx, edi
mov dword [esp + 0x50], eax
call fcn.00602980
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x1c], ecx
push esi
mov ecx, edi
call fcn.00602980
cmp dword [eax + 0x1c], 0
ja 0x604246
mov ecx, edi
call fcn.00603be0
jmp 0x604575
mov ecx, ebp
call fcn.00439b60
mov edx, 0xfffffff6
sub edx, dword [eax + 0x10]
add dword [esp + 0x38], edx
js 0x60457e
push esi
mov ecx, edi
call fcn.00602980
cmp dword [eax + 0x28], 1
jne 0x604274
sub dword [esp + 0x1c], 0x23
jmp 0x604288
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
shr eax, 1
sar edx, 1
sub edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x38]
push esi
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00602980
movzx ecx, byte [eax + 0x1c]
mov byte [esp + 0x14], cl
push esi
mov ecx, edi
call fcn.00602980
movzx edx, byte [eax + 0x26]
push esi
mov ecx, edi
mov byte [esp + 0x1c], dl
call fcn.00602980
movzx eax, byte [eax + 0x25]
push esi
mov ecx, edi
mov byte [esp + 0x28], al
call fcn.00602980
movzx ecx, byte [eax + 0x24]
movzx edx, byte [esp + 0x24]
movzx eax, byte [esp + 0x18]
mov byte [esp + 0x10], cl
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x13], cl
mov ecx, ebp
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], al
call fcn.00439b60
push ebx
mov ecx, ebp
call fcn.00439b60
mov ecx, eax
call fcn.0053a2e0
call fcn.00534760
push esi
mov ecx, edi
call fcn.00602980
fild dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
test edx, edx
jge 0x60431e
fadd dword [0x7bb540]
fdiv qword [0x798938]
lea eax, [esp + 0x70]
push eax
fstp dword [esp + 0x2c]
fld1
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x80]
call fcn.00534680
add esp, 4
push esi
mov ecx, edi
mov byte [esp + 0x34], 0x32
mov byte [esp + 0x35], 0x32
mov byte [esp + 0x36], 0x32
call fcn.00602980
movzx ecx, byte [eax + 0x1c]
lea edx, [esp + 0x80]
mov byte [esp + 0x33], cl
push edx
lea ecx, [esp + 0x34]
call fcn.004136b0
lea eax, [esp + 0x80]
push eax
call fcn.00534680
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
push 9
push 0
add ecx, 0xffffffff
push ebx
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ecx
add edx, 0xffffffff
push eax
mov ecx, ebp
mov dword [esp + 0x64], edx
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
push esi
mov ecx, edi
mov byte [esp + 0x40], 0x32
mov byte [esp + 0x41], 0x32
mov byte [esp + 0x42], 0x32
call fcn.00602980
movzx ecx, byte [eax + 0x1c]
lea edx, [esp + 0xb0]
mov byte [esp + 0x3f], cl
push edx
lea ecx, [esp + 0x40]
call fcn.004136b0
lea eax, [esp + 0xb0]
push eax
call fcn.00534680
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
push 9
push 0
add ecx, 0xffffffff
push ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ecx
add edx, 1
push eax
mov ecx, ebp
mov dword [esp + 0x7c], edx
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
mov byte [esp + 0x34], 0x32
mov byte [esp + 0x35], 0x32
mov byte [esp + 0x36], 0x32
push esi
mov ecx, edi
call fcn.00602980
movzx ecx, byte [eax + 0x1c]
lea edx, [esp + 0x90]
mov byte [esp + 0x37], cl
push edx
lea ecx, [esp + 0x38]
call fcn.004136b0
lea eax, [esp + 0x90]
push eax
call fcn.00534680
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
push 9
push 0
add ecx, 1
push ebx
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ecx
add edx, 0xffffffff
push eax
mov ecx, ebp
mov dword [esp + 0x6c], edx
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
push esi
mov ecx, edi
mov byte [esp + 0x30], 0x32
mov byte [esp + 0x31], 0x32
mov byte [esp + 0x32], 0x32
call fcn.00602980
movzx ecx, byte [eax + 0x1c]
lea edx, [esp + 0xa0]
mov byte [esp + 0x2f], cl
push edx
lea ecx, [esp + 0x30]
call fcn.004136b0
lea eax, [esp + 0xa0]
push eax
call fcn.00534680
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
push 9
push 0
add ecx, 1
push ebx
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], ecx
add edx, 1
push eax
mov ecx, ebp
mov dword [esp + 0x74], edx
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
push esi
mov ecx, edi
call fcn.00602980
cmp dword [eax + 0x2c], 2
jne 0x60453a
push esi
mov ecx, edi
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0x8f
mov byte [esp + 0x16], 0xa
call fcn.00602980
mov cl, byte [eax + 0x1c]
mov byte [esp + 0x13], cl
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x14]
call fcn.004136b0
lea eax, [esp + 0xc0]
push eax
call fcn.00534680
add esp, 4
push 9
push 0
push ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
sub esi, 1
jns 0x6041a0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret