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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cc80
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x439008]
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 - 0x168], eax
mov dword [ebp - 0x178], edx
je 0x418b78
mov edi, dword [eax]
mov edx, dword [eax + 4]
cmp edi, edx
je 0x418b78
sub edx, edi
mov eax, 0x4ec4ec4f
imul edx
xor ecx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x418b78
lea eax, [edi + 0x64]
nop dword [eax]
cmp byte [eax], 0
jne 0x417612
inc ecx
add eax, 0x68
cmp ecx, esi
jb 0x417600
jmp 0x418b78
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.004192d0
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.00414360
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x5c]
movlpd qword [ebp - 0x5c], xmm0
call fcn.0040cc60
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 - 0x151]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x151], 0
push eax
push esi
call fcn.00418ba0
test al, al
jne 0x4176c3
cmp byte [ebp - 0x151], al
je 0x4176c3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4176bc
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov dword [ebp - 0x16c], 0
mov byte [ebp - 0x151], al
mov eax, dword [ebp - 0x168]
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 0x418a7b
xor ecx, ecx
mov dword [ebp - 0x158], ecx
cmp byte [edi + ecx + 0x64], 0
lea esi, [edi + ecx]
je 0x417a98
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 - 0x174], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4177a0
mov dword [ebp - 0x160], edi
nop
add edi, dword [ebp - 0x1c]
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x41774d
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x417757
mov eax, dword [edi]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4177a0
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 0x417740
mov edi, dword [ebp - 0x174]
test edi, edi
jne 0x4178a4
xor eax, eax
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe8]
mov eax, dword [ebp - 0x18]
push ecx
cmp dword [ebp - 0x14], eax
je 0x41786b
mov ecx, eax
call fcn.004173d0
mov edx, dword [ebp - 0x18]
add edx, 0x68
mov dword [ebp - 0x18], edx
jmp 0x417877
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041a2e0
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 - 0xe8]
call fcn.00417290
push edi
lea ecx, [ebp - 0x150]
call fcn.00408e20
mov byte [ebp - 4], 8
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x138]
call fcn.00408e20
mov byte [ebp - 4], 9
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x120]
call fcn.00408e20
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x104], eax
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0xf8], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0xf4], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0xf0], eax
mov al, byte [edi + 0x64]
mov byte [ebp - 0xec], al
mov byte [ebp - 4], 0xb
cmp edi, esi
je 0x41793f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417934
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.004067e0
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x41795c
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x417953
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004067e0
lea eax, [esi + 0x30]
lea ecx, [edi + 0x30]
cmp ecx, eax
je 0x417979
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x417970
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.004067e0
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x150]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x48], eax
mov dword [ebp - 0x174], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x160], ecx
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], eax
mov dword [ebp - 0x15c], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x17c], ecx
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x5c], ecx
mov dword [ebp - 0x180], eax
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x164], eax
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov dword [ebp - 0x184], ecx
mov ecx, edi
mov byte [edi + 0x64], al
call fcn.0040bfd0
test al, al
jne 0x417a6e
lea edx, [ebp - 0x138]
lea ecx, [edi + 0x18]
call fcn.0040bfd0
test al, al
jne 0x417a6e
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x108]
jne 0x417a6e
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x104]
jne 0x417a6e
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x100]
jne 0x417a6e
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0xfc]
jne 0x417a6e
mov eax, dword [ebp - 0x180]
cmp eax, dword [ebp - 0xf8]
jne 0x417a6e
mov eax, dword [ebp - 0x184]
cmp eax, dword [ebp - 0xf4]
jne 0x417a6e
lea edx, [ebp - 0x120]
lea ecx, [edi + 0x30]
call fcn.0040bfd0
test al, al
jne 0x417a6e
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0xf0]
je 0x417a79
mov byte [ebp - 0x151], 1
mov byte [edi + 0x64], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x150]
call fcn.00417290
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x158]
mov edi, dword [eax]
jmp 0x417a9e
mov eax, dword [ebp - 0x168]
mov esi, dword [ebp - 0x16c]
add ecx, 0x68
mov dword [ebp - 0x158], ecx
inc esi
mov ecx, dword [eax + 4]
mov eax, 0x4ec4ec4f
sub ecx, edi
mov dword [ebp - 0x16c], esi
imul ecx
mov ecx, dword [ebp - 0x158]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x417701
cmp byte [ebp - 0x151], 0
je 0x418a7b
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x418a7b
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 - 0x164], eax
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [ebp - 0x164]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x417b76
cmp ecx, 0x418937
ja 0x418b97
push ecx
lea ecx, [ebp - 0x30]
call fcn.00419aa0
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 0x417e51
xor ecx, ecx
mov dword [ebp - 0x158], ecx
mov eax, dword [edi + ecx + 0x60]
lea esi, [edi + ecx]
mov dword [ebp - 0x164], esi
cmp eax, 1
je 0x417bc3
cmp eax, 2
je 0x417bc3
cmp eax, 3
jne 0x417e17
push 0x280
xorps xmm0, xmm0
mov dword [ebp - 0x56c], 0
lea eax, [ebp - 0x568]
movlpd qword [ebp - 0x1a0], xmm0
push 0
push eax
movlpd qword [ebp - 0x198], xmm0
movlpd qword [ebp - 0x190], xmm0
mov dword [ebp - 0x188], 0
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [ebp - 0x2e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x48
lea eax, [ebp - 0x1e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0x24
cmp dword [ebp - 0x28], eax
je 0x417c56
mov ecx, 0xfa
lea esi, [ebp - 0x56c]
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 - 0x164]
jmp 0x417c69
lea ecx, [ebp - 0x56c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a100
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, 0x10624dd3
sub edx, ecx
imul edx
lea edi, [ecx - 0x3e8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3e8
add edi, eax
push 0x280
push 0
lea eax, [edi + 4]
mov dword [edi], 0x23ab45db
push eax
mov dword [ebp - 0x16c], eax
call sub.VCRUNTIME140.dll_memset
push 0x100
lea eax, [edi + 0x284]
push 0
push eax
mov dword [ebp - 0x160], eax
call sub.VCRUNTIME140.dll_memset
push 0x48
lea eax, [edi + 0x384]
push 0
push eax
mov dword [ebp - 0x168], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
cmp dword [esi + 0x10], 0x13f
ja 0x417d12
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x417cee
mov ecx, dword [esi]
mov edx, dword [ebp - 0x16c]
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 0x417d00
jmp 0x417d31
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417d1c
mov eax, dword [esi]
push 0x13e
push eax
push dword [ebp - 0x16c]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
cmp dword [esi + 0x28], 0x7f
ja 0x417d62
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x417d42
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x160]
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 0x417d50
jmp 0x417d7f
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x417d6d
mov eax, dword [eax]
push 0x7e
push eax
push dword [ebp - 0x160]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
cmp dword [esi + 0x40], 0x23
ja 0x417db2
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x417d90
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x168]
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 0x417da0
jmp 0x417dcf
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x417dbd
mov eax, dword [eax]
push 0x23
push eax
push dword [ebp - 0x168]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0x158]
mov dword [edi + 0x3cc], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x3d0], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x3d4], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x3d8], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x3dc], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x3e0], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x3e4], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x15c]
add ecx, 0x68
mov dword [ebp - 0x158], 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 - 0x158]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x417ba3
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jne 0x417fae
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x417ec3
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 0x417ea4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417ea4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x417f3e
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x417ee6
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x417ed5
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 0x417f1f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x417f1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x417f63
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 0x418b68
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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 [0x432ad0]
xor eax, eax
mov dword [ebp - 0x80], 0x2d2d4352
mov dword [ebp - 0x7c], 0x35343332
mov dword [ebp - 0x78], 0x61534350
mov dword [ebp - 0x74], 0x2d302e32
mov dword [ebp - 0x70], 0x2d736843
mov dword [ebp - 0x6c], 0x61435243
mov dword [ebp - 0x68], 0x38313031
mov dword [ebp - 0x64], 0x35313032
movd xmm3, ecx
movd xmm0, eax
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [ebp + eax*4 - 0x80]
paddd xmm1, xmm2
pslld xmm0, xmm3
paddd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x80], xmm1
add eax, 4
cmp eax, 8
jl 0x418020
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 - 0x80]
push eax
push esi
call fcn.00427820
test al, al
jne 0x41821c
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4180cb
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4180ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4180ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042963a
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 0x418131
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 0x418112
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418112
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x4181ac
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x418154
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x418143
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 0x41818d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41818d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4181d1
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 0x418b68
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x38]
jne 0x4183c9
mov byte [ebp - 4], 0xc
test esi, esi
je 0x418274
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x418255
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418255
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x4182da
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 0x4182bb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4182bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x418359
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x418301
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x4182f0
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 0x41833a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41833a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41837e
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 0x418b68
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x170]
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4183d9
mov ecx, dword [eax]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
call fcn.00411bd0
mov edi, eax
add esp, 0x14
cmp edi, 0xffffffff
je 0x418400
test edi, edi
jne 0x4184b2
push ecx
mov ecx, dword [ebp - 0x170]
push 0x4317c4
call fcn.0040fd20
cmp eax, 0xffffffff
je 0x4184b2
mov edi, dword [ebp - 0x170]
mov ecx, edi
push eax
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.0040acc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.00411360
cmp dword [edi + 0x14], 8
jb 0x418442
mov edi, dword [edi]
push ecx
push 0x80
push 4
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.00411bd0
add esp, 0x14
mov edi, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x41849e
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418494
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418494
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042963a
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edi, 0xffffffff
je 0x4188da
test edi, edi
je 0x4188da
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x60]
push 0
push ecx
sub eax, esi
mov dword [ebp - 0x60], 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 - 0x60], eax
jne 0x418762
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x1c]
cmp edx, eax
je 0x41853f
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 - 0x158], 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 0x4185a7
xor esi, esi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x178]
lea esi, [esi + 0x68]
inc dword [ebp - 0x158]
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 - 0x158], eax
jb 0x418570
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4185f3
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x4185d4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4185d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x418659
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 0x41863a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41863a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x4186d9
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x418681
nop
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x418670
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 0x4186ba
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4186ba
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4186fe
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 0x418747
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41873d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41873d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042963a
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov al, 1
mov dword [ebp - 0x40], 7
jmp 0x418b7a
mov byte [ebp - 4], 0xc
test esi, esi
je 0x4187ae
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x41878f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41878f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x418814
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 0x4187f5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4187f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x41889f
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x418841
nop word [eax + eax]
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x418830
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 0x41887a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41887a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4188c0
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.004066a0
jmp 0x418b78
mov byte [ebp - 4], 0xc
test esi, esi
je 0x418926
mov ecx, dword [ebp - 0x34]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x418907
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418907
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x41898c
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 0x41896d
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41896d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
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 0x418a0b
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x4189b3
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x4189a2
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 0x4189ec
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4189ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x418a30
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 0x418b68
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x418afa
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x418aa2
mov ecx, esi
call fcn.00417290
add esi, 0x68
cmp esi, edi
jne 0x418a91
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 0x418adb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418adb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.0042963a
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0040ccb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x418b1f
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 0x418b68
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042963a
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.004293f9
mov esp, ebp
pop ebp
ret 0xc
call fcn.00409640
int3