Function at 0x4844f0
Capabilities:
Create directory
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1972
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [0x54a2b0]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x10], ebx
push 0x15
mov dword [esp + 0x58], ecx
xor ebp, ebp
mov edi, 0xf
push 0x507d7c
lea ecx, [esp + 0x80]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebp
mov byte [esp + 0x84], bl
call fcn.00401eb0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x144], ebp
call fcn.0040f090
push ebp
push 0x507d94
mov byte [esp + 0x148], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x11c]
call fcn.00401510
push 0x6c
call fcn.004c14e8
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x140], 2
je 0x484626
push 9
push 0x507da0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], bl
call fcn.00401eb0
push 9
mov ebx, 3
push 0x507dac
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], bl
mov dword [esp + 0x18], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00401eb0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov dword [esp + 0x148], 4
mov dword [esp + 0x18], ebx
call fcn.0040ec50
mov dword [esp + 0x18], eax
jmp 0x48462a
mov dword [esp + 0x18], ebp
test bl, 2
je 0x484655
mov eax, dword [esp + 0x50]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x484648
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 1
mov dword [esp + 0x140], 1
je 0x48467e
mov eax, dword [esp + 0x34]
and ebx, 0xfffffffe
cmp eax, 0x10
jb 0x48467e
mov edx, dword [esp + 0x20]
push edx
call fcn.004c2c15
add esp, 4
cmp byte [0x54c1c5], 1
push 0x60
jne 0x4847c7
call fcn.004c14e8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov byte [esp + 0x140], 7
je 0x48474c
push 4
push 0x507db8
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
call fcn.00401eb0
push ebp
or ebx, 4
push 0x507dbd
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
call fcn.00401eb0
push 0xb
or ebx, 8
push 0x507dc0
lea ecx, [esp + 0x40]
mov dword [esp + 0x148], 9
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00401eb0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
or ebx, 0x10
push edx
mov ecx, esi
mov dword [esp + 0x14c], 0xa
mov dword [esp + 0x1c], ebx
call fcn.0040e920
jmp 0x48474e
xor eax, eax
test bl, 0x10
mov dword [esp + 0x14], eax
mov esi, 0x10
je 0x484781
mov eax, dword [esp + 0x50]
and ebx, 0xffffffef
cmp eax, esi
jb 0x484774
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 8
je 0x4847ab
mov eax, dword [esp + 0x34]
and ebx, 0xfffffff7
cmp eax, esi
jb 0x48479e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
test bl, 4
mov dword [esp + 0x140], 1
je 0x484910
and ebx, 0xfffffffb
jmp 0x4848fd
call fcn.004c14e8
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov byte [esp + 0x140], 0xe
je 0x484889
push 5
push 0x507dcc
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
call fcn.00401eb0
push ebp
or ebx, 0x20
push 0x507dd2
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 0xf
mov dword [esp + 0x18], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebp
mov byte [esp + 0x44], 0
call fcn.00401eb0
push 0xb
or ebx, 0x40
push 0x507dd4
lea ecx, [esp + 0x24]
mov dword [esp + 0x148], 0x10
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
call fcn.00401eb0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
or ebx, 0x80
push edx
mov ecx, esi
mov dword [esp + 0x14c], 0x11
mov dword [esp + 0x1c], ebx
call fcn.0040e920
jmp 0x48488b
xor eax, eax
test bl, bl
mov dword [esp + 0x14], eax
mov esi, 0x10
jns 0x4848c0
mov eax, dword [esp + 0x34]
and ebx, 0xffffff7f
cmp eax, esi
jb 0x4848b3
mov eax, dword [esp + 0x20]
push eax
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
test bl, 0x40
je 0x4848ea
mov eax, dword [esp + 0x50]
and ebx, 0xffffffbf
cmp eax, esi
jb 0x4848dd
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
test bl, 0x20
mov dword [esp + 0x140], 1
je 0x484910
and ebx, 0xffffffdf
cmp dword [esp + 0x70], esi
jb 0x484910
mov edx, dword [esp + 0x5c]
push edx
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040ef30
push esi
lea ecx, [esp + 0x98]
call fcn.0040ef30
push 0x54
call fcn.004c14e8
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, ebp
mov byte [esp + 0x140], 0x15
je 0x48498a
push 8
push 0x507de0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov byte [esp + 0x64], 0
call fcn.00401eb0
lea ecx, [esp + 0x58]
or ebx, 0x100
push ecx
mov ecx, esi
mov byte [esp + 0x144], 0x16
mov dword [esp + 0x14], ebx
call fcn.0040ece0
mov dword [esp + 0x14], eax
jmp 0x48498e
mov dword [esp + 0x14], ebp
test bh, 1
mov dword [esp + 0x140], 1
je 0x4849ba
mov eax, dword [esp + 0x70]
and ebx, 0xfffffeff
cmp eax, 0x10
jb 0x4849ba
mov edx, dword [esp + 0x5c]
push edx
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x98]
call fcn.0040ef30
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x484ac0
lea esp, [esp]
mov edx, dword [edi + 8]
push 0x54
mov dword [esp + 0x1c], edx
call fcn.004c14e8
mov esi, eax
add esp, 4
mov dword [esp + 0x74], esi
cmp esi, ebp
mov byte [esp + 0x140], 0x18
je 0x484a46
push 9
push str.a_profile
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
call fcn.00401eb0
lea eax, [esp + 0x1c]
or ebx, 0x200
push eax
mov ecx, esi
mov byte [esp + 0x144], 0x19
mov dword [esp + 0x14], ebx
call fcn.0040ece0
mov esi, eax
jmp 0x484a48
xor esi, esi
test bh, 2
mov dword [esp + 0x140], 1
je 0x484a85
mov eax, dword [esp + 0x34]
and ebx, 0xfffffdff
cmp eax, 0x10
jb 0x484a74
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004c2c15
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x18]
call fcn.004810a0
push eax
mov ecx, esi
call fcn.0040f000
mov ecx, dword [esp + 0x18]
call fcn.00481610
push eax
mov ecx, esi
call fcn.0040f000
mov ecx, dword [esp + 0x14]
push esi
call fcn.0040f000
mov edx, dword [esp + 0x54]
mov edi, dword [edi]
cmp edi, dword [edx + 4]
jne 0x4849e0
lea ecx, [esp + 0x94]
call fcn.00410040
lea ecx, [esp + 0x94]
mov byte [esp + 0x140], 0
call fcn.0040a4f0
cmp dword [esp + 0x90], 0x10
pop edi
pop esi
pop ebp
pop ebx
jb 0x484afb
mov eax, dword [esp + 0x6c]
push eax
call fcn.004c2c15
add esp, 4
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.004c2e45
add esp, 0x134
ret