Function at 0x608330
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [ebp + 8]
mov dword [esp + 0x64], edi
call fcn.005f2480
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0xb8], ebx
test ebx, ebx
je 0x608393
lea ecx, [esp + 0xa4]
call fcn.005f9af0
test al, al
jne 0x608387
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [esp + 0xb8], 0
jmp 0x608393
push ebx
push dword [ebp + 8]
lea ecx, [edi + 0x68]
call fcn.00612ab0
lea ecx, [esp + 0xa4]
call fcn.005f6920
mov byte [edi + 0x14], al
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov byte [edi + 0x15], al
mov byte [edi + 0x16], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x3a], 0
call fcn.005f58d0
lea ecx, [ebp + 8]
mov dword [esp + 0x4c], eax
call fcn.005f5860
cmp byte [edi + 0x14], 0
je 0x608413
and eax, 7
cmp al, 7
jne 0x608413
mov al, 1
jmp 0x608415
xor al, al
mov byte [edi + 0x19], al
lea ecx, [ebp + 8]
lea eax, [esp + 0xbc]
mov dword [edi + 0x6c], 0
push eax
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x84], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
call fcn.005f56d0
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x48], eax
add eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov dword [edi + 0x54], ecx
mov ecx, dword [esp + 0xc8]
lea ebx, [eax - 1]
lea eax, [esi - 1]
mov dword [esp + 0x90], edx
add eax, edx
mov dword [esp + 0x6c], ebx
mov dword [edi + 0x48], edx
mov dword [edi + 0x4c], eax
mov dword [edi + 0x58], ebx
test ecx, ecx
jle 0x6084e8
test esi, esi
jle 0x6084e8
xor cl, cl
jmp 0x6084ea
mov cl, 1
cmp edx, eax
mov byte [edi + 0x66], cl
sete al
cmp dword [esp + 0x48], ebx
mov byte [edi + 0x64], al
sete al
mov byte [edi + 0x65], al
test cl, cl
jne 0x60944c
push 0
lea eax, [esp + 0xdc]
push eax
lea ecx, [ebp + 8]
call fcn.005f23a0
push 1
lea eax, [esp + 0xe0]
push eax
lea ecx, [ebp + 8]
call fcn.005f23a0
push 2
lea eax, [esp + 0xe4]
push eax
lea ecx, [ebp + 8]
call fcn.005f23a0
push 3
lea eax, [esp + 0xe8]
push eax
lea ecx, [ebp + 8]
call fcn.005f23a0
mov ecx, dword [esp + 0xe0]
test ecx, ecx
fld1
setne al
mov dword [esp + 0x50], 0
cmp dword [esp + 0xdc], 0
fst dword [esp + 0xa8]
fst dword [esp + 0xac]
mov byte [edi + 0x17], al
setne al
xor esi, esi
mov byte [edi + 0x18], al
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], esi
fst dword [esp + 0xb0]
fstp dword [esp + 0xb4]
test ecx, ecx
je 0x608709
push 1
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0xdc]
push eax
lea eax, [edi + 0x3a]
push eax
lea eax, [edi + 0x38]
push eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xc8]
push eax
lea ebx, [edi + 0x1c]
push ebx
lea ecx, [ebp + 8]
call fcn.005f58e0
mov edx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x50], eax
cmp edx, ecx
jg 0x608606
mov edx, ecx
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jl 0x60861a
mov eax, ecx
sub edx, eax
mov eax, dword [ebx]
mov dword [esp + 0x68], edx
cmp eax, 4
jg 0x60862f
lea eax, [edi + 0x194]
jmp 0x60864b
xor ecx, ecx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [edi + 0x7c], eax
xor ecx, ecx
mov dword [edi + 0x30], eax
xor ebx, ebx
mov dword [esp + 0x70], ecx
cmp dword [edi + 0x1c], ecx
jle 0x6086c9
mov esi, dword [esp + 0x50]
xor edx, edx
add esi, 8
mov ecx, dword [edi + 0x30]
movzx eax, word [esi - 4]
mov word [edx + ecx + 4], ax
mov ecx, dword [edi + 0x30]
mov al, byte [esi - 8]
mov byte [edx + ecx + 1], al
mov ecx, dword [edi + 0x30]
mov al, byte [esi]
mov byte [edx + ecx + 2], al
mov ecx, dword [edi + 0x30]
movzx eax, word [esi + 4]
mov word [edx + ecx + 6], ax
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x4c]
mov byte [edx + eax + 0x12], cl
mov ecx, dword [edi + 0x30]
mov al, byte [edi + 0x14]
mov byte [edx + ecx + 0x11], al
mov eax, dword [esi - 8]
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jge 0x6086b5
mov ecx, eax
mov dword [esp + 0x70], ecx
add dword [esp + 0x64], eax
inc ebx
add edx, 0x14
add esi, 0x10
cmp ebx, dword [edi + 0x1c]
jl 0x608664
mov esi, dword [esp + 0x64]
cmp ecx, 4
jg 0x6086d6
lea eax, [edi + 0xcc]
jmp 0x6086f9
lea eax, [ecx + ecx]
mov edx, 4
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
mov ecx, dword [esp + 0x74]
add esp, 4
mov dword [edi + 0x74], eax
mov ebx, dword [esp + 0x6c]
mov dword [edi + 0x28], eax
lea eax, [eax + ecx*4]
mov dword [edi + 0x24], eax
mov al, byte [edi + 0x18]
test al, al
je 0x60883b
push 0
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [edi + 0x3b]
push eax
lea eax, [edi + 0x39]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xd0]
push eax
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.005f58e0
mov ecx, eax
mov dword [esp + 0x5c], ecx
cmp ecx, dword [esp + 0x50]
jne 0x608768
mov eax, dword [edi + 0x30]
jmp 0x6087a9
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
lea eax, [edx + ecx]
cmp eax, 4
jg 0x608784
lea eax, [ecx*4 + 0x65]
add eax, ecx
lea eax, [edi + eax*4]
jmp 0x6087a5
xor ecx, ecx
mov eax, edx
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [edi + 0x80], eax
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x34], eax
cmp eax, dword [edi + 0x30]
je 0x60881e
xor ebx, ebx
cmp dword [edi + 0x20], ebx
jle 0x60881a
xor edx, edx
lea esi, [ecx + 8]
lea ecx, [ecx]
mov ecx, dword [edi + 0x34]
lea edx, [edx + 0x14]
movzx eax, word [esi - 4]
lea esi, [esi + 0x10]
inc ebx
mov word [edx + ecx - 0x10], ax
mov ecx, dword [edi + 0x34]
mov al, byte [esi - 0x18]
mov byte [edx + ecx - 0x13], al
mov ecx, dword [edi + 0x34]
mov al, byte [esi - 0x10]
mov byte [edx + ecx - 0x12], al
mov ecx, dword [edi + 0x34]
movzx eax, word [esi - 0xc]
mov word [edx + ecx - 0xe], ax
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x4c]
mov byte [edx + eax - 2], cl
mov ecx, dword [edi + 0x34]
mov al, byte [edi + 0x14]
mov byte [edx + ecx - 3], al
mov eax, dword [esp + 0x64]
add eax, dword [esi - 0x18]
mov dword [esp + 0x64], eax
cmp ebx, dword [edi + 0x20]
jl 0x6087c0
mov esi, eax
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
lea ecx, [ebx + 1]
mov eax, edx
sar ecx, 1
sar eax, 1
add ebx, 2
sub ecx, eax
sar ebx, 1
lea eax, [edx + 1]
sar eax, 1
sub ebx, eax
jmp 0x608842
sub ebx, dword [esp + 0x48]
xor ecx, ecx
inc ebx
mov dword [edi + 0x5c], ebx
lea ebx, [edi + 0x8c]
mov dword [edi + 0x60], ecx
lea eax, [edi + 0xac]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x64], eax
cmp esi, 8
jle 0x6088a4
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
mov ebx, eax
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x74], ebx
mov edx, 4
mov dword [edi + 0x6c], ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 8
mov dword [esp + 0x64], eax
mov dword [edi + 0x70], eax
cmp byte [edi + 0x17], 0
fld qword [0x65ba48]
fstp qword [esp + 0x90]
je 0x608a9f
push 1
lea ecx, [ebp + 8]
call fcn.005f58a0
mov edx, eax
xor eax, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x1c], eax
jle 0x608a9f
fld qword [esp + 0x90]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov esi, dword [edi + 0x30]
add esi, ecx
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x64]
mov byte [esi], al
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ecx
mov byte [esi + 0x10], 0
jne 0x608927
cmp eax, 1
je 0x608927
cmp dword [0x73d790], 0
jg 0x608923
cmp byte [0x73d78c], 0
jne 0x608923
cmp byte [0x73d78d], 0
je 0x608927
mov byte [esi + 0x10], 1
fld dword [0x6b0bfc]
xor ecx, ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
cmp byte [esi + 1], cl
jbe 0x60898c
fld dword [edx + ecx*4]
mov eax, dword [esi + 8]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [eax + ecx*4]
fld st(0)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x608966
fstp st(2)
fstp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
jmp 0x608983
fld st(2)
fchs
fcompp
fnstsw ax
test ah, 0x41
jne 0x608981
fstp st(1)
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
jmp 0x608983
fstp st(0)
movzx eax, byte [esi + 1]
inc ecx
cmp ecx, eax
jl 0x60893c
cmp byte [edi + 0x14], 0
jne 0x6089ef
fld qword [0x6b1908]
mov cl, 0x10
fcom st(1)
mov byte [esi + 2], 0x10
fnstsw ax
test ah, 0x41
jp 0x6089c9
jmp 0x6089ab
fxch st(1)
fxch st(1)
dec cl
fmul st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
test ah, 1
je 0x6089a9
fstp st(1)
mov byte [esi + 2], cl
jmp 0x6089cb
fstp st(0)
fstp st(0)
cmp cl, 0xf
jbe 0x6089dd
mov eax, 0x7fff
mov word [esi + 6], ax
jmp 0x6089f1
movzx ecx, cl
mov eax, 1
dec ecx
shl ax, cl
mov word [esi + 6], ax
jmp 0x6089f1
fstp st(0)
mov cl, byte [esi + 1]
xor ebx, ebx
test cl, cl
je 0x608a62
mov cl, byte [esi + 2]
mov eax, 1
fstp st(0)
shl eax, cl
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst qword [esp + 0x88]
mov eax, dword [esi + 8]
sub esp, 8
fmul dword [eax + ebx*4]
fadd qword [esp + 0x98]
fstp qword [esp]
call fcn.005a9b50
add esp, 8
call fcn.004b2570
mov ecx, dword [esi + 0xc]
fld qword [esp + 0x88]
mov dword [ecx + ebx*4], eax
inc ebx
mov cl, byte [esi + 1]
movzx eax, cl
cmp ebx, eax
jl 0x608a1d
mov edx, dword [esp + 0x5c]
fstp st(0)
fld qword [esp + 0x90]
mov ebx, dword [esp + 0x70]
movzx eax, cl
mov ecx, dword [esp + 0x48]
shl eax, 2
add ecx, 0x14
add dword [esp + 0x64], eax
add ebx, eax
add edx, eax
mov byte [esi + 3], 0
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], ecx
cmp eax, dword [edi + 0x1c]
jl 0x6088e7
fstp st(0)
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp byte [edi + 0x18], bl
je 0x608d04
push ebx
lea ecx, [ebp + 8]
call fcn.005f58a0
mov edx, eax
xor eax, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x6c], eax
cmp dword [edi + 0x20], eax
jle 0x608d04
xor esi, esi
mov edi, edi
mov ebx, dword [edi + 0x34]
cmp ebx, dword [edi + 0x30]
je 0x608c81
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x70]
mov dword [esi + ebx + 8], ecx
mov ecx, dword [esp + 0x64]
mov byte [esi + ebx], al
mov dword [esi + ebx + 0xc], ecx
mov byte [esi + ebx + 0x10], 0
jne 0x608b20
cmp eax, 1
je 0x608b20
cmp dword [0x73d790], 0
jg 0x608b1b
cmp byte [0x73d78c], 0
jne 0x608b1b
cmp byte [0x73d78d], 0
je 0x608b20
mov byte [esi + ebx + 0x10], 1
fld dword [0x6b0bfc]
xor ecx, ecx
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
cmp byte [esi + ebx + 1], cl
jbe 0x608b88
fld dword [edx + ecx*4]
mov eax, dword [esi + ebx + 8]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst dword [eax + ecx*4]
fld st(0)
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x608b61
fstp st(2)
fstp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
jmp 0x608b7e
fld st(2)
fchs
fcompp
fnstsw ax
test ah, 0x41
jne 0x608b7c
fstp st(1)
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
jmp 0x608b7e
fstp st(0)
movzx eax, byte [esi + ebx + 1]
inc ecx
cmp ecx, eax
jl 0x608b36
cmp byte [edi + 0x14], 0
jne 0x608bf4
fld qword [0x6b1908]
mov cl, 0x10
fcom st(1)
mov byte [esi + ebx + 2], 0x10
fnstsw ax
test ah, 0x41
jp 0x608bcc
fld qword [esp + 0x90]
jmp 0x608baf
fxch st(2)
fmul st(2), st(0)
dec cl
fxch st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
test ah, 1
je 0x608bad
fstp st(2)
mov byte [esi + ebx + 2], cl
fstp st(1)
fstp st(0)
cmp cl, 0xf
jbe 0x608be1
mov eax, 0x7fff
mov word [esi + ebx + 6], ax
jmp 0x608bf6
movzx ecx, cl
mov eax, 1
dec ecx
shl ax, cl
mov word [esi + ebx + 6], ax
jmp 0x608bf6
fstp st(0)
mov cl, byte [esi + ebx + 1]
mov dword [esp + 0x88], 0
test cl, cl
je 0x608c71
mov cl, byte [esi + ebx + 2]
mov eax, 1
mov edi, dword [esp + 0x88]
shl eax, cl
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fst qword [esp + 0x50]
mov eax, dword [esi + ebx + 8]
sub esp, 8
fmul dword [eax + edi*4]
fadd qword [esp + 0x98]
fstp qword [esp]
call fcn.005a9b50
add esp, 8
call fcn.004b2570
mov ecx, dword [esi + ebx + 0xc]
fld qword [esp + 0x50]
mov dword [ecx + edi*4], eax
inc edi
mov cl, byte [esi + ebx + 1]
movzx eax, cl
cmp edi, eax
jl 0x608c2f
mov edi, dword [esp + 0x60]
fstp st(0)
mov edx, dword [esp + 0x5c]
movzx eax, cl
shl eax, 2
add dword [esp + 0x70], eax
add dword [esp + 0x64], eax
jmp 0x608c85
mov cl, byte [esi + ebx + 1]
movsx eax, word [esi + ebx + 4]
movzx ecx, cl
lea edx, [edx + ecx*4]
dec ecx
mov dword [esp + 0x5c], edx
mov edx, eax
add eax, ecx
neg edx
mov ecx, dword [esp + 0x6c]
and ecx, 1
mov dword [esp + 0x88], eax
test byte [edi + 0x54], 1
je 0x608cbf
mov eax, ecx
xor eax, 1
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x88]
dec edx
test byte [edi + 0x58], 1
jne 0x608cc9
lea eax, [eax + ecx*2]
dec eax
cmp edx, eax
jg 0x608ccf
mov edx, eax
xor eax, eax
test edx, edx
sets al
dec eax
and eax, edx
cmp eax, dword [esp + 0x48]
jle 0x608ce3
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x5c]
mov byte [esi + ebx + 3], al
add esi, 0x14
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x6c], eax
cmp eax, dword [edi + 0x20]
jl 0x608ad0
mov ebx, dword [esp + 0x48]
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x1c]
test eax, eax
jle 0x608d47
cmp byte [edi + 0x64], 0
jne 0x608d47
cmp eax, 4
jg 0x608d21
lea eax, [edi + 0x1e4]
jmp 0x608d41
xor ecx, ecx
inc eax
mov edx, 0x28
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [edi + 0x84], eax
add eax, 0x28
mov dword [edi + 0x40], eax
mov ecx, dword [esi]
mov dword [edi + 0x44], 0
test ecx, ecx
jle 0x608d88
cmp ecx, 4
jg 0x608d61
lea eax, [edi + 0x2ac]
jmp 0x608d85
lea eax, [ecx + 1]
mov edx, 4
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
mov ecx, dword [esi]
add esp, 4
mov dword [edi + 0x88], eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x5c]
mov edx, dword [edi + 0x60]
cmp eax, edx
jge 0x608d94
mov eax, edx
add eax, ebx
mov ebx, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], ebx
test ecx, ecx
jle 0x608e37
cmp byte [edi + 0x64], 0
jne 0x608e37
push dword [esp + 0x68]
mov ecx, edi
call fcn.0060b0a0
mov ebx, eax
mov dword [esp + 0x5c], ebx
cmp ebx, 6
jle 0x608e37
xor ecx, ecx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [esp + 0xa0], eax
test eax, eax
je 0x608e32
mov edx, ebx
test ebx, ebx
je 0x608e34
lea ecx, [eax + 7]
jmp 0x608e00
mov dword [ecx - 7], 0
lea ecx, [ecx + 0x1c]
mov word [ecx - 0x1d], 0
mov dword [ecx - 0x1b], 0
mov dword [ecx - 0x17], 0
mov word [ecx - 0x11], 0
mov dword [ecx - 0xf], 0
sub edx, 1
jne 0x608e00
jmp 0x608e34
xor eax, eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x2c], 0
test ebx, ebx
jle 0x608ef2
xor esi, esi
lea edx, [edi + 0xec]
mov edi, edi
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x2c]
test eax, eax
jne 0x608e65
mov dword [esi + edi + 0x104], ecx
mov eax, edx
jmp 0x608e6c
mov dword [esi + eax + 0x18], ecx
mov eax, dword [edi + 0x78]
add eax, esi
mov dword [edi + 0x2c], eax
mov al, byte [edi + 0x14]
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x2c]
mov bl, byte [edi + 0x18]
mov byte [esp + 0x68], al
mov eax, dword [edi + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
mov dword [esp + 0x88], edx
push eax
push dword [esp + 0x4c]
push dword [esp + 0x7c]
push dword [esp + 0x74]
push ecx
push dword [ebp + 0xc]
mov ecx, edx
call fcn.00609b90
test bl, bl
je 0x608edb
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
sub eax, ecx
push eax
push dword [esp + 0x4c]
push dword [esp + 0x7c]
push dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x9c]
push dword [ebp + 0xc]
add ecx, 0xc
call fcn.00609b90
add esi, 0x1c
lea edx, [edi + 0xec]
sub dword [esp + 0x5c], 1
jne 0x608e50
lea esi, [edi + 0x1c]
cmp dword [edi + 0x40], 0
mov eax, dword [edi + 0x48]
mov dword [edi + 0x50], eax
je 0x60901b
or ecx, 0xffffffff
mov dword [esp + 0x4c], ecx
cmp dword [esi], ecx
jle 0x60901b
lea edx, [ecx - 0x27]
mov dword [esp + 0x48], 0xffffffec
lea esp, [esp]
mov ebx, dword [edi + 0x4c]
mov esi, ecx
xor esi, ebx
mov dword [esp + 0x68], ebx
and esi, 1
mov eax, ebx
sub eax, esi
mov dword [esp + 0x5c], eax
test ecx, ecx
js 0x608f62
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x48]
movsx ecx, word [ecx + eax + 4]
movzx eax, byte [ebx + eax + 1]
add ecx, eax
mov eax, dword [esp + 0x68]
add ecx, ecx
add eax, 0xfffffffe
sub ecx, esi
add eax, ecx
mov dword [esp + 0x5c], eax
mov esi, dword [edi + 0x40]
mov cl, byte [edi + 0x3a]
mov eax, dword [edi + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [edx + esi], eax
add eax, 0xfffffc18
mov byte [edx + esi + 0x25], bl
mov ebx, dword [esp + 0x68]
mov dword [edx + esi + 4], ebx
mov dword [edx + esi + 0x1c], eax
mov dword [edx + esi + 0x18], eax
mov dword [edx + esi + 0x10], eax
mov byte [edx + esi + 0x24], cl
test cl, cl
je 0x608fa6
mov eax, dword [esp + 0x5c]
cmp eax, ebx
jl 0x608fa6
lea ecx, [ebx + ebx]
sub ecx, eax
jmp 0x608fa9
lea ecx, [ebx - 1]
mov dword [edx + esi + 0x20], ecx
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jns 0x608fc0
lea eax, [ebx + 2]
mov dword [edx + esi + 0x20], eax
mov dword [edx + esi + 0x18], eax
mov eax, dword [edx + esi + 0x10]
sub eax, 2
mov dword [edx + esi + 0xc], 0
mov dword [edx + esi + 0x14], eax
mov dword [edx + esi + 8], 0
test ecx, ecx
js 0x609003
mov eax, dword [edi + 0x30]
mov ebx, dword [esp + 0x48]
cmp byte [ebx + eax + 1], 0
ja 0x609003
mov ecx, dword [edi + 0x40]
mov eax, dword [ecx + edx + 4]
add eax, 2
mov dword [ecx + edx + 0x20], eax
mov dword [ecx + edx + 0x18], eax
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x48], 0x14
lea esi, [edi + 0x1c]
inc ecx
add edx, 0x28
mov dword [esp + 0x4c], ecx
cmp ecx, dword [esi]
jl 0x608f20
cmp byte [edi + 0x17], 0
je 0x60904b
mov eax, dword [esi]
xor edx, edx
inc eax
test eax, eax
jle 0x60904b
lea ebx, [ebx]
mov ecx, dword [edi + 0x48]
mov eax, ecx
xor eax, edx
and eax, 1
sub ecx, eax
mov eax, dword [edi + 0x44]
inc ecx
mov dword [eax + edx*4], ecx
inc edx
mov eax, dword [esi]
inc eax
cmp edx, eax
jl 0x609030
cmp byte [edi + 0x14], 0
fld dword [ebp + 0x14]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
mov dword [edi + 0x3c], 0
jne 0x609337
push 1
lea eax, [esp + 0xa0]
push eax
lea ecx, [ebp + 8]
call fcn.005f5390
mov esi, eax
lea ecx, [ebp + 8]
push 0
lea eax, [esp + 0xa0]
mov dword [esp + 0x9c], esi
push eax
call fcn.005f5390
fld dword [ebp + 0x14]
mov edx, eax
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x88], edx
fst dword [esp + 0x50]
test ebx, ebx
jle 0x60919d
cmp byte [edi + 0x64], 0
jne 0x60919d
fld st(0)
fld dword [esp + 0xa8]
fdivr st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fst dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [esp + 0xac]
fdivr st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fst dword [esp + 0x80]
fstp dword [esp + 0x84]
fmul dword [edx]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fst dword [esp + 0x4c]
test ebx, ebx
jle 0x60919b
fld dword [esp + 0x50]
lea edx, [esi + 4]
mov esi, ebx
xor ecx, ecx
mov ebx, dword [esp + 0x74]
fld st(1)
fmul dword [edx]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x609147
fstp st(1)
fst dword [esp + 0x50]
fld dword [esp + 0x50]
fxch st(1)
test bl, bl
je 0x60917a
mov eax, dword [edi + 0x30]
cmp byte [ecx + eax + 0x10], 0
je 0x60917a
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x609197
fstp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fxch st(1)
add edx, 4
add ecx, 0x14
fstp dword [esp + 0x4c]
sub esi, 1
jne 0x609126
mov ebx, dword [edi + 0x1c]
fstp st(1)
mov edx, dword [esp + 0x88]
jmp 0x6091a1
fstp st(0)
jmp 0x60917a
fstp st(0)
fld dword [esp + 0x50]
mov esi, dword [edi + 0x20]
test esi, esi
jle 0x6092da
cmp byte [edi + 0x65], 0
jne 0x6092da
fld dword [esp + 0xb0]
fld dword [esp + 0x78]
fdiv st(1)
mov eax, dword [esp + 0x98]
fstp dword [esp + 0x78]
fld dword [esp + 0xb4]
fld dword [esp + 0x7c]
fdiv st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x80]
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fdivr dword [esp + 0x84]
fstp dword [esp + 0x84]
fld dword [eax + ebx*4]
fstp dword [esp + 0x48]
test ebx, ebx
jle 0x60922b
fld dword [eax + ebx*4 - 4]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x609229
fstp dword [esp + 0x48]
jmp 0x60922b
fstp st(0)
fld dword [esp + 0x48]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [esp + 0x4c]
test esi, esi
jle 0x6092b2
xor ecx, ecx
add edx, 4
fld dword [edx]
fmul st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x60926d
fstp st(2)
fxch st(1)
fst dword [esp + 0x50]
fld dword [esp + 0x50]
fxch st(2)
fxch st(1)
cmp byte [esp + 0x74], 0
je 0x6092a3
mov eax, dword [edi + 0x34]
cmp byte [eax + ecx + 0x10], 0
je 0x6092a3
fld dword [esp + 0x4c]
fadd st(0), st(0)
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x6092d6
fstp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fxch st(2)
add edx, 4
add ecx, 0x14
fstp dword [esp + 0x4c]
sub esi, 1
jne 0x609248
fstp st(0)
cmp byte [esp + 0x74], 0
je 0x609335
fld qword [0x6b1930]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x609333
mov ecx, dword [edi + 0x3c]
fld qword [esp + 0x90]
jmp 0x6092e0
fstp st(0)
jmp 0x6092a3
fstp st(1)
jmp 0x6092b4
fxch st(2)
fld dword [esp + 0x78]
inc ecx
fmul st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fmul st(1)
fstp dword [esp + 0x7c]
fld dword [esp + 0x80]
fmul st(1)
fstp dword [esp + 0x80]
fld dword [esp + 0x84]
fmul st(1)
fstp dword [esp + 0x84]
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x6092de
fstp st(1)
mov dword [edi + 0x3c], ecx
fstp st(1)
jmp 0x609335
fstp st(0)
fstp st(0)
lea eax, [edi + 4]
xor ebx, ebx
mov dword [esp + 0x4c], eax
lea esi, [esp + 0xd8]
cmp dword [esi + ebx*4], 0
lea esi, [esi + ebx*4]
je 0x60943b
cmp dword [esp + 0xb8], 0
mov dword [esp + 0x5c], 0
je 0x609373
push ebx
lea ecx, [edi + 0x68]
call fcn.00612970
mov dword [esp + 0x5c], eax
push 0
lea eax, [esp + 0xec]
mov ecx, esi
push eax
call fcn.005f23a0
fld dword [esp + ebx*4 + 0x78]
fstp dword [esp + 0x68]
cmp dword [eax], 0
jne 0x6093d6
lea eax, [esp + 0xec]
mov ecx, esi
push eax
call fcn.005f2570
push dword [ebp + 0x20]
fld dword [esp + 0x6c]
push dword [ebp + 0x1c]
push dword [esp + 0x64]
push ecx
fstp dword [esp]
push dword [esp + 0x84]
lea ecx, [esp + 0x104]
push dword [ebp + 0xc]
push dword [eax]
call fcn.00610100
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, ecx
jmp 0x60943b
fld dword [esp + 0x68]
mov esi, dword [esi]
push 0x2c0
fstp dword [esp + 0xa0]
call fcn.004b2888
add esp, 4
mov dword [esp + 0xa0], eax
test eax, eax
je 0x609404
mov ecx, eax
call fcn.006076b0
jmp 0x609406
xor eax, eax
push dword [ebp + 0x20]
fld dword [esp + 0xa0]
push dword [ebp + 0x1c]
mov dword [esp + 0x70], eax
push dword [esp + 0x64]
push ecx
fstp dword [esp]
push dword [esp + 0x84]
mov ecx, eax
push dword [ebp + 0xc]
push esi
call fcn.00608330
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
inc ebx
add eax, 4
mov dword [esp + 0x4c], eax
cmp ebx, 4
jl 0x609340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c