Function at 0x471b30
Capabilities:
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca4f9
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x66e5c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x178], 0
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x17c], edx
je 0x47280a
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x47280a
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x47280a
lea eax, [edi + 0x64]
cmp byte [eax], 0
jne 0x471bc9
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x471bb7
jmp 0x47280a
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00473c30
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.004663f0
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x5c], 0
test eax, eax
jne 0x471c22
xor al, al
jmp 0x471c40
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x471c3a
cmp eax, 0x80
je 0x471c3a
xor al, al
jmp 0x471c40
mov byte [ebp - 0x14], 1
mov al, 1
mov byte [ebp - 0x155], al
mov byte [ebp - 0x5c], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x156]
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 0x156], 0
push eax
push esi
call fcn.00473440
test al, al
jne 0x471caa
cmp byte [ebp - 0x156], al
je 0x471caa
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x471ca3
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x174]
xor al, al
mov byte [ebp - 0x156], al
xor edi, edi
mov eax, 0x4ec4ec4f
mov dword [ebp - 0x164], edi
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x473210
nop
imul edi, edi, 0x68
add edi, esi
cmp byte [edi + 0x64], 0
je 0x472394
mov esi, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x471d7c
xor eax, eax
mov dword [ebp - 0x15c], eax
nop word [eax + eax]
add esi, eax
mov ecx, edi
cmp dword [edi + 0x14], 7
jbe 0x471d2c
mov ecx, dword [edi]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x471d36
mov eax, dword [esi]
push ecx
push eax
call fcn.004e4a9e
add esp, 8
test eax, eax
je 0x471fc1
mov ecx, dword [ebp - 0x20]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x24]
sub ecx, esi
inc dword [ebp - 0x160]
add dword [ebp - 0x15c], 0x68
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x15c]
jb 0x471d20
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 0xa
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 8
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 0xe
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0xf
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
movlpd qword [ebp - 0x94], xmm0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xec]
mov eax, dword [ebp - 0x20]
push ecx
cmp eax, dword [ebp - 0x1c]
je 0x471e70
mov ecx, eax
call fcn.00471980
mov edx, dword [ebp - 0x20]
add edx, 0x68
mov dword [ebp - 0x20], edx
jmp 0x471e7c
push eax
lea ecx, [ebp - 0x24]
call fcn.00474aa0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, 0x4ec4ec4f
sub edx, ecx
imul edx
lea esi, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add esi, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xa8]
cmp ecx, 7
jbe 0x471ede
mov edx, dword [ebp - 0xbc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x471ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732aa
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xc0]
cmp ecx, 7
jbe 0x471f3f
mov edx, dword [ebp - 0xd4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x471f35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732aa
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xd8]
cmp ecx, 7
jbe 0x471fa0
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x471f96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732aa
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x154]
call fcn.0044e890
mov byte [ebp - 4], 0x17
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0044e890
mov byte [ebp - 4], 0x18
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x124]
call fcn.0044e890
mov byte [ebp - 4], 0x19
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x15c], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x19c], ecx
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x1a0], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x1a4], ecx
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x1ac], eax
mov al, byte [esi + 0x64]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 0xf0], al
mov byte [ebp - 4], 0x1a
cmp esi, edi
je 0x472086
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x47207b
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, esi
push eax
call fcn.0044e9f0
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
cmp ecx, eax
je 0x4720a2
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x47209b
mov eax, dword [eax]
push edx
push eax
call fcn.0044e9f0
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
cmp ecx, eax
je 0x4720be
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4720b7
mov eax, dword [eax]
push edx
push eax
call fcn.0044e9f0
mov eax, dword [edi + 0x48]
lea edx, [ebp - 0x154]
mov ecx, dword [edi + 0x4c]
cmp dword [ebp - 0x140], 7
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov al, byte [edi + 0x64]
mov byte [esi + 0x64], al
mov eax, dword [ebp - 0x154]
cmova edx, eax
cmp dword [esi + 0x14], 7
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov eax, esi
jbe 0x472114
mov eax, dword [esi]
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x168], ecx
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x160], ecx
cmp edi, dword [ebp - 0x144]
jne 0x472265
test edi, edi
je 0x472168
sub eax, edx
mov dword [ebp - 0x16c], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x472265
mov eax, dword [ebp - 0x16c]
add edx, 2
sub edi, 1
jne 0x472144
mov ecx, dword [ebp - 0x160]
cmp dword [ebp - 0x128], 7
lea eax, [esi + 0x18]
mov edi, dword [eax + 0x10]
lea edx, [ebp - 0x13c]
cmova edx, ecx
cmp dword [eax + 0x14], 7
jbe 0x472186
mov eax, dword [eax]
cmp edi, dword [ebp - 0x12c]
jne 0x472265
test edi, edi
je 0x4721be
sub eax, edx
mov dword [ebp - 0x16c], eax
nop
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x472265
mov eax, dword [ebp - 0x16c]
add edx, 2
sub edi, 1
jne 0x4721a0
mov eax, dword [ebp - 0x15c]
cmp dword [esi + 0x48], eax
jne 0x472265
mov eax, dword [ebp - 0x19c]
cmp dword [esi + 0x4c], eax
jne 0x472265
mov eax, dword [ebp - 0x1a0]
cmp dword [esi + 0x50], eax
jne 0x472265
mov eax, dword [ebp - 0x1a4]
cmp dword [esi + 0x54], eax
jne 0x472265
mov eax, dword [ebp - 0x1a8]
cmp dword [esi + 0x58], eax
jne 0x472265
mov eax, dword [ebp - 0x180]
cmp dword [esi + 0x5c], eax
jne 0x472265
cmp dword [ebp - 0x110], 7
lea eax, [esi + 0x30]
mov edi, dword [eax + 0x10]
lea edx, [ebp - 0x124]
cmova edx, dword [ebp - 0x168]
cmp dword [eax + 0x14], 7
jbe 0x47222a
mov eax, dword [eax]
cmp edi, dword [ebp - 0x114]
jne 0x472265
test edi, edi
je 0x47225a
sub eax, edx
mov dword [ebp - 0x180], eax
nop
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x472265
mov eax, dword [ebp - 0x180]
add edx, 2
sub edi, 1
jne 0x472240
mov eax, dword [ebp - 0x1ac]
cmp dword [esi + 0x60], eax
je 0x472270
mov byte [ebp - 0x156], 1
mov byte [esi + 0x64], 1
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x110]
cmp eax, 7
jbe 0x4722b4
mov edx, dword [ebp - 0x168]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4722aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x128]
cmp eax, 7
jbe 0x472315
mov edx, dword [ebp - 0x160]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47230b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x140]
cmp eax, 7
jbe 0x472373
mov edx, dword [ebp - 0x34]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x472369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 7
mov word [ebp - 0x154], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x174]
mov edi, dword [ebp - 0x164]
inc edi
mov dword [ebp - 0x164], edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x471ce0
cmp byte [ebp - 0x156], 0
je 0x473210
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x473210
xor eax, eax
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], eax
movq qword [ebp - 0x40], xmm0
xor esi, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x22
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], eax
je 0x472465
cmp eax, 0x418937
ja 0x4732a5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x40]
call fcn.00474280
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x20]
mov eax, 0x4ec4ec4f
sub ecx, edi
mov dword [ebp - 0x16c], 0
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x472747
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov eax, dword [edi + ecx + 0x60]
lea esi, [edi + ecx]
mov dword [ebp - 0x34], esi
cmp eax, 1
je 0x4724b0
cmp eax, 2
je 0x4724b0
cmp eax, 3
jne 0x472707
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x594], 0
lea eax, [ebp - 0x590]
movlpd qword [ebp - 0x1c8], xmm0
push 0
push eax
movlpd qword [ebp - 0x1c0], xmm0
movlpd qword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x1b0], 0
call fcn.004ce740
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004ce740
push 0x48
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004ce740
mov eax, dword [ebp - 0x15c]
add esp, 0x24
cmp eax, dword [ebp - 0x164]
je 0x472548
mov edi, eax
lea esi, [ebp - 0x594]
mov ecx, 0xfa
add eax, 0x3e8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x160]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x34]
jmp 0x47256d
lea ecx, [ebp - 0x594]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.004747b0
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x160], edi
mov ecx, eax
mov dword [ebp - 0x15c], eax
sub ecx, edi
mov eax, 0x10624dd3
imul ecx
push 0x280
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push 0
add eax, 0xfffffc18
add edi, eax
lea eax, [edi + 4]
mov dword [edi], 0x23ab45db
push eax
mov dword [ebp - 0x174], eax
call fcn.004ce740
push 0x100
lea eax, [edi + 0x284]
push 0
push eax
call fcn.004ce740
push 0x48
lea eax, [edi + 0x384]
push 0
push eax
call fcn.004ce740
mov edx, dword [esi + 0x14]
add esp, 0x24
cmp dword [esi + 0x10], 0x13f
ja 0x472606
mov ecx, esi
cmp edx, 7
jbe 0x4725ec
mov ecx, dword [esi]
mov edx, dword [ebp - 0x174]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x4725f4
jmp 0x472623
mov eax, esi
cmp edx, 7
jbe 0x47260f
mov eax, dword [esi]
push 0x13e
push eax
push dword [ebp - 0x174]
call fcn.004dd49f
add esp, 0xc
cmp dword [esi + 0x28], 0x7f
lea ecx, [esi + 0x18]
ja 0x472655
cmp dword [ecx + 0x14], 7
jbe 0x472634
mov ecx, dword [ecx]
mov edx, edi
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx + 0x282], ax
test ax, ax
jne 0x472640
jmp 0x47266f
cmp dword [ecx + 0x14], 7
jbe 0x47265d
mov ecx, dword [ecx]
push 0x7e
push ecx
lea eax, [edi + 0x284]
push eax
call fcn.004dd49f
add esp, 0xc
cmp dword [esi + 0x40], 0x23
lea ecx, [esi + 0x30]
ja 0x4726a5
cmp dword [ecx + 0x14], 7
jbe 0x472680
mov ecx, dword [ecx]
mov edx, edi
sub edx, ecx
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx + 0x382], ax
test ax, ax
jne 0x472690
jmp 0x4726bf
cmp dword [ecx + 0x14], 7
jbe 0x4726ad
mov ecx, dword [ecx]
push 0x23
push ecx
lea eax, [edi + 0x384]
push eax
call fcn.004dd49f
add esp, 0xc
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x3d0], ecx
mov dword [edi + 0x3cc], eax
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x3d8], ecx
mov dword [edi + 0x3d4], eax
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x3e0], ecx
mov ecx, dword [ebp - 0x168]
mov dword [edi + 0x3dc], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x3e4], eax
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x16c]
add ecx, 0x68
mov dword [ebp - 0x168], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x20]
inc esi
sub ecx, edi
mov dword [ebp - 0x16c], esi
imul ecx
mov ecx, dword [ebp - 0x168]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x472493
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x160]
cmp edi, esi
jne 0x472829
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00473f70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00473fe0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x47278c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472788
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4727ac
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x23
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4727f3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4727e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ed9
mov esp, ebp
pop ebp
ret 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0x24
xor eax, eax
movaps xmm2, xmmword [0x6566e0]
mov dword [ebp - 0x84], 0x2d2d4352
mov dword [ebp - 0x80], 0x746c756d
mov dword [ebp - 0x7c], 0x72504350
mov dword [ebp - 0x78], 0x2d302e32
mov dword [ebp - 0x74], 0x2d736843
mov dword [ebp - 0x70], 0x61435243
mov dword [ebp - 0x6c], 0x38313031
mov dword [ebp - 0x68], 0x35313032
nop word [eax + eax]
movups xmm1, xmmword [ebp + eax*4 - 0x84]
movd xmm0, eax
pslld xmm1, 1
pshufd xmm0, xmm0, 0
paddd xmm1, xmm0
paddd xmm1, xmm2
movups xmmword [ebp + eax*4 - 0x84], xmm1
add eax, 4
cmp eax, 8
jl 0x4728a0
sub esi, edi
lea ecx, [ebp - 0x30]
mov eax, 0x10624dd3
imul esi
push ecx
sar edx, 6
lea ecx, [ebp - 0x84]
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push eax
push edi
call fcn.00477500
test al, al
jne 0x4729b6
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x47294d
mov edx, dword [ebp - 0x28]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47292e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push edx
push ecx
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00473f70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00473fe0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x472984
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472980
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4729a4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x25
jmp 0x4727b9
mov esi, dword [ebp - 0x30]
cmp esi, dword [ebp - 0x2c]
jne 0x472b3a
mov byte [ebp - 4], 0x22
test esi, esi
je 0x472a0c
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4729ed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x472a70
mov ecx, dword [ebp - 0x164]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x472a51
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x472ae9
mov edi, dword [ebp - 0x20]
cmp esi, edi
je 0x472a93
mov ecx, esi
call fcn.00471830
add esi, 0x68
cmp esi, edi
jne 0x472a82
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x472aca
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x472b08
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472b04
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472b28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x26
jmp 0x4727b9
mov ecx, dword [ebp - 0x170]
mov eax, ecx
cmp dword [ecx + 0x14], 7
jbe 0x472b4a
mov eax, dword [ecx]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x15c], eax
cmp eax, 0xffffffff
je 0x472b76
test eax, eax
jne 0x472cc5
mov ecx, dword [ebp - 0x170]
push 0xffffffffffffffff
push 0x655ac0
call fcn.00474060
cmp eax, 0xffffffff
je 0x472cae
mov ecx, dword [ebp - 0x170]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.00460340
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x198]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x184], 0
movups xmmword [ebp - 0x198], xmm0
push eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
mov dword [ebp - 0x178], 1
call fcn.004af590
add esp, 8
lea ecx, [ebp - 0x198]
call fcn.00464ca0
mov eax, 1
mov dword [ebp - 0x178], eax
and eax, 0xfffffffe
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x472c5a
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x472c50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732aa
push ecx
push edx
call fcn.004c427d
add esp, 8
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
cmp dword [eax + 0x14], 7
jbe 0x472c83
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x7c]
call fcn.0044e770
mov eax, dword [ebp - 0x15c]
cmp eax, 0xffffffff
je 0x473098
test eax, eax
je 0x473098
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x64], 0
push eax
push esi
push dword [ebp - 0x15c]
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x64], eax
jne 0x472f70
mov ecx, dword [ebp - 0x17c]
lea eax, [ebp - 0x24]
push eax
call fcn.00468880
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov ecx, dword [ebp - 0x17c]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], eax
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x472d9d
mov esi, dword [ebp - 0x34]
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebp - 0x17c]
lea edi, [edi + 0x68]
inc dword [ebp - 0x168]
mov byte [edi + esi - 4], 0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x168], eax
jb 0x472d60
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x160]
mov byte [ebp - 4], 0x22
test esi, esi
je 0x472de7
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x472dc8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x472e4b
mov ecx, dword [ebp - 0x164]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x472e2c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x472ec7
mov edi, dword [ebp - 0x20]
cmp esi, edi
je 0x472e71
nop dword [eax]
mov ecx, esi
call fcn.00471830
add esi, 0x68
cmp esi, edi
jne 0x472e60
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x472ea8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x472ee6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472ee2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x472f07
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x472f4e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x472f44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edx
call fcn.004c427d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x47280c
mov byte [ebp - 4], 0x22
test esi, esi
je 0x472fba
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x472f9b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x47301e
mov ecx, dword [ebp - 0x164]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x472fff
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00473fe0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x473049
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x473045
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47306a
push eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x2b
mov eax, dword [ebp - 0x44]
cmp eax, 7
jbe 0x4727f3
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x58]
push eax
call fcn.0044ece0
add esp, 0xc
jmp 0x4727f3
mov byte [ebp - 4], 0x22
test esi, esi
je 0x4730e2
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4730c3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 3
test edi, edi
je 0x473146
mov ecx, dword [ebp - 0x164]
mov eax, 0x10624dd3
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, edi
cmp ecx, 0x1000
jb 0x473127
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push edi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4731bf
mov edi, dword [ebp - 0x20]
cmp esi, edi
je 0x473169
mov ecx, esi
call fcn.00471830
add esi, 0x68
cmp esi, edi
jne 0x473158
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x68
mov eax, esi
cmp ecx, 0x1000
jb 0x4731a0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4732a0
push ecx
push esi
call fcn.004c427d
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x4731de
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4731da
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4731fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x29
jmp 0x4727b9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00473fe0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x155], 0
je 0x47323b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x473237
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x47325b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0x21
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x4727f3
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4727e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4727e9
call fcn.004d85ca
call fcn.0044f290
call fcn.004d85ca
int3