Function at 0x412b30
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
sub esp, 0x428
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
mov ebx, dword [esp + 0x430]
mov eax, ebx
imul eax, eax, 0x1008
add eax, dword [0x464bc0]
push ebp
push esi
push edi
lea edi, [eax + 0xefc]
xor ebp, ebp
cmp byte [edi], 0
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
jne 0x412d55
lea eax, [esp + 0x130]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push ebp
push 0x4539bc
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edx, dword [0x464bbc]
lea ebx, [ebx + ebx*2]
shl ebx, 5
cmp byte [ebx + edx + 0x54], 0
je 0x412c01
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x412bb4
mov ax, word [0x4539b8]
mov word [edi], ax
mov ecx, dword [0x464bbc]
lea eax, [ebx + ecx + 0x54]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x412bd3
mov edi, dword [esp + 0x14]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x412be5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
push 0x1000
push edi
call fcn.0040a5e0
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x18], esi
jge 0x412c23
mov eax, 1
jmp 0x412cbf
push 0x10000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0x412c47
mov dword [esp + 0x10], 1
jmp 0x412c7d
mov eax, dword [0x464bbc]
mov edx, dword [ebx + eax + 0x4c]
mov edi, dword [ebx + eax + 0x50]
mov eax, dword [0x460004]
push 0
push edx
push eax
call fcn.0040a650
mov ecx, dword [0x464bbc]
add esp, 0xc
cmp eax, dword [ebx + ecx + 0x4c]
je 0x412cd8
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x14]
cmp esi, 0xffffffff
jle 0x412c8b
push esi
call fcn.0040a630
add esp, 4
test ebp, ebp
je 0x412ca9
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x412cbd
cmp byte [edi], 0
je 0x412cbd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x428
ret
test edi, edi
je 0x412d1f
lea esp, [esp]
cmp edi, 0x10000
mov esi, edi
jl 0x412cef
mov esi, 0x10000
mov edx, dword [0x460004]
push esi
push ebp
push edx
call fcn.0040a670
add esp, 0xc
cmp eax, esi
jne 0x412d3d
mov eax, dword [esp + 0x18]
push esi
push ebp
push eax
call fcn.0040a6a0
add esp, 0xc
cmp eax, esi
jne 0x412d3d
sub edi, esi
jne 0x412ce0
mov esi, dword [esp + 0x18]
push esi
call fcn.0040a630
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x412d4e
mov dword [esp + 0x10], 1
jmp 0x412c8b
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 1
jmp 0x412c79
mov ebx, dword [esp + 0x43c]
mov edx, dword [0x464bbc]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebx + ebx*2]
shl ecx, 5
cmp byte [ecx + edx + 0x54], 0
lea eax, [ecx + edx + 0x54]
je 0x412d84
push eax
lea eax, [esp + 0x20]
push 0x4539b4
push eax
call esi
add esp, 0xc
jmp 0x412d98
mov ecx, dword [str..htm]
mov dl, byte [0x4537e8]
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x20], dl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040df40
add esp, 8
test eax, eax
je 0x412dbb
mov dword [esp + 0x10], 1
jmp 0x412c8b
push edi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x23c]
push str._s__s
push eax
call esi
add esp, 0x10
push 1
lea ecx, [esp + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x412c8b
push 0x7a
call fcn.0040ae20
mov dword [esp + 0x14], 1
jmp 0x412c88