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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458d94
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x47b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x17c], eax
call fcn.00402400
mov eax, dword [eax + 0x10]
test eax, eax
je 0x406eec
mov edi, dword [esi]
mov edx, dword [esi + 4]
cmp edi, edx
je 0x406eec
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x406eec
lea eax, [edi + 0x64]
cmp byte [eax], 0
jne 0x405e79
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x405e67
jmp 0x406eec
mov esi, dword [ebp - 0x174]
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.00407690
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c560
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x44], 0
test eax, eax
jne 0x405ed8
xor al, al
jmp 0x405ef6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x405ef0
cmp eax, 0x80
je 0x405ef0
xor al, al
jmp 0x405ef6
mov byte [ebp - 0x24], 1
mov al, 1
mov byte [ebp - 0x159], al
mov byte [ebp - 0x44], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x15a]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x15a], 0
push eax
push esi
call fcn.00406f30
test al, al
jne 0x405f5d
cmp byte [ebp - 0x15a], al
je 0x405f5d
mov ecx, esi
call fcn.00402340
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
xor edi, edi
mov byte [ebp - 0x15a], al
mov eax, dword [ebp - 0x170]
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
je 0x4067e0
xor ecx, ecx
mov dword [ebp - 0x160], ecx
nop dword [eax]
cmp byte [ecx + esi + 0x64], 0
lea eax, [ecx + esi]
mov dword [ebp - 0x168], eax
je 0x406370
mov edi, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x178], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x1c]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40603b
xor eax, eax
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x168]
add edi, eax
call fcn.00402340
push eax
mov ecx, edi
call fcn.00402340
push eax
call fcn.0043f701
add esp, 8
test eax, eax
je 0x406039
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
mov edi, dword [ebp - 0x20]
sub ecx, edi
inc dword [ebp - 0x178]
add dword [ebp - 0x16c], 0x68
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x16c]
jb 0x405fe1
jmp 0x40603b
mov esi, edi
test esi, esi
jne 0x4060dc
lea ecx, [ebp - 0x158]
call fcn.00404ea0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], eax
je 0x40607e
push eax
push 0x68
call fcn.00401970
add esp, 8
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.00405c00
mov edx, dword [ebp - 0x1c]
add edx, 0x68
mov dword [ebp - 0x1c], edx
jmp 0x406091
lea ecx, [ebp - 0x158]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00408650
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
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], 6
lea ecx, [ebp - 0x128]
call fcn.00402350
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x140]
call fcn.00402350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.00402350
push esi
lea ecx, [ebp - 0xf0]
call fcn.00403560
mov byte [ebp - 4], 8
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00403560
mov byte [ebp - 4], 9
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00403560
mov byte [ebp - 4], 0xa
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xa8], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x9c], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x90], eax
mov al, byte [esi + 0x64]
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x168]
cmp esi, edi
je 0x406184
mov ecx, edi
call fcn.00402400
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x406179
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00402430
lea ecx, [edi + 0x18]
lea eax, [esi + 0x18]
cmp eax, ecx
je 0x4061a9
call fcn.00402400
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40619d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x18]
call fcn.00402430
lea ecx, [edi + 0x30]
lea eax, [esi + 0x30]
cmp eax, ecx
je 0x4061ce
call fcn.00402400
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4061c2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [esi + 0x30]
call fcn.00402430
mov eax, dword [edi + 0x48]
mov ecx, esi
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov al, byte [edi + 0x64]
mov byte [esi + 0x64], al
call fcn.00402400
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x168], eax
call fcn.00402400
mov dword [ebp - 0x16c], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x406226
mov ecx, dword [eax]
mov eax, dword [ebp - 0x168]
mov edi, eax
cmp dword [eax + 0x14], 8
jb 0x406236
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x16c]
cmp edx, dword [eax + 0x10]
jne 0x406322
test edx, edx
je 0x406265
sub edi, ecx
nop
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x406322
add ecx, 2
sub edx, 1
jne 0x406250
lea ecx, [esi + 0x18]
call fcn.00402400
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x168], eax
call fcn.00402400
mov dword [ebp - 0x16c], eax
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40628e
mov ecx, dword [eax]
mov eax, dword [ebp - 0x168]
mov edi, eax
cmp dword [eax + 0x14], 8
jb 0x40629e
mov edi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x16c]
cmp edx, dword [eax + 0x10]
jne 0x406322
test edx, edx
je 0x4062c3
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x406322
add ecx, 2
sub edx, 1
jne 0x4062b2
mov eax, dword [esi + 0x48]
cmp eax, dword [ebp - 0xa8]
jne 0x406322
mov eax, dword [esi + 0x4c]
cmp eax, dword [ebp - 0xa4]
jne 0x406322
mov eax, dword [esi + 0x50]
cmp eax, dword [ebp - 0xa0]
jne 0x406322
mov eax, dword [esi + 0x54]
cmp eax, dword [ebp - 0x9c]
jne 0x406322
mov eax, dword [esi + 0x58]
cmp eax, dword [ebp - 0x98]
jne 0x406322
mov eax, dword [esi + 0x5c]
cmp eax, dword [ebp - 0x94]
jne 0x406322
lea edx, [ebp - 0xc0]
lea ecx, [esi + 0x30]
call fcn.00408240
test al, al
jne 0x406322
mov eax, dword [esi + 0x60]
cmp eax, dword [ebp - 0x90]
je 0x40632d
mov byte [ebp - 0x15a], 1
mov byte [esi + 0x64], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc0]
call fcn.00402350
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd8]
call fcn.00402350
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.00402350
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x160]
mov edi, dword [ebp - 0x164]
mov esi, dword [eax]
jmp 0x406376
mov eax, dword [ebp - 0x170]
add ecx, 0x68
inc edi
mov dword [ebp - 0x160], ecx
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, esi
mov dword [ebp - 0x164], edi
imul ecx
mov ecx, dword [ebp - 0x160]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x405fa0
cmp byte [ebp - 0x15a], 0
je 0x4067e0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x4067e0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xf
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov edi, dword [ebp - 0x20]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x164], eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x164], eax
jbe 0x406475
mov dword [ebp - 0x168], 0x418937
call fcn.00401980
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00402620
mov ecx, dword [ebp - 0x164]
add esp, 8
mov eax, dword [eax]
cmp ecx, eax
ja 0x406f0e
push ecx
lea ecx, [ebp - 0x34]
call fcn.00407d60
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebp - 0x16c], 0
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x406770
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov eax, dword [ecx + edi + 0x60]
lea esi, [ecx + edi]
mov dword [ebp - 0x164], esi
cmp eax, 1
je 0x4064c2
cmp eax, 2
je 0x4064c2
cmp eax, 3
jne 0x406736
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x568], 0
lea eax, [ebp - 0x564]
movlpd qword [ebp - 0x19c], xmm0
push 0
push eax
movlpd qword [ebp - 0x194], xmm0
movlpd qword [ebp - 0x18c], xmm0
mov dword [ebp - 0x184], 0
call fcn.0043d5c0
add esp, 0xc
lea eax, [ebp - 0x2e4]
push 0x100
push 0
push eax
call fcn.0043d5c0
add esp, 0xc
lea eax, [ebp - 0x1e4]
push 0x48
push 0
push eax
call fcn.0043d5c0
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x2c], eax
je 0x406569
push eax
push 0x3e8
call fcn.00401970
mov ecx, 0xfa
lea esi, [ebp - 0x568]
mov edi, eax
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x30]
add edx, 0x3e8
mov dword [ebp - 0x30], edx
mov esi, dword [ebp - 0x164]
jmp 0x40657c
lea ecx, [ebp - 0x568]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00408460
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, 0x10624dd3
sub edx, ecx
add ecx, 0xfffffc18
imul edx
push 0x280
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add eax, ecx
push 0
mov dword [ebp - 0x160], eax
lea edi, [eax + 4]
mov dword [eax], 0x23ab45db
push edi
call fcn.0043d5c0
mov eax, dword [ebp - 0x160]
add esp, 0xc
add eax, 0x284
mov dword [ebp - 0x164], eax
push 0x100
push 0
push eax
call fcn.0043d5c0
mov eax, dword [ebp - 0x160]
add esp, 0xc
add eax, 0x384
mov dword [ebp - 0x168], eax
push 0x48
push 0
push eax
call fcn.0043d5c0
add esp, 0xc
mov ecx, esi
call fcn.00402400
mov ecx, esi
mov eax, dword [eax + 0x10]
cmp eax, 0x13f
ja 0x406632
call fcn.00402340
mov ecx, eax
sub edi, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x406620
jmp 0x406646
push 0x13e
call fcn.00402340
push eax
push edi
call fcn.0043faf6
add esp, 0xc
lea ecx, [esi + 0x18]
call fcn.00402400
lea ecx, [esi + 0x18]
mov eax, dword [eax + 0x10]
cmp eax, 0x7f
ja 0x406682
call fcn.00402340
mov edx, dword [ebp - 0x164]
mov ecx, eax
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x406670
jmp 0x406698
push 0x7e
call fcn.00402340
push eax
push dword [ebp - 0x164]
call fcn.0043faf6
add esp, 0xc
lea ecx, [esi + 0x30]
call fcn.00402400
lea ecx, [esi + 0x30]
mov eax, dword [eax + 0x10]
cmp eax, 0x23
ja 0x4066d2
call fcn.00402340
mov edx, dword [ebp - 0x168]
mov ecx, eax
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4066c0
jmp 0x4066e8
push 0x23
call fcn.00402340
push eax
push dword [ebp - 0x168]
call fcn.0043faf6
add esp, 0xc
mov ecx, dword [ebp - 0x160]
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x3cc], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx + 0x3d0], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 0x3d4], eax
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x3d8], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x3dc], eax
mov eax, dword [esi + 0x5c]
mov dword [ecx + 0x3e0], eax
mov eax, dword [esi + 0x60]
mov dword [ecx + 0x3e4], eax
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
add ecx, 0x68
mov dword [ebp - 0x170], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x1c]
inc esi
sub ecx, edi
mov dword [ebp - 0x16c], esi
imul ecx
mov ecx, dword [ebp - 0x170]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4064a2
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x30]
jne 0x40683e
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4067e0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x4067c1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f13
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x406e95
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00408a00
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x20]
add esp, 4
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 0x406e76
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f18
jmp 0x406e76
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x10
mov ecx, 1
movaps xmm2, xmmword [0x4716c0]
xor eax, eax
mov dword [ebp - 0x6c], 0x2d2d4352
mov dword [ebp - 0x68], 0x35343332
mov dword [ebp - 0x64], 0x61534350
mov dword [ebp - 0x60], 0x2d302e32
mov dword [ebp - 0x5c], 0x2d736843
mov dword [ebp - 0x58], 0x61435243
mov dword [ebp - 0x54], 0x38313031
mov dword [ebp - 0x50], 0x35313032
movd xmm3, ecx
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x6c]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x6c], xmm1
add eax, 4
cmp eax, 8
jl 0x4068b0
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x34]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x40]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x6c]
push eax
push esi
call fcn.004108f0
test al, al
jne 0x4069ab
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x406959
mov edx, dword [ebp - 0x38]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40693a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f1d
push edx
push ecx
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4067e0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x4067c1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
jmp 0x4067c1
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x3c]
jne 0x4069e5
mov byte [ebp - 4], 0xf
test esi, esi
je 0x406959
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4069de
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f27
push ecx
push esi
jmp 0x40693c
push ecx
push 0x80
push 4
push ecx
mov ecx, dword [ebp - 0x174]
push 0
call fcn.00402340
mov edx, 0x40000000
mov ecx, eax
call fcn.0040aa90
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x406a15
test edi, edi
jne 0x406a7c
push ecx
mov ecx, dword [ebp - 0x174]
push 0x46e640
call fcn.00404580
cmp eax, 0xffffffff
je 0x406a7c
mov ecx, dword [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.00404490
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x64]
call fcn.004041d0
push ecx
push 0x80
push 4
push ecx
mov ecx, dword [ebp - 0x174]
push 0
call fcn.00402340
mov edx, 0x40000000
mov ecx, eax
call fcn.0040aa90
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x64]
call fcn.00402350
cmp edi, 0xffffffff
je 0x406e3e
test edi, edi
je 0x406e3e
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x4c]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x4c], 0
push eax
push esi
push edi
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x164]
cmp dword [ebp - 0x4c], eax
jne 0x406ce3
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x20]
cmp edx, eax
je 0x406b09
mov ecx, dword [edx]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [ebp - 0x18], ecx
mov edi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [edx + 4]
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x406b67
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 0x17c]
lea esi, [esi + 0x68]
inc dword [ebp - 0x160]
mov byte [esi + edi - 4], 0
mov ecx, dword [eax + 4]
mov edi, dword [eax]
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x160], eax
jb 0x406b30
mov esi, dword [ebp - 0x40]
mov byte [ebp - 4], 0xf
test esi, esi
je 0x406bb1
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x406b92
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x406c15
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x406bf6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x406c85
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00408a00
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x20]
add esp, 4
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 0x406c66
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x406ca4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406ca0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406cc4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00402350
mov al, 1
jmp 0x406eee
mov byte [ebp - 4], 0xf
test esi, esi
je 0x406d2d
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x406d0e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x406d91
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x3e8
mov eax, esi
cmp ecx, 0x1000
jb 0x406d72
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x406e01
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00408a00
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x20]
add esp, 4
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 0x406de2
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x406e20
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406e1c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406ed4
push eax
call edi
jmp 0x406ecd
mov byte [ebp - 4], 0xf
test esi, esi
je 0x406959
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4069de
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4069de
jmp 0x406f22
push ecx
push esi
call fcn.0043b959
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x159], 0
je 0x406eb4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406eb0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x406ed4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00402350
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b918
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00403690
call fcn.0043faa6
call fcn.0043faa6
call fcn.0043faa6
call fcn.0043faa6
call fcn.0043faa6
int3