Function at 0x4b0030
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 0x511d8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x138
mov eax, dword [0x564040]
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 [0x56f8c0], edi
jne 0x4b01df
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.004d4335
add esp, 4
test eax, eax
jne 0x4b05b0
mov eax, dword [ebp - 0x48]
cmp eax, 0x7fffffff
je 0x4b05b7
mov dword [ebp - 4], edi
call fcn.00437d10
lea ecx, [ebp - 0xbc]
lea edx, [eax + 0x34]
call fcn.00416590
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.004177a0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00417dc0
mov edi, eax
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00417c30
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x13c], 0x20
jbe 0x4b0157
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x4b013f
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b0157
push edx
lea ecx, [ebp - 0x2c]
call fcn.00416790
push dword [ebp - 0x140]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0x44]
call fcn.0041c240
lea ecx, [ebp - 0x2c]
mov edi, 0x10
call fcn.00415020
lea ecx, [ebp - 0xa4]
call fcn.00415020
lea ecx, [ebp - 0x8c]
call fcn.00415020
lea ecx, [ebp - 0xbc]
call fcn.00415020
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 [0x56f8c0], eax
call fcn.00415020
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004d4346
add esp, 4
cmp dword [0x56f8c0], 0
jne 0x4b01df
push 0x53f6e0
call esi
call fcn.004ac210
test al, al
jne 0x4b01ef
push 0x53f700
call esi
lea ecx, [ebp - 0x44]
call fcn.004177a0
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.00417dc0
push 3
push 0x53f6c4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00416c20
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 0x4b0284
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x135], 1
cmp eax, 0xb7
jne 0x4b028b
mov byte [ebp - 0x135], 0
lea ecx, [ebp - 0x2c]
call fcn.00415020
lea ecx, [ebp - 0xbc]
call fcn.00415020
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.00415020
cmp byte [ebp - 0x135], 0
je 0x4b02bd
push 0x53f6cc
call esi
call fcn.00437d10
lea ecx, [ebp - 0x5c]
lea edx, [eax + 0x7c]
call fcn.00416590
mov esi, eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 7
call fcn.004177a0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.00417dc0
push 4
push str.log_
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00416c20
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.0041c240
or edi, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4b0386
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b037c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b05c2
push ecx
push edx
call fcn.004d1b31
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.00415020
lea ecx, [ebp - 0xec]
call fcn.00415020
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.00415020
lea edx, [ebp - 0xd4]
lea ecx, [ebp - 0x2c]
call fcn.00416150
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.004eeb04
mov esi, dword [eax]
call fcn.004eeafe
push 0x6400000
push edi
push esi
push dword [eax]
call dword [0x56f568]
mov byte [ebp - 4], 0xf
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4b042a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b0420
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b05c7
push ecx
push edx
call fcn.004d1b31
add esp, 8
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [0x56f560]
add esp, 4
push 1
call dword [0x56f564]
mov ecx, dword [0x56f8c4]
add esp, 4
test ecx, ecx
jne 0x4b0571
call fcn.00437d10
lea ecx, [ebp - 0x134]
lea edx, [eax + 4]
call fcn.00416590
mov edi, eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x11
call fcn.004177a0
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x104]
call fcn.00417dc0
mov esi, eax
mov edx, esi
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.00417c30
mov ecx, dword [ebp - 0x140]
or ecx, 0x40
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x13c], ecx
jbe 0x4b04e2
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4b04c7
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b04e2
push edx
lea ecx, [ebp - 0x8c]
call fcn.00416790
push edi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x144]
lea ecx, [ebp - 0xa4]
call fcn.0041c240
lea ecx, [ebp - 0x8c]
call fcn.00415020
lea ecx, [ebp - 0x104]
call fcn.00415020
lea ecx, [ebp - 0x11c]
call fcn.00415020
lea ecx, [ebp - 0x134]
call fcn.00415020
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 [0x56f8c4], eax
call fcn.00415020
mov ecx, dword [0x56f8c4]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ecx, ecx
jne 0x4b0577
push 0x53f6a0
call esi
mov ecx, dword [0x56f8c4]
jmp 0x4b0577
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004a8120
test al, al
jne 0x4b0587
push 0x53f7b8
call esi
lea ecx, [ebp - 0xd4]
call fcn.00415020
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.004d1b1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 5
call fcn.004d42d7
dec eax
push 6
mov dword [ebp - 0x48], eax
call fcn.004d42d7
call fcn.004e183c
call fcn.004e183c
int3