Function at 0x4a8aa0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x5bc4bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
mov eax, dword [esp + 0x174]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x17c]
mov ecx, eax
shl ecx, 4
push edi
lea edi, [esi + 4]
add ecx, 0x649cb8
mov edx, edi
mov dword [esp + 0x20], 0
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [0x63b4a0]
mov dword [esp + 0x14], edx
inc eax
xor ecx, ecx
mov cx, word [esi + 0xe]
push eax
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x10]
mov dx, word [esi + 0xc]
push eax
push ecx
xor eax, eax
push edx
mov ax, word [esi + 0xa]
xor ecx, ecx
mov cx, word [esi + 6]
xor edx, edx
mov dx, word [edi]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push str._04d
push eax
mov dword [esp + 0x190], 1
call fcn.00588507
mov ecx, dword [0x63b4a0]
add esp, 0x24
mov dword [esp + 0x10], ecx
push 0x649cac
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 2
call fcn.0058e078
push 1
push 0x5c
lea ecx, [esp + 0x24]
call fcn.00587a52
lea edx, [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x174], 3
call fcn.00588015
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
call fcn.00568a52
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.0058df3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 2
call fcn.0058df3f
test bl, bl
je 0x4a8bff
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00588091
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 4
call fcn.0058e078
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 2
call fcn.0058df3f
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esi + 6]
xor edx, edx
mov dx, word [edi]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_04d_02d
push ecx
call fcn.00588507
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x14
lea edx, [esp + 0x24]
push edx
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x4a8c51
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
jmp 0x4a8c54
push eax
call ebx
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [esi + 0xa]
lea ecx, [esp + 0x10]
push edx
push eax
push str._s_02d
push ecx
call fcn.00588507
mov eax, dword [esp + 0x20]
add esp, 0x10
lea edx, [esp + 0x24]
push edx
push eax
call edi
cmp eax, 0xffffffff
jne 0x4a8c8e
mov ecx, dword [esp + 0x10]
push 0
push ecx
call ebp
jmp 0x4a8c91
push eax
call ebx
lea edx, [esp + 0x10]
push 0x619b84
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0058e1d4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov bl, 5
push eax
push edx
mov byte [esp + 0x178], bl
call fcn.0058e16e
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 6
call fcn.0058e078
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], bl
call fcn.0058df3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 2
call fcn.0058df3f
mov esi, dword [esp + 0x174]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0058dcb4
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x16c], 1
call fcn.0058df3f
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0
call fcn.0058df3f
mov ecx, dword [esp + 0x164]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x160
ret