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

Disassembly:
sub esp, 0x228
mov eax, dword [0x553d9c]
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
push edi
mov dword [esp + 0x30], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, dword [0x546560]
mov eax, 0x547fa8
test eax, eax
mov dword [esp + 0x10], edx
je 0x43aecd
mov ecx, eax
shr ecx, 0x10
jne 0x43aee8
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, ax
push edx
call fcn.00413c90
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov eax, dword [0x546560]
lea ecx, [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x18], eax
jne 0x43af25
xor eax, eax
jmp 0x43af2c
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x547fa8
call ebp
mov esi, eax
test esi, esi
je 0x43aed3
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x43aed3
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, 0x547fa8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43aed3
lea edx, [esp + 0x30]
push edx
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.004059f0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
call fcn.00405440
lea ecx, [esp + 0x18]
call fcn.00405700
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43af8a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43af8a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, 0x547b28
test eax, eax
je 0x43b138
push eax
call ebp
mov ebx, eax
test ebx, ebx
je 0x43b138
mov ecx, 0x546f04
test ecx, ecx
jne 0x43afb3
mov dword [esp + 0x10], ecx
jmp 0x43afbe
push 0x546f04
call ebp
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esi - 8]
lea ebp, [esi + edx*2]
cmp esi, ebp
jae 0x43b138
push 0x547b28
push esi
call fcn.0053176f
add esp, 8
test eax, eax
je 0x43affa
lea esi, [eax + ebx*2]
push 0x547b28
push esi
inc edi
call fcn.0053176f
add esp, 8
test eax, eax
jne 0x43afe4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebp
jb 0x43afd2
test edi, edi
jle 0x43b138
lea ecx, [esp + 0x14]
call fcn.004055c0
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jl 0x43b041
cmp dword [esi - 0xc], 1
jle 0x43b07f
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], edi
call fcn.00405530
test eax, eax
je 0x43b138
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x14]
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00405590
mov esi, dword [esp + 0x14]
mov edx, dword [esi - 8]
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x43b135
push 0x547b28
push esi
call fcn.0053176f
mov edi, eax
add esp, 8
test edi, edi
je 0x43b11a
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x18]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [esi + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.00531870
mov ecx, esi
mov esi, 0x546f04
mov edx, ecx
mov eax, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x547b28
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.0053176f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x43b0a5
mov ebp, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x20]
cmp esi, eax
jb 0x43b091
mov esi, dword [esp + 0x14]
mov dword [esi - 8], ebp
mov ecx, dword [0x546560]
mov edx, str.___e
test edx, edx
mov dword [esp + 0x10], ecx
je 0x43b185
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43b185
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x43b185
mov eax, dword [esp + 0x10]
inc esi
push esi
push str.___e
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
push str.__select__
lea ecx, [esp + 0x1c]
call fcn.00405730
lea ecx, [esp + 0x10]
lea edx, [esp + 0x23c]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00412dc0
lea edx, [esp + 0x28]
push eax
push edx
call fcn.00412dc0
lea ecx, [esp + 0x20]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 3
push eax
push ecx
push eax
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x23c]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret 4