Function at 0x47d500
Capabilities:
Create directory
Print debug messages

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 0x4fc78f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x138
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
xor edi, edi
mov dword [ebp - 0x13c], edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x555e10], edi
jne 0x47d6af
lea eax, [ebp - 0x74]
mov dword [ebp - 0x50], edi
xorps xmm0, xmm0
mov dword [ebp - 0x70], edi
push eax
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x6c], edi
movq qword [ebp - 0x58], xmm0
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x144], eax
call fcn.004c29e7
add esp, 4
test eax, eax
jne 0x47da80
mov eax, dword [ebp - 0x48]
cmp eax, 0x7fffffff
je 0x47da87
mov dword [ebp - 4], edi
call fcn.00431ab0
lea ecx, [ebp - 0xbc]
lea edx, [eax + 0x34]
call fcn.00418f50
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00419eb0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.0041a4d0
mov edi, eax
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.0041a340
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x13c], 0x20
jbe 0x47d627
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x47d60f
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x47d627
push edx
lea ecx, [ebp - 0x2c]
call fcn.00419150
push dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x44]
call fcn.0041dcf0
lea ecx, [ebp - 0x2c]
mov edi, 0x10
call fcn.004177f0
lea ecx, [ebp - 0xa4]
call fcn.004177f0
lea ecx, [ebp - 0x8c]
call fcn.004177f0
lea ecx, [ebp - 0xbc]
call fcn.004177f0
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x44]
mov dword [0x555e10], eax
call fcn.004177f0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004c29f8
add esp, 4
cmp dword [0x555e10], 0
jne 0x47d6af
push 0x52841c
call esi
call fcn.00479860
test al, al
jne 0x47d6bf
push 0x5284bc
call esi
lea ecx, [ebp - 0x44]
call fcn.00419eb0
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.0041a4d0
push 3
push 0x5284b4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004195e0
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 1
push ecx
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47d754
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x135], 1
cmp eax, 0xb7
jne 0x47d75b
mov byte [ebp - 0x135], 0
lea ecx, [ebp - 0x2c]
call fcn.004177f0
lea ecx, [ebp - 0xbc]
call fcn.004177f0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.004177f0
cmp byte [ebp - 0x135], 0
je 0x47d78d
push 0x5283bc
call esi
call fcn.00431ab0
lea ecx, [ebp - 0x5c]
lea edx, [eax + 0x7c]
call fcn.00418f50
mov esi, eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 7
call fcn.00419eb0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.0041a4d0
push 4
push str.log_
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.004195e0
xor ecx, ecx
or edi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0xd4]
call fcn.0041dcf0
or edi, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x47d856
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47d84c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47da92
push ecx
push edx
call fcn.004c04a1
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.004177f0
lea ecx, [ebp - 0xec]
call fcn.004177f0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.004177f0
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x2c]
call fcn.00418b10
or edi, 8
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov byte [ebp - 4], 0x10
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova edi, dword [ebp - 0x2c]
call fcn.004dd399
mov esi, dword [eax]
call fcn.004dd393
push 0x6400000
push edi
push esi
push dword [eax]
call dword [0x555ab8]
mov byte [ebp - 4], 0xf
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x47d8fa
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47d8f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47da97
push ecx
push edx
call fcn.004c04a1
add esp, 8
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [0x555ab0]
add esp, 4
push 1
call dword [0x555ab4]
mov ecx, dword [0x555e14]
add esp, 4
test ecx, ecx
jne 0x47da41
call fcn.00431ab0
lea ecx, [ebp - 0x134]
lea edx, [eax + 4]
call fcn.00418f50
mov edi, eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
call fcn.00419eb0
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x104]
call fcn.0041a4d0
mov esi, eax
mov edx, esi
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.0041a340
mov ecx, dword [ebp - 0x140]
or ecx, 0x40
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x13c], ecx
jbe 0x47d9b2
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x47d997
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x47d9b2
push edx
lea ecx, [ebp - 0x8c]
call fcn.00419150
push edi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0xa4]
call fcn.0041dcf0
lea ecx, [ebp - 0x8c]
call fcn.004177f0
lea ecx, [ebp - 0x104]
call fcn.004177f0
lea ecx, [ebp - 0x11c]
call fcn.004177f0
lea ecx, [ebp - 0x134]
call fcn.004177f0
cmp dword [ebp - 0x90], 7
lea eax, [ebp - 0xa4]
cmova eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0xa4]
mov dword [0x555e14], eax
call fcn.004177f0
mov ecx, dword [0x555e14]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ecx, ecx
jne 0x47da47
push 0x5283f8
call esi
mov ecx, dword [0x555e14]
jmp 0x47da47
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004747a0
test al, al
jne 0x47da57
push 0x5283d0
call esi
lea ecx, [ebp - 0xd4]
call fcn.004177f0
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
push 5
call fcn.004c2989
dec eax
push 6
mov dword [ebp - 0x48], eax
call fcn.004c2989
call fcn.004cfc7c
call fcn.004cfc7c
int3