Function at 0x4b2780
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 0x51467f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x138
mov eax, dword [0x567040]
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 [0x5728a4], edi
jne 0x4b292f
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.004d6687
add esp, 4
test eax, eax
jne 0x4b2d00
mov eax, dword [ebp - 0x48]
cmp eax, 0x7fffffff
je 0x4b2d07
mov dword [ebp - 4], edi
call fcn.00434180
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.004174b0
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00417ad0
mov edi, eax
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00417940
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x13c], 0x20
jbe 0x4b28a7
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x4b288f
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b28a7
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.0041bbd0
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 [0x5728a4], eax
call fcn.00415000
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004d6698
add esp, 4
cmp dword [0x5728a4], 0
jne 0x4b292f
push 0x5429e4
call esi
call fcn.004ae9b0
test al, al
jne 0x4b293f
push 0x542a04
call esi
lea ecx, [ebp - 0x44]
call fcn.004174b0
mov edx, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.00417ad0
push 3
push 0x542b60
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 0x4b29d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x135], 1
cmp eax, 0xb7
jne 0x4b29db
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 0x4b2a0d
push 0x542b68
call esi
call fcn.00434180
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.004174b0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.00417ad0
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.0041bbd0
or edi, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x4b2ad6
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2acc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2d12
push ecx
push edx
call fcn.004d4141
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.004f0b63
mov esi, dword [eax]
call fcn.004f0b5d
push 0x6400000
push edi
push esi
push dword [eax]
call dword [0x572548]
mov byte [ebp - 4], 0xf
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4b2b7a
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2b70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2d17
push ecx
push edx
call fcn.004d4141
add esp, 8
push 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call dword [0x572540]
add esp, 4
push 1
call dword [0x572544]
mov ecx, dword [0x5728a8]
add esp, 4
test ecx, ecx
jne 0x4b2cc1
call fcn.00434180
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.004174b0
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x104]
call fcn.00417ad0
mov esi, eax
mov edx, esi
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.00417940
mov ecx, dword [ebp - 0x140]
or ecx, 0x40
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x13c], ecx
jbe 0x4b2c32
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4b2c17
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, 0x5c
cmp dx, word [ecx + eax*2 - 2]
je 0x4b2c32
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.0041bbd0
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 [0x5728a8], eax
call fcn.00415000
mov ecx, dword [0x5728a8]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ecx, ecx
jne 0x4b2cc7
push 0x542b3c
call esi
mov ecx, dword [0x5728a8]
jmp 0x4b2cc7
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.004aa670
test al, al
jne 0x4b2cd7
push 0x542b08
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.004d412e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 5
call fcn.004d6629
dec eax
push 6
mov dword [ebp - 0x48], eax
call fcn.004d6629
call fcn.004e392c
call fcn.004e392c
int3