Function at 0x10003e40
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002716c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x100319f8]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x100319f8]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], eax
call fcn.10004fd8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10003ea6
push 0x80004005
call fcn.10004500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1b8], 0
call fcn.10004fd8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10003edb
push 0x80004005
call fcn.10004500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1b8], 1
call fcn.10004fd8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10003f0d
push 0x80004005
call fcn.10004500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x9c]
push ecx
push 0
push esi
mov ecx, edi
mov byte [esp + 0x1c4], 2
call sym.DatAccess.dll_private:_void___thiscall_CDatAccess::DllSplit_FullPath_char_const___char___char__
push esi
mov ecx, edi
call sym.DatAccess.dll_private:_int___thiscall_CDatAccess::DllIs_ExistFile_char_const__
test eax, eax
jne 0x10003fc1
mov byte [esp + 0x1b8], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003f6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1b8], 0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003f8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1b8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003fba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x100041be
mov edi, dword [esp + 0x24]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
push esi
lea ecx, [esp + 0x20]
push str.EXPAND___s____s_
push ecx
call fcn.100047d0
push 0x44
lea edx, [esp + 0x68]
push 0
push edx
call fcn.10014280
mov ebx, dword [esp + 0x34]
add esp, 0x1c
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
push 0xc000020
push 0
push 0
push 0
push ebx
push 0
mov dword [esp + 0x7c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10003f43
call fcn.100060ba
mov ecx, dword [eax + 4]
call fcn.100054db
mov byte [esp + 0x1b8], 3
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0x20]
push ecx
push edx
call esi
test eax, eax
je 0x100040e3
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, edi
cmp dword [esp + 0x20], 0x103
jne 0x10004115
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
call ebx
test eax, eax
je 0x100040a9
call fcn.100060ba
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c]
call eax
test eax, eax
je 0x100040a9
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x48]
push ecx
call ebx
test eax, eax
jne 0x10004081
lea ecx, [esp + 0x13]
mov byte [esp + 0x1b8], 2
call fcn.100046c0
call fcn.100060ba
mov ecx, dword [eax + 4]
call fcn.100054db
lea edx, [esp + 0x20]
mov byte [esp + 0x1b8], 3
mov eax, dword [esp + 0x28]
push edx
push eax
call esi
test eax, eax
jne 0x10004060
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x13]
mov byte [esp + 0x1b8], 2
call fcn.100046c0
mov byte [esp + 0x1b8], 1
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
jmp 0x10003f5f
lea ecx, [esp + 0x13]
mov byte [esp + 0x1b8], 2
call fcn.100046c0
cmp dword [esp + 0x20], 0
je 0x10004169
mov byte [esp + 0x1b8], 1
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 0x10004155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1b8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
jmp 0x10003f76
push edi
push edi
call fcn.100115ca
add esp, 8
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x100041a2
call fcn.10004c00
lea ecx, [esp + 0x18]
call fcn.10004c00
lea ecx, [esp + 0x1c]
call fcn.10004c00
xor eax, eax
jmp 0x100041be
call fcn.10004c00
lea ecx, [esp + 0x18]
call fcn.10004c00
lea ecx, [esp + 0x1c]
call fcn.10004c00
mov eax, 1
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10010fec
mov esp, ebp
pop ebp
ret 0xc