Function at 0x428250
Capabilities:
Create thread
Delete file
Get common file path

Disassembly:
sub esp, 0x210
push esi
push edi
mov dword [esp + 0xc], ecx
call fcn.0042b620
test eax, eax
mov dword [esp + 8], 0
je 0x4283ed
mov dl, byte [0x481910]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], dl
mov byte [esp + 0x114], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x14]
push 0x104
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x14]
push ecx
call ebp
cmp byte [esp + eax + 0x13], 0x5c
je 0x4282e3
push 0x104
lea edx, [esp + 0x18]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
lea eax, [esp + 0x14]
push 0x104
lea ecx, [esp + 0x11c]
push eax
push ecx
call fcn.0042f1a0
push 0x104
lea edx, [esp + 0x128]
push 0x46dd64
push edx
call fcn.0042f1f0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
lea eax, [esp + 0x118]
push eax
call esi
lea ecx, [esp + 0x14]
push 0x104
lea edx, [esp + 0x11c]
push ecx
push edx
call fcn.0042f1a0
push 0x104
lea eax, [esp + 0x128]
push 0x46dd74
push eax
call fcn.0042f1f0
add esp, 0x18
lea ecx, [esp + 0x118]
push ecx
call esi
push 0
call fcn.0042b5e0
add esp, 4
lea edx, [esp + 0x14]
push 0x104
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebp
mov cl, byte [esp + eax + 0x13]
pop ebp
cmp cl, 0x5c
je 0x42839d
push 0x104
lea ecx, [esp + 0x14]
push 0x4695f4
push ecx
call fcn.0042f1f0
add esp, 0xc
lea edx, [esp + 0x10]
push 0x104
lea eax, [esp + 0x118]
push edx
push eax
call fcn.0042f1a0
push 0x104
lea ecx, [esp + 0x124]
push 0x46dd94
push ecx
call fcn.0042f1f0
lea edx, [esp + 0x12c]
push edx
call fcn.0042b3e0
add esp, 0x1c
test eax, eax
je 0x428549
mov esi, 1
jmp 0x42854d
mov dl, byte [0x481910]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], dl
mov byte [esp + 0x10], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0x113], 0x5c
je 0x428466
push 0x104
lea edx, [esp + 0x118]
push 0x4695f4
push edx
call fcn.0042f1f0
add esp, 0xc
lea eax, [esp + 0x114]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0042f1a0
push 0x104
lea edx, [esp + 0x20]
push 0x46dd84
push edx
call fcn.0042f1f0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
call esi
lea ecx, [esp + 0x114]
push 0x104
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042f1a0
push 0x104
lea eax, [esp + 0x20]
push 0x46dd94
push eax
call fcn.0042f1f0
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
call esi
lea edx, [esp + 0x114]
push 0x104
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0042f1a0
push 0x104
lea ecx, [esp + 0x20]
push 0x474ed4
push ecx
call fcn.0042f1f0
add esp, 0x18
lea edx, [esp + 0x10]
push edx
call esi
lea eax, [esp + 0x114]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0042f1a0
push 0x104
lea edx, [esp + 0x20]
push 0x46dd74
push edx
call fcn.0042f1f0
lea eax, [esp + 0x28]
push eax
call fcn.0042b3e0
add esp, 0x1c
test eax, eax
je 0x428594
jmp 0x42855b
mov esi, dword [esp + 8]
push 1
call fcn.0042b5e0
add esp, 4
test esi, esi
je 0x428594
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0
push edx
push 0x4285b0
push 0
push 0
mov dword [esp + 0x20], 0
call fcn.0045233c
add esp, 0x18
test eax, eax
je 0x4285a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x210
ret
call fcn.0042c3e0
test eax, eax
jne 0x4285a2
call fcn.0042c480
pop edi
pop esi
add esp, 0x210
ret