Function at 0x497070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x130
push esi
xor esi, esi
cmp edx, esi
je 0x497349
cmp ecx, esi
je 0x497349
cmp eax, esi
mov dword [esp + 0x3c], 0x3f666666
mov dword [esp + 0x40], 0x3f666666
mov dword [esp + 0x44], 0x3f666666
mov dword [esp + 0x38], 0x3f666666
jne 0x4970d1
mov ax, word [edx + 4]
mov dx, word [edx + 6]
mov word [esp + 0xe], ax
mov word [esp + 0xa], si
mov word [esp + 8], si
mov word [esp + 0xc], dx
lea eax, [esp + 8]
push ebx
xor ebx, ebx
mov bx, word [eax + 6]
sub bx, word [eax + 2]
xor edx, edx
mov dx, word [ecx + 6]
push ebp
push edi
xor edi, edi
mov di, word [ecx + 2]
xor ebp, ebp
mov bp, word [ecx]
mov dword [esp + 0x10], ebx
mov bx, word [eax + 4]
sub bx, word [eax]
movsx eax, di
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x14]
sub edx, edi
xor esi, esi
mov si, word [ecx + 4]
fst dword [esp + 0x24]
movsx edi, bp
mov dword [esp + 0x14], edi
movsx edx, dx
fild dword [esp + 0x14]
add edx, eax
fst dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
fild dword [esp + 0x14]
sub esi, ebp
movsx eax, si
fst dword [esp + 0x2c]
fxch st(1)
add eax, edi
fstp dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x148]
test eax, eax
fstp dword [esp + 0x34]
fild dword [esp + 0x14]
fst dword [esp + 0x38]
fxch st(1)
fstp dword [esp + 0x3c]
fstp dword [esp + 0x40]
je 0x4971df
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jle 0x497188
movsx ecx, dx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fst dword [esp + 0x3c]
fstp dword [esp + 0x24]
mov cx, word [eax + 6]
cmp cx, word [esp + 0x20]
jge 0x4971a6
movsx edx, cx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fst dword [esp + 0x34]
fstp dword [esp + 0x2c]
mov cx, word [eax]
cmp cx, bp
jle 0x4971c1
movsx ecx, cx
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fst dword [esp + 0x30]
fstp dword [esp + 0x28]
mov ax, word [eax + 4]
cmp ax, word [esp + 0x1c]
jge 0x4971df
movsx edx, ax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fst dword [esp + 0x40]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x144]
movsx eax, word [ecx + 4]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld dword [0x66c410]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x497209
fstp st(0)
fld dword [0x66c410]
movsx edx, word [esp + 0x10]
mov dword [esp + 0x10], edx
fidivr dword [esp + 0x10]
fcom dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x49722b
fstp st(0)
fld dword [0x66c410]
movsx eax, word [ecx + 6]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld dword [0x66c410]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x49724e
fstp st(0)
fld dword [0x66c410]
movsx ecx, bx
mov dword [esp + 0x10], ecx
fidivr dword [esp + 0x10]
fcom dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x49726e
fstp st(0)
fld dword [0x66c410]
xor ebx, ebx
xor edi, edi
lea esi, [esp + 0x28]
lea ecx, [esp + 0xf0]
lea ecx, [ecx]
mov edx, dword [esp + 0x14c]
mov dword [ecx - 4], edx
mov eax, edi
cdq
mov ebp, 3
idiv ebp
test edx, edx
je 0x49729c
fld st(1)
jmp 0x4972a2
fld dword [0x66c40c]
cmp bx, 1
fstp dword [ecx]
jle 0x4972ae
fld st(0)
jmp 0x4972b4
fld dword [0x66c40c]
mov eax, dword [esi - 4]
fstp dword [ecx + 4]
mov edx, dword [esi]
inc ebx
mov dword [ecx - 0x10], eax
mov dword [ecx - 0xc], edx
mov dword [ecx - 8], 0
inc edi
add esi, 8
add ecx, 0x18
cmp bx, 4
jl 0x497280
xor eax, eax
fstp st(0)
mov ecx, 0x23
fstp st(0)
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], eax
mov byte [esp + 0xde], al
mov word [esp + 0xdc], ax
mov eax, dword [esp + 0x144]
lea ecx, [esp + 0xe0]
mov dword [esp + 0x60], eax
push ecx
lea eax, [esp + 0x58]
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
call fcn.00518470
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x130
ret