Function at 0x10007840
Capabilities:
Accept command line arguments
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e76b
mov eax, dword fs:[0]
push eax
sub esp, 0x97c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100101be
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0x938], edx
mov edx, dword [ebp - 0x938]
add edx, 1
mov dword [ebp - 0x938], edx
mov dword [ebp - 0x950], 0
jmp 0x100078a9
mov eax, dword [ebp - 0x950]
add eax, 1
mov dword [ebp - 0x950], eax
mov ecx, dword [ebp - 0x950]
cmp ecx, dword [ebp - 0x938]
jge 0x10007a71
mov edx, dword [0x100240fc]
mov dword [ebp - 0x9c], edx
mov eax, dword [0x10024100]
mov dword [ebp - 0x98], eax
mov ecx, dword [0x10024104]
mov dword [ebp - 0x94], ecx
mov edx, dword [0x10024108]
mov dword [ebp - 0x90], edx
mov eax, dword [0x1002410c]
mov dword [ebp - 0x8c], eax
mov ecx, dword [0x10024110]
mov dword [ebp - 0x144], ecx
mov edx, dword [0x10024114]
mov dword [ebp - 0x140], edx
mov eax, dword [0x10024118]
mov dword [ebp - 0x13c], eax
mov ecx, dword [0x1002411c]
mov dword [ebp - 0x138], ecx
mov edx, dword [0x10024120]
mov dword [ebp - 0x134], edx
mov eax, dword [0x10024124]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x900], 0
jmp 0x10007956
mov ecx, dword [ebp - 0x900]
add ecx, 1
mov dword [ebp - 0x900], ecx
cmp dword [ebp - 0x900], 0xa
jge 0x100079d5
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x100079a1
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x900]
mov cl, byte [ebp + edx - 0x9c]
mov byte [ebp + eax - 0x860], cl
jmp 0x100079d0
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x900]
mov cl, byte [ebp + edx - 0x144]
mov byte [ebp + eax - 0x860], cl
jmp 0x10007947
mov edx, 1
imul eax, edx, 0xa
mov dword [ebp - 0x980], eax
cmp dword [ebp - 0x980], 0x104
jae 0x100079f1
jmp 0x100079f6
call fcn.1000c8c4
mov ecx, dword [ebp - 0x980]
mov byte [ebp + ecx - 0x860], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x860]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x988], eax
lea eax, [ebp - 0x8b4]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x87c], 0
push 0
lea ecx, [ebp - 0x87c]
push ecx
push 0x10
lea edx, [ebp - 0x8b4]
push edx
mov eax, dword [ebp - 0x988]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x988]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000789a
lea edx, [ebp - 0x8fc]
push edx
call fcn.10007710
add esp, 4
mov dword [ebp - 4], 0
call fcn.100101be
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0x948], edx
mov edx, dword [ebp - 0x948]
add edx, 1
mov dword [ebp - 0x948], edx
mov dword [ebp - 0x94c], 0
jmp 0x10007ac4
mov eax, dword [ebp - 0x94c]
add eax, 1
mov dword [ebp - 0x94c], eax
mov ecx, dword [ebp - 0x94c]
cmp ecx, dword [ebp - 0x948]
jge 0x10007c82
mov edx, dword [0x10024128]
mov dword [ebp - 0x88], edx
mov eax, dword [0x1002412c]
mov dword [ebp - 0x84], eax
mov ecx, dword [0x10024130]
mov dword [ebp - 0x80], ecx
mov edx, dword [0x10024134]
mov dword [ebp - 0x7c], edx
mov eax, dword [0x10024138]
mov dword [ebp - 0x78], eax
mov ecx, dword [0x1002413c]
mov dword [ebp - 0x12c], ecx
mov edx, dword [0x10024140]
mov dword [ebp - 0x128], edx
mov eax, dword [0x10024144]
mov dword [ebp - 0x124], eax
mov ecx, dword [0x10024148]
mov dword [ebp - 0x120], ecx
mov edx, dword [0x1002414c]
mov dword [ebp - 0x11c], edx
mov eax, dword [0x10024150]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x904], 0
jmp 0x10007b68
mov ecx, dword [ebp - 0x904]
add ecx, 1
mov dword [ebp - 0x904], ecx
cmp dword [ebp - 0x904], 7
jge 0x10007be7
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10007bb3
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x904]
mov cl, byte [ebp + edx - 0x88]
mov byte [ebp + eax - 0x554], cl
jmp 0x10007be2
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x904]
mov cl, byte [ebp + edx - 0x12c]
mov byte [ebp + eax - 0x554], cl
jmp 0x10007b59
mov edx, 1
imul eax, edx, 7
mov dword [ebp - 0x97c], eax
cmp dword [ebp - 0x97c], 0x104
jae 0x10007c03
jmp 0x10007c08
call fcn.1000c8c4
mov ecx, dword [ebp - 0x97c]
mov byte [ebp + ecx - 0x554], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x554]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x978], eax
mov dword [ebp - 0x878], 0
push 0
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x554]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x554]
push edx
mov eax, dword [ebp - 0x978]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x978]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007ab5
lea edx, [ebp - 0x894]
push edx
call fcn.10008fd0
add esp, 4
mov byte [ebp - 4], 1
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x940], edx
mov edx, dword [ebp - 0x940]
add edx, 1
mov dword [ebp - 0x940], edx
mov dword [ebp - 0x944], 0
jmp 0x10007cd2
mov eax, dword [ebp - 0x944]
add eax, 1
mov dword [ebp - 0x944], eax
mov ecx, dword [ebp - 0x944]
cmp ecx, dword [ebp - 0x940]
jge 0x10007ea4
mov edx, dword [0x10024154]
mov dword [ebp - 0x74], edx
mov eax, dword [0x10024158]
mov dword [ebp - 0x70], eax
mov ecx, dword [0x1002415c]
mov dword [ebp - 0x6c], ecx
mov edx, dword [0x10024160]
mov dword [ebp - 0x68], edx
mov eax, dword [0x10024164]
mov dword [ebp - 0x64], eax
mov ecx, dword [0x10024168]
mov dword [ebp - 0x114], ecx
mov edx, dword [0x1002416c]
mov dword [ebp - 0x110], edx
mov eax, dword [0x10024170]
mov dword [ebp - 0x10c], eax
mov ecx, dword [0x10024174]
mov dword [ebp - 0x108], ecx
mov edx, dword [0x10024178]
mov dword [ebp - 0x104], edx
mov eax, dword [0x1002417c]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x908], 0
jmp 0x10007d70
mov ecx, dword [ebp - 0x908]
add ecx, 1
mov dword [ebp - 0x908], ecx
cmp dword [ebp - 0x908], 8
jge 0x10007de9
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10007db5
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x908]
mov cl, byte [ebp + edx - 0x74]
mov byte [ebp + eax - 0x450], cl
jmp 0x10007de4
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x908]
mov cl, byte [ebp + edx - 0x114]
mov byte [ebp + eax - 0x450], cl
jmp 0x10007d61
mov edx, 1
shl edx, 3
mov dword [ebp - 0x974], edx
cmp dword [ebp - 0x974], 0x104
jae 0x10007e05
jmp 0x10007e0a
call fcn.1000c8c4
mov eax, dword [ebp - 0x974]
mov byte [ebp + eax - 0x450], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x970], eax
lea edx, [ebp - 0x8a4]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x874], 0
push 0
lea eax, [ebp - 0x874]
push eax
push 0x10
lea ecx, [ebp - 0x8a4]
push ecx
mov edx, dword [ebp - 0x970]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x970]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80
lea ecx, [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x450]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10007cc3
lea ecx, [ebp - 0x894]
call fcn.10008760
push eax
lea ecx, [ebp - 0x8fc]
call fcn.10008760
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100080c4
call fcn.100101be
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0x934], edx
mov edx, dword [ebp - 0x934]
add edx, 1
mov dword [ebp - 0x934], edx
mov dword [ebp - 0x93c], 0
jmp 0x10007f07
mov eax, dword [ebp - 0x93c]
add eax, 1
mov dword [ebp - 0x93c], eax
mov ecx, dword [ebp - 0x93c]
cmp ecx, dword [ebp - 0x934]
jge 0x100080ba
mov edx, dword [0x10024180]
mov dword [ebp - 0x60], edx
mov eax, dword [0x10024184]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x10024188]
mov dword [ebp - 0x58], ecx
mov edx, dword [0x1002418c]
mov dword [ebp - 0x54], edx
mov eax, dword [0x10024190]
mov dword [ebp - 0x50], eax
mov ecx, dword [0x10024194]
mov dword [ebp - 0xfc], ecx
mov edx, dword [0x10024198]
mov dword [ebp - 0xf8], edx
mov eax, dword [0x1002419c]
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x100241a0]
mov dword [ebp - 0xf0], ecx
mov edx, dword [0x100241a4]
mov dword [ebp - 0xec], edx
mov eax, dword [0x100241a8]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0x90c], 0
jmp 0x10007fa5
mov ecx, dword [ebp - 0x90c]
add ecx, 1
mov dword [ebp - 0x90c], ecx
cmp dword [ebp - 0x90c], 0xa
jge 0x1000801e
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10007fea
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x90c]
mov cl, byte [ebp + edx - 0x60]
mov byte [ebp + eax - 0x658], cl
jmp 0x10008019
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x90c]
mov cl, byte [ebp + edx - 0xfc]
mov byte [ebp + eax - 0x658], cl
jmp 0x10007f96
mov edx, 1
imul eax, edx, 0xa
mov dword [ebp - 0x95c], eax
cmp dword [ebp - 0x95c], 0x104
jae 0x1000803a
jmp 0x1000803f
call fcn.1000c8c4
mov ecx, dword [ebp - 0x95c]
mov byte [ebp + ecx - 0x658], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x658]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x96c], eax
lea eax, [ebp - 0x8c4]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x870], 0
push 0
lea ecx, [ebp - 0x870]
push ecx
push 0x10
lea edx, [ebp - 0x8c4]
push edx
mov eax, dword [ebp - 0x96c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x96c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007ef8
call fcn.1000c37b
jmp 0x100086f3
call fcn.100101be
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0x92c], edx
mov edx, dword [ebp - 0x92c]
add edx, 1
mov dword [ebp - 0x92c], edx
mov dword [ebp - 0x930], 0
jmp 0x10008101
mov eax, dword [ebp - 0x930]
add eax, 1
mov dword [ebp - 0x930], eax
mov ecx, dword [ebp - 0x930]
cmp ecx, dword [ebp - 0x92c]
jge 0x100082b3
mov edx, dword [0x100241ac]
mov dword [ebp - 0x4c], edx
mov eax, dword [0x100241b0]
mov dword [ebp - 0x48], eax
mov ecx, dword [0x100241b4]
mov dword [ebp - 0x44], ecx
mov edx, dword [0x100241b8]
mov dword [ebp - 0x40], edx
mov eax, dword [0x100241bc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [0x100241c0]
mov dword [ebp - 0xe4], ecx
mov edx, dword [0x100241c4]
mov dword [ebp - 0xe0], edx
mov eax, dword [0x100241c8]
mov dword [ebp - 0xdc], eax
mov ecx, dword [0x100241cc]
mov dword [ebp - 0xd8], ecx
mov edx, dword [0x100241d0]
mov dword [ebp - 0xd4], edx
mov eax, dword [0x100241d4]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x910], 0
jmp 0x1000819f
mov ecx, dword [ebp - 0x910]
add ecx, 1
mov dword [ebp - 0x910], ecx
cmp dword [ebp - 0x910], 7
jge 0x10008218
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x100081e4
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x910]
mov cl, byte [ebp + edx - 0x4c]
mov byte [ebp + eax - 0x34c], cl
jmp 0x10008213
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x910]
mov cl, byte [ebp + edx - 0xe4]
mov byte [ebp + eax - 0x34c], cl
jmp 0x10008190
mov edx, 1
imul eax, edx, 7
mov dword [ebp - 0x954], eax
cmp dword [ebp - 0x954], 0x104
jae 0x10008234
jmp 0x10008239
call fcn.1000c8c4
mov ecx, dword [ebp - 0x954]
mov byte [ebp + ecx - 0x34c], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x34c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x984], eax
mov dword [ebp - 0x86c], 0
push 0
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x34c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x984]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x984]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100080f2
push 0x100241d8
lea ecx, [ebp - 0x894]
call fcn.10008780
push 0
push 0
lea ecx, [ebp - 0x894]
call fcn.10008760
push eax
call fcn.1000c38a
add esp, 0xc
call fcn.100101be
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0x924], edx
mov edx, dword [ebp - 0x924]
add edx, 1
mov dword [ebp - 0x924], edx
mov dword [ebp - 0x928], 0
jmp 0x10008318
mov eax, dword [ebp - 0x928]
add eax, 1
mov dword [ebp - 0x928], eax
mov ecx, dword [ebp - 0x928]
cmp ecx, dword [ebp - 0x924]
jge 0x100084cb
mov edx, dword [0x100241f4]
mov dword [ebp - 0x38], edx
mov eax, dword [0x100241f8]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x100241fc]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x10024200]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x10024204]
mov dword [ebp - 0x28], eax
mov ecx, dword [0x10024208]
mov dword [ebp - 0xcc], ecx
mov edx, dword [0x1002420c]
mov dword [ebp - 0xc8], edx
mov eax, dword [0x10024210]
mov dword [ebp - 0xc4], eax
mov ecx, dword [0x10024214]
mov dword [ebp - 0xc0], ecx
mov edx, dword [0x10024218]
mov dword [ebp - 0xbc], edx
mov eax, dword [0x1002421c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x914], 0
jmp 0x100083b6
mov ecx, dword [ebp - 0x914]
add ecx, 1
mov dword [ebp - 0x914], ecx
cmp dword [ebp - 0x914], 0xa
jge 0x1000842f
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x100083fb
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x914]
mov cl, byte [ebp + edx - 0x38]
mov byte [ebp + eax - 0x75c], cl
jmp 0x1000842a
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x914]
mov cl, byte [ebp + edx - 0xcc]
mov byte [ebp + eax - 0x75c], cl
jmp 0x100083a7
mov edx, 1
imul eax, edx, 0xa
mov dword [ebp - 0x968], eax
cmp dword [ebp - 0x968], 0x104
jae 0x1000844b
jmp 0x10008450
call fcn.1000c8c4
mov ecx, dword [ebp - 0x968]
mov byte [ebp + ecx - 0x75c], 0
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x75c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x964], eax
lea eax, [ebp - 0x8d4]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x868], 0
push 0
lea ecx, [ebp - 0x868]
push ecx
push 0x10
lea edx, [ebp - 0x8d4]
push edx
mov eax, dword [ebp - 0x964]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x964]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10008309
push 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.10009c20
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x91c], edx
mov edx, dword [ebp - 0x91c]
add edx, 1
mov dword [ebp - 0x91c], edx
mov dword [ebp - 0x920], 0
jmp 0x10008521
mov eax, dword [ebp - 0x920]
add eax, 1
mov dword [ebp - 0x920], eax
mov ecx, dword [ebp - 0x920]
cmp ecx, dword [ebp - 0x91c]
jge 0x100086f3
mov edx, dword [0x10024220]
mov dword [ebp - 0x24], edx
mov eax, dword [0x10024224]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x10024228]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x1002422c]
mov dword [ebp - 0x18], edx
mov eax, dword [0x10024230]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x10024234]
mov dword [ebp - 0xb4], ecx
mov edx, dword [0x10024238]
mov dword [ebp - 0xb0], edx
mov eax, dword [0x1002423c]
mov dword [ebp - 0xac], eax
mov ecx, dword [0x10024240]
mov dword [ebp - 0xa8], ecx
mov edx, dword [0x10024244]
mov dword [ebp - 0xa4], edx
mov eax, dword [0x10024248]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x918], 0
jmp 0x100085bf
mov ecx, dword [ebp - 0x918]
add ecx, 1
mov dword [ebp - 0x918], ecx
cmp dword [ebp - 0x918], 8
jge 0x10008638
call fcn.100101be
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x10008604
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x918]
mov cl, byte [ebp + edx - 0x24]
mov byte [ebp + eax - 0x248], cl
jmp 0x10008633
call fcn.100101be
mov esi, eax
lea edx, [ebp - 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, esi
cdq
idiv ecx
mov eax, dword [ebp - 0x918]
mov cl, byte [ebp + edx - 0xb4]
mov byte [ebp + eax - 0x248], cl
jmp 0x100085b0
mov edx, 1
shl edx, 3
mov dword [ebp - 0x960], edx
cmp dword [ebp - 0x960], 0x104
jae 0x10008654
jmp 0x10008659
call fcn.1000c8c4
mov eax, dword [ebp - 0x960]
mov byte [ebp + eax - 0x248], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x958], eax
lea edx, [ebp - 0x8e4]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x864], 0
push 0
lea eax, [ebp - 0x864]
push eax
push 0x10
lea ecx, [ebp - 0x8e4]
push ecx
mov edx, dword [ebp - 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x958]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10008512
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x894]
call fcn.100087a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8fc]
call fcn.100087a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c794
mov esp, ebp
pop ebp
ret