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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f613
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x45d01c]
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 - 0x170], ecx
cmp dword [ecx + 0x10], 0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x174], edx
je 0x421430
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x421430
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x421430
lea eax, [edi + 0x64]
nop dword [eax]
cmp byte [eax], 0
jne 0x41fde2
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x41fdd0
jmp 0x421430
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00421d90
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.00413ba0
xorps xmm0, xmm0
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x16c], xmm0
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x168], 0
test eax, eax
jne 0x41fe44
xor al, al
jmp 0x41fe62
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41fe5c
cmp eax, 0x80
je 0x41fe5c
xor al, al
jmp 0x41fe62
mov byte [ebp - 0x20], 1
mov al, 1
mov byte [ebp - 0x149], al
mov byte [ebp - 0x168], al
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x14a], 0
push eax
push esi
call fcn.00421660
test al, al
jne 0x41fecf
cmp byte [ebp - 0x14a], al
je 0x41fecf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fec8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov dword [ebp - 0x164], 0
mov byte [ebp - 0x14a], al
mov eax, dword [ebp - 0x154]
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
je 0x421318
xor ecx, ecx
mov dword [ebp - 0x150], ecx
nop dword [eax]
cmp byte [edi + ecx + 0x64], 0
lea esi, [edi + ecx]
je 0x420313
xor ecx, ecx
mov eax, 0x4ec4ec4f
mov dword [ebp - 0x15c], ecx
xor edi, edi
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
imul ecx
mov dword [ebp - 0x158], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41ffaf
mov dword [ebp - 0x160], edi
nop dword [eax]
add edi, dword [ebp - 0x1c]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x41ff5d
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41ff67
mov eax, dword [edi]
push ecx
push eax
call fcn.00435dcf
add esp, 8
test eax, eax
je 0x41ffaf
mov ecx, dword [ebp - 0x18]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x160]
inc dword [ebp - 0x15c]
add edi, 0x68
imul ecx
mov dword [ebp - 0x160], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x15c], eax
jb 0x41ff50
mov edi, dword [ebp - 0x158]
test edi, edi
jne 0x4200b3
xor eax, eax
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0x100], xmm0
movlpd qword [ebp - 0xf8], xmm0
movlpd qword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0xe4], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x42007a
mov ecx, eax
call fcn.0041fba0
mov edx, dword [ebp - 0x18]
add edx, 0x68
mov dword [ebp - 0x18], edx
jmp 0x420086
push eax
lea ecx, [ebp - 0x1c]
call fcn.00422cc0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x4ec4ec4f
sub edx, ecx
imul edx
lea edi, [ecx - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x68
add edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.0041fa60
push edi
lea ecx, [ebp - 0xe0]
call fcn.0040c8d0
mov byte [ebp - 4], 8
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040c8d0
mov byte [ebp - 4], 9
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040c8d0
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x80], eax
mov al, byte [edi + 0x64]
mov byte [ebp - 0x7c], al
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x420148
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42013d
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004076f0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x420165
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x42015c
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004076f0
lea eax, [esi + 0x30]
lea edx, [edi + 0x30]
cmp edx, eax
je 0x420184
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x420179
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.004076f0
mov eax, dword [esi + 0x48]
lea ecx, [ebp - 0xe0]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov esi, edi
mov byte [edi + 0x64], al
cmp dword [ebp - 0xcc], 8
cmovae ecx, dword [ebp - 0xe0]
cmp dword [edi + 0x14], 8
jb 0x4201d2
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0xd0]
jne 0x4202e9
test edx, edx
je 0x420205
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4202e9
add ecx, 2
sub edx, 1
jne 0x4201f0
cmp dword [ebp - 0xb4], 8
lea ecx, [ebp - 0xc8]
lea esi, [edi + 0x18]
cmovae ecx, dword [ebp - 0xc8]
cmp dword [edi + 0x2c], 8
jb 0x420225
mov esi, dword [edi + 0x18]
mov edx, dword [edi + 0x28]
cmp edx, dword [ebp - 0xb8]
jne 0x4202e9
test edx, edx
je 0x420255
sub esi, ecx
nop word [eax + eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4202e9
add ecx, 2
sub edx, 1
jne 0x420240
mov eax, dword [edi + 0x48]
cmp eax, dword [ebp - 0x98]
jne 0x4202e9
mov eax, dword [edi + 0x4c]
cmp eax, dword [ebp - 0x94]
jne 0x4202e9
mov eax, dword [edi + 0x50]
cmp eax, dword [ebp - 0x90]
jne 0x4202e9
mov eax, dword [edi + 0x54]
cmp eax, dword [ebp - 0x8c]
jne 0x4202e9
mov eax, dword [edi + 0x58]
cmp eax, dword [ebp - 0x88]
jne 0x4202e9
mov eax, dword [edi + 0x5c]
cmp eax, dword [ebp - 0x84]
jne 0x4202e9
cmp dword [ebp - 0x9c], 8
lea ecx, [ebp - 0xb0]
lea esi, [edi + 0x30]
cmovae ecx, dword [ebp - 0xb0]
cmp dword [edi + 0x44], 8
jb 0x4202bb
mov esi, dword [edi + 0x30]
mov edx, dword [edi + 0x40]
cmp edx, dword [ebp - 0xa0]
jne 0x4202e9
test edx, edx
je 0x4202e1
sub esi, ecx
nop dword [eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x4202e9
add ecx, 2
sub edx, 1
jne 0x4202d0
mov eax, dword [edi + 0x60]
cmp eax, dword [ebp - 0x80]
je 0x4202f4
mov byte [ebp - 0x14a], 1
mov byte [edi + 0x64], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe0]
call fcn.0041fa60
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
mov edi, dword [eax]
jmp 0x420319
mov eax, dword [ebp - 0x154]
mov esi, dword [ebp - 0x164]
add ecx, 0x68
mov dword [ebp - 0x150], ecx
inc esi
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, edi
mov dword [ebp - 0x164], esi
imul ecx
mov ecx, dword [ebp - 0x150]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x41ff10
cmp byte [ebp - 0x14a], 0
je 0x421318
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x421318
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], 0xc
mov eax, 0x4ec4ec4f
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x158], eax
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebp - 0x158]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x4203f1
cmp ecx, 0x418937
ja 0x42144f
push ecx
lea ecx, [ebp - 0x30]
call fcn.00422490
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ecx, esi
mov dword [ebp - 0x15c], 0
sub ecx, edi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4206c6
xor ecx, ecx
mov dword [ebp - 0x154], ecx
nop
mov eax, dword [edi + ecx + 0x60]
lea esi, [edi + ecx]
mov dword [ebp - 0x158], esi
cmp eax, 1
je 0x420440
cmp eax, 2
je 0x420440
cmp eax, 3
jne 0x42068c
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x55c], 0
lea eax, [ebp - 0x558]
movlpd qword [ebp - 0x190], xmm0
push 0
push eax
movlpd qword [ebp - 0x188], xmm0
movlpd qword [ebp - 0x180], xmm0
mov dword [ebp - 0x178], 0
call fcn.0042a240
push 0x100
lea eax, [ebp - 0x2d8]
push 0
push eax
call fcn.0042a240
push 0x48
lea eax, [ebp - 0x1d8]
push 0
push eax
call fcn.0042a240
mov eax, dword [ebp - 0x2c]
add esp, 0x24
cmp dword [ebp - 0x28], eax
je 0x4204d3
mov ecx, 0xfa
lea esi, [ebp - 0x55c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x2c]
add edx, 0x3e8
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp - 0x158]
jmp 0x4204e6
lea ecx, [ebp - 0x55c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00422ae0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
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 - 0x150], eax
lea edi, [eax + 4]
mov dword [eax], 0x23ab45db
push edi
call fcn.0042a240
mov eax, dword [ebp - 0x150]
push 0x100
add eax, 0x284
push 0
push eax
mov dword [ebp - 0x164], eax
call fcn.0042a240
mov eax, dword [ebp - 0x150]
push 0x48
add eax, 0x384
push 0
push eax
mov dword [ebp - 0x160], eax
call fcn.0042a240
add esp, 0x24
cmp dword [esi + 0x10], 0x13f
ja 0x420592
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x420575
mov ecx, dword [esi]
sub edi, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x420580
jmp 0x4205ab
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42059c
mov eax, dword [esi]
push 0x13e
push eax
push edi
call fcn.0043a12d
add esp, 0xc
cmp dword [esi + 0x28], 0x7f
ja 0x4205d6
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x4205bc
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x164]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x4205c4
jmp 0x4205f2
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x4205e1
mov eax, dword [eax]
push 0x7e
push eax
push dword [ebp - 0x164]
call fcn.0043a12d
add esp, 0xc
cmp dword [esi + 0x40], 0x23
ja 0x420622
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x420603
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x160]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x420610
jmp 0x42063e
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x42062d
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x160]
call fcn.0043a12d
add esp, 0xc
mov ecx, dword [ebp - 0x150]
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 - 0x1c]
mov ecx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x15c]
add ecx, 0x68
mov dword [ebp - 0x154], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x15c], esi
imul ecx
mov ecx, dword [ebp - 0x154]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x420420
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x42083b
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x420736
mov ecx, dword [ebp - 0x28]
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 0x420717
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421454
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4207af
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x420759
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x420748
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x420790
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421459
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x4207ce
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4207ca
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4207f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x421420
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42145e
jmp 0x421416
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0xd
mov ecx, 1
movaps xmm2, xmmword [0x4555f0]
xor eax, eax
mov dword [ebp - 0x78], 0x2d2d4352
mov dword [ebp - 0x74], 0x35343332
mov dword [ebp - 0x70], 0x61534350
mov dword [ebp - 0x6c], 0x2d302e32
mov dword [ebp - 0x68], 0x2d736843
mov dword [ebp - 0x64], 0x61435243
mov dword [ebp - 0x60], 0x38313031
mov dword [ebp - 0x5c], 0x35313032
movd xmm3, ecx
nop dword [eax]
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x78]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x78], xmm1
add eax, 4
cmp eax, 8
jl 0x4208b0
mov ecx, dword [ebp - 0x2c]
mov eax, 0x10624dd3
mov esi, dword [ebp - 0x30]
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x3c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
push ecx
lea ecx, [ebp - 0x78]
push eax
push esi
call fcn.00423d10
test al, al
jne 0x420ac3
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x420959
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x42093a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421463
push edx
push ecx
call fcn.00428145
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4209bd
mov ecx, dword [ebp - 0x28]
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 0x42099e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421468
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x420a37
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4209e1
nop
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x4209d0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x420a18
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42146d
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x420a56
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420a52
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420a79
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x421420
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421472
jmp 0x421416
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
jne 0x420c83
mov byte [ebp - 4], 0xc
test esi, esi
je 0x420b19
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x420afa
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421477
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x420b7d
mov ecx, dword [ebp - 0x28]
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 0x420b5e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42147c
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x420bf7
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x420ba1
nop
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x420b90
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x420bd8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421481
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x420c16
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420c12
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420c39
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x421420
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421486
jmp 0x421416
mov eax, dword [ebp - 0x170]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x420c93
mov ecx, dword [eax]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.00418240
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x420cba
test edi, edi
jne 0x420d6e
push ecx
mov ecx, dword [ebp - 0x170]
push 0x4549cc
call fcn.00417390
cmp eax, 0xffffffff
je 0x420d6e
mov edi, dword [ebp - 0x170]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.00416ef0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x70]
push eax
call fcn.004192b0
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x420d00
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.00418240
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x420d5a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420d50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42148b
push edx
push ecx
call fcn.00428145
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edi, 0xffffffff
je 0x421165
test edi, edi
je 0x421165
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x58]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x58], 0
push eax
push esi
push edi
mov dword [ebp - 0x158], 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 - 0x158]
cmp dword [ebp - 0x58], eax
jne 0x420fdc
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 0x1c]
cmp edx, eax
je 0x420dfb
mov ecx, dword [edx]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [edx + 8], eax
mov dword [ebp - 0x14], ecx
mov edi, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x150], 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 0x420e57
xor esi, esi
nop
mov eax, dword [ebp - 0x174]
lea esi, [esi + 0x68]
inc dword [ebp - 0x150]
mov byte [edi + esi - 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 - 0x150], eax
jb 0x420e20
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x420ea1
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x420e82
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421490
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x420f05
mov ecx, dword [ebp - 0x28]
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 0x420ee6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421495
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x420f7e
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x420f28
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x420f17
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x420f5f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42149a
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x420f9d
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420f99
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x420fc0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407470
mov al, 1
jmp 0x421432
mov byte [ebp - 4], 0xc
test esi, esi
je 0x421026
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x421007
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42149f
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x42108a
mov ecx, dword [ebp - 0x28]
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 0x42106b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214a4
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x42110d
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4210b1
nop dword [eax]
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x4210a0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x4210e8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214a9
push ecx
push esi
call fcn.00428145
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x42112c
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x421128
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x42114b
push eax
call edi
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00407470
jmp 0x421430
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4211af
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x421190
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214ae
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x421213
mov ecx, dword [ebp - 0x28]
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 0x4211f4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214b3
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x42128c
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x421236
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x421225
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x42126d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214b8
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x4212ab
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4212a7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4212ce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x421420
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214bd
jmp 0x421416
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x421397
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x421341
nop word [eax + eax]
mov ecx, esi
call fcn.0041fa60
add esi, 0x68
cmp esi, edi
jne 0x421330
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
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 0x421378
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214c2
push ecx
push esi
call fcn.00428145
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
cmp byte [ebp - 0x149], 0
je 0x4213b6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4213b2
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4213d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x421420
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4214c7
push edx
push ecx
call fcn.00428145
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 0x44], eax
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.00427d5e
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040d260
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
call fcn.0042d453
int3