Function at 0x4b1250
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 0x512ecf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x138
mov eax, dword [0x565040]
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 [0x57087c], edi
jne 0x4b13ff
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.004d5157
add esp, 4
test eax, eax
jne 0x4b17d0
mov eax, dword [ebp - 0x48]
cmp eax, 0x7fffffff
je 0x4b17d7
mov dword [ebp - 4], edi
call fcn.00433c50
lea ecx, [ebp - 0xbc]
lea edx, [eax + 0x34]
call fcn.00416570
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00417480
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00417aa0
mov edi, eax
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00417910
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x13c], 0x20
jbe 0x4b1377
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x4b135f
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b1377
push edx
lea ecx, [ebp - 0x2c]
call fcn.00416770
push dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x44]
call fcn.0041b6d0
lea ecx, [ebp - 0x2c]
mov edi, 0x10
call fcn.00415000
lea ecx, [ebp - 0xa4]
call fcn.00415000
lea ecx, [ebp - 0x8c]
call fcn.00415000
lea ecx, [ebp - 0xbc]
call fcn.00415000
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 [0x57087c], eax
call fcn.00415000
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004d5168
add esp, 4
cmp dword [0x57087c], 0
jne 0x4b13ff
push 0x5410e0
call esi
call fcn.004ad500
test al, al
jne 0x4b140f
push 0x541030
call esi
lea ecx, [ebp - 0x44]
call fcn.00417480
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.00417aa0
push 3
push 0x541054
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00416c00
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 0x4b14a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x135], 1
cmp eax, 0xb7
jne 0x4b14ab
mov byte [ebp - 0x135], 0
lea ecx, [ebp - 0x2c]
call fcn.00415000
lea ecx, [ebp - 0xbc]
call fcn.00415000
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00415000
cmp byte [ebp - 0x135], 0
je 0x4b14dd
push 0x541010
call esi
call fcn.00433c50
lea ecx, [ebp - 0x5c]
lea edx, [eax + 0x7c]
call fcn.00416570
mov esi, eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 7
call fcn.00417480
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.00417aa0
push 4
push str.log_
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00416c00
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.0041b6d0
or edi, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4b15a6
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b159c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b17e2
push ecx
push edx
call fcn.004d2c11
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.00415000
lea ecx, [ebp - 0xec]
call fcn.00415000
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.00415000
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x2c]
call fcn.00416130
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.004ef623
mov esi, dword [eax]
call fcn.004ef61d
push 0x6400000
push edi
push esi
push dword [eax]
call dword [0x570524]
mov byte [ebp - 4], 0xf
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4b164a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1640
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b17e7
push ecx
push edx
call fcn.004d2c11
add esp, 8
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [0x57051c]
add esp, 4
push 1
call dword [0x570520]
mov ecx, dword [0x570880]
add esp, 4
test ecx, ecx
jne 0x4b1791
call fcn.00433c50
lea ecx, [ebp - 0x134]
lea edx, [eax + 4]
call fcn.00416570
mov edi, eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
call fcn.00417480
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x104]
call fcn.00417aa0
mov esi, eax
mov edx, esi
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.00417910
mov ecx, dword [ebp - 0x140]
or ecx, 0x40
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x13c], ecx
jbe 0x4b1702
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4b16e7
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b1702
push edx
lea ecx, [ebp - 0x8c]
call fcn.00416770
push edi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0xa4]
call fcn.0041b6d0
lea ecx, [ebp - 0x8c]
call fcn.00415000
lea ecx, [ebp - 0x104]
call fcn.00415000
lea ecx, [ebp - 0x11c]
call fcn.00415000
lea ecx, [ebp - 0x134]
call fcn.00415000
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 [0x570880], eax
call fcn.00415000
mov ecx, dword [0x570880]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ecx, ecx
jne 0x4b1797
push 0x541124
call esi
mov ecx, dword [0x570880]
jmp 0x4b1797
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004a93f0
test al, al
jne 0x4b17a7
push 0x541148
call esi
lea ecx, [ebp - 0xd4]
call fcn.00415000
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.004d2bfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 5
call fcn.004d50f9
dec eax
push 6
mov dword [ebp - 0x48], eax
call fcn.004d50f9
call fcn.004e23ec
call fcn.004e23ec
int3