Function at 0x4063c0
Capabilities:
Create directory
Create process on windows
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x14f4
call fcn.004330b0
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x1508]
push esi
push edi
xor eax, eax
push 0x206
mov dword [esp + 0x5c], eax
mov edi, edx
lea eax, [esp + 0x72]
xor edx, edx
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0x464770
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x78], dx
call fcn.00433c00
mov edx, dword [esp + 0x1518]
push 0x104
lea ecx, [esp + 0x7c]
push ecx
push 0x464770
push 0x465570
push edx
call fcn.00404d30
add esp, 0x20
push ebx
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [edi*4 + 0x478010]
lea ecx, [esp + 0x6c]
push ecx
push str.DYNAMORIO_LOGDIR
push esi
push edx
call fcn.004082c0
add esp, 8
push eax
call fcn.00408560
mov eax, dword [edi*4 + 0x478010]
add esp, 0xc
push ebp
push str.DYNAMORIO_OPTIONS
push esi
push eax
call fcn.004082c0
add esp, 8
push eax
call fcn.00408560
push esi
call fcn.0040a420
lea ecx, [esp + 0x7c]
push ecx
push str._sout.rep
lea edx, [esp + 0x28c]
push 0x104
push edx
call fcn.00432fb7
add esp, 0x20
xor eax, eax
mov word [esp + 0x47a], ax
mov edi, dword [esp + 0x1524]
cmp edi, ebx
je 0x40653f
mov eax, str._verify_inject
cmp dword [esp + 0x151c], ebx
jne 0x406502
mov eax, 0x464770
mov ecx, dword [esp + 0x1518]
push ecx
mov ecx, dword [esp + 0x1518]
lea edx, [esp + 0x278]
push edx
push 0x2710
push eax
mov eax, edx
push eax
push ecx
push str.__s____s___launch_child__s_d____s___s_
lea edx, [esp + 0xaf8]
push 0x514
push edx
call fcn.00432fb7
add esp, 0x24
jmp 0x406571
mov eax, dword [esp + 0x1518]
mov edx, dword [esp + 0x1514]
push eax
lea ecx, [esp + 0x278]
push ecx
push edx
push str.__s____s___s
lea eax, [esp + 0xaec]
push 0x514
push eax
call fcn.00432fb7
add esp, 0x18
xor ecx, ecx
mov word [esp + 0x1502], cx
mov eax, str._inject
cmp dword [esp + 0x151c], ebx
jne 0x40658e
mov eax, 0x464902
mov edx, dword [esp + 0x1520]
mov esi, dword [esp + 0x1508]
push eax
push edx
push ebp
lea eax, [esp + 0xae8]
push eax
push str.Starting_Canary_Process___S__core_ops__S__type_s_s_n
push esi
call fcn.00432c6c
add esp, 0x18
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [esp + 0xafc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4068b3
mov ebp, dword [esp + 0x151c]
cmp ebp, ebx
je 0x406699
cmp edi, ebx
jne 0x406699
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
push 0x64
push ecx
call edi
lea edx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
push edx
push eax
add ebp, 0x64
call fcn.00403d30
add esp, 8
cmp esi, 0x102
jne 0x406639
cmp ebp, 0x4e20
jae 0x406639
cmp eax, 1
je 0x406600
cmp eax, ebx
je 0x406600
cmp eax, 1
je 0x40665e
cmp eax, ebx
je 0x40665e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1508]
push ecx
push str.Verified_Injection__build__d_n
push edx
call fcn.00432c6c
add esp, 0xc
jmp 0x40667b
mov eax, dword [esp + 0x1508]
push str.Injection_Failed___verify_registry_settings_n
push eax
mov dword [esp + 0x18], 0xfffffffb
call fcn.00432c6c
add esp, 8
cmp esi, 0x102
jne 0x40674b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004044c0
add esp, 4
jmp 0x40674b
mov edx, dword [esp + 0x18]
push 0x4e20
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4066ec
cmp edi, ebx
je 0x4066c7
cmp ebp, ebx
je 0x4066c7
mov dword [esp + 0x10], 0xfffffffa
push str.Early_Injection_Failed_n
jmp 0x4066d4
mov dword [esp + 0x10], 0xffffffff
push str.Canary_Hung_n
push esi
call fcn.00432c6c
mov eax, dword [esp + 0x28]
add esp, 8
push eax
call fcn.004044c0
add esp, 4
jmp 0x40674b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x406735
cmp eax, 0xffffffff
jne 0x40671c
mov dword [esp + 0x10], 0xfffffffd
push str.Canary_Violation_or_DR_error_n
jmp 0x406742
push eax
push str.Canary_Crashed_0x_08x_n
push esi
mov dword [esp + 0x1c], 0xfffffffe
call fcn.00432c6c
add esp, 0xc
jmp 0x40674b
cmp edi, ebx
je 0x40674b
cmp ebp, ebx
je 0x40674b
push str.Verified_Early_Injection_n
push esi
call fcn.00432c6c
add esp, 8
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x6c]
push edx
push 0x46520c
lea eax, [esp + 0x8dc]
push 0x104
push eax
call fcn.00432fb7
add esp, 0x10
lea edx, [esp + 0x47c]
push edx
lea eax, [esp + 0x8d8]
xor ecx, ecx
push eax
mov word [esp + 0xae2], cx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40688f
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x465208
lea eax, [esp + 0x4a8]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4067e6
cmp dx, bx
je 0x4067e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4067e6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4067c0
xor eax, eax
jmp 0x4067eb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406875
mov ecx, 0x465200
lea eax, [esp + 0x4a8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406826
cmp dx, bx
je 0x406822
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406826
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x406800
xor eax, eax
jmp 0x40682b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x406875
lea ecx, [esp + 0x4a8]
push ecx
lea edx, [esp + 0x70]
push edx
push 0x4651f4
lea eax, [esp + 0x6d8]
push 0x104
push eax
call fcn.00432fb7
mov edi, dword [esp + 0x151c]
lea edx, [esp + 0x6e0]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x8ee], cx
call fcn.004061f0
add esp, 0x1c
lea eax, [esp + 0x47c]
push eax
push esi
call ebp
test eax, eax
jne 0x4067b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1508]
push str.Canary_Finished_n
push ecx
call fcn.00432c6c
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14f4
ret
lea edx, [esp + 0xadc]
push edx
push str.Canary___S__Failed_to_Launch_n
push esi
call fcn.00432c6c
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14f4
ret