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

Disassembly:
push 0xffffffffffffffff
push 0x477d07
mov eax, dword fs:[0]
push eax
sub esp, 0xccc
mov eax, dword [0x4a3f4c]
xor eax, esp
mov dword [esp + 0xcc8], eax
push ebp
push esi
push edi
mov eax, dword [0x4a3f4c]
xor eax, esp
push eax
lea eax, [esp + 0xcdc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.0042f420
mov dword [esp + 0xce4], 0
call fcn.0043ae64
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418c8c
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov byte [esp + 0xce4], 1
call fcn.0043ae64
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x418cbe
push 0x80004005
call fcn.004017e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push ecx
mov byte [esp + 0xcf4], 2
call ebp
test eax, eax
jne 0x418d1f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xce4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x418ee4
mov ecx, dword [esi + 0x20]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
mov edx, dword [esi + 0x20]
inc eax
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push edx
call ebp
mov eax, edi
shl eax, 9
add eax, esi
test dword [eax + 0x220], 0x4000000
je 0x418dc3
lea ecx, [esp + 0xbd4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xbd4]
push edx
lea ecx, [esp + 0x18]
call fcn.004022f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xce8], 3
call fcn.00407090
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xce4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418db1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
push str.dxwnd.log
lea ecx, [esp + 0x18]
call fcn.00404ff0
jmp 0x418e25
imul edi, edi, 0x78c
cmp byte [edi + esi + 0x202c7], 0
lea ecx, [edi + esi + 0x202c7]
je 0x418de6
push ecx
lea ecx, [esp + 0x14]
call fcn.00402090
jmp 0x418e17
add eax, 0x70
push eax
lea ecx, [esp + 0x14]
call fcn.00402090
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.0045d007
add esp, 8
test eax, eax
jne 0x418f40
or eax, 0xffffffff
push eax
lea ecx, [esp + 0x14]
call fcn.00411ed0
push str.dxwnd.log
lea ecx, [esp + 0x14]
call fcn.004050b0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push str._98__f__w__
push edx
call fcn.004071f0
push 0x481974
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xcfc], 4
call fcn.00407110
mov eax, dword [eax]
add esp, 0x18
push 5
push 0
push eax
push str.tail
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0xce4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418eb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xce4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418edd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xce4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0xce4], 0xffffffff
call fcn.004106c0
mov ecx, dword [esp + 0xcdc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xcc8]
xor ecx, esp
call fcn.0045a1dd
add esp, 0xcd8
ret
sub eax, esi
jne 0x418e0d
lea ecx, [esp + 0x18]
call fcn.00401af0
lea ecx, [esp + 0x10]
call fcn.00401af0
jmp 0x418f05