Function at 0x4744b0
Capabilities:
Get common file path
Print debug messages
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc36b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x555b68]
test eax, eax
sete byte [ebp - 0x269]
test eax, eax
jne 0x474735
push str.node.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004c5110
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474563
sub eax, edx
lea ecx, [ebp - 0x238]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004197f0
mov esi, 0x7ffffffe
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
mov eax, esi
sub eax, ecx
cmp eax, 0xf
jb 0x47477f
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 0xf
cmova eax, dword [ebp - 0x238]
push str.mbcef73mb.dll
push ecx
push eax
push ecx
push dword [ebp - 0x270]
lea ecx, [ebp - 0x268]
call fcn.0041dea0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x228]
sub esi, ecx
cmp esi, 8
jb 0x47477f
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 8
cmova eax, dword [ebp - 0x238]
push str.mbcef73
push ecx
push eax
push ecx
push dword [ebp - 0x270]
lea ecx, [ebp - 0x250]
call fcn.0041dea0
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmova eax, dword [ebp - 0x238]
push eax
call esi
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
cmova eax, dword [ebp - 0x268]
push eax
call esi
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push eax
call esi
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmova eax, dword [ebp - 0x250]
push eax
call esi
cmp dword [ebp - 0x254], 7
lea eax, [ebp - 0x268]
push 8
cmova eax, dword [ebp - 0x268]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp dword [ebp - 0x224], 7
mov dword [0x555b68], eax
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push eax
call esi
lea ecx, [ebp - 0x250]
call fcn.004177f0
lea ecx, [ebp - 0x268]
call fcn.004177f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x474713
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474709
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47477a
push ecx
push edx
call fcn.004c04a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov eax, dword [0x555b68]
mov dword [ebp - 0x224], 7
push str.mbInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x474749
xor al, al
jmp 0x47475c
push edi
call eax
cmp byte [ebp - 0x269], 0
je 0x47475a
call fcn.00472a20
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c048e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004cfc7c
call fcn.00401570
int3