Function at 0x404a50
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42d058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x45e970]
push ebx
push ebp
mov ebx, 1
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
push str.________________________________r_n
push 0x3c
mov byte [esp + 0x2c], bl
call fcn.00404290
add esp, 8
call fcn.0042a7bc
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x138]
push eax
push 0x3c
call fcn.00404290
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 8
mov edi, 0x44aeb0
mov eax, dword [esi + 0x60]
mov ecx, dword [edi]
lea edx, [esp + 0x10]
mov eax, dword [eax + 0x2b8]
push eax
push ecx
push edx
call fcn.00420acf
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push eax
call ebp
test eax, eax
jne 0x404afb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404b97
call fcn.0042a7bc
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [eax + 0x140]
push eax
push 0x3c
call fcn.00404290
add edi, 4
add esp, 0xc
cmp edi, 0x44aed0
jb 0x404ac3
mov eax, dword [esi + 0x60]
push 0x43c328
add eax, 0x8c
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004227e9
mov ecx, dword [esi + 0x60]
push eax
add ecx, 0x98
mov byte [esp + 0x28], 2
call fcn.004226ce
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00422625
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x404c06
mov ecx, dword [esi + 0x60]
push 0x4623a8
add ecx, 0x94
call fcn.0042271e
mov eax, dword [0x4623a4]
test eax, eax
jne 0x404bf4
mov edx, dword [esi + 0x60]
push 0xf
push 0x446180
mov eax, dword [edx + 0x2b8]
jmp 0x404c16
call fcn.0042a7bc
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [eax + 0x13c]
push eax
push 0x3c
call fcn.00404290
add esp, 0xc
mov dword [esi + 0x5c], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.00422625
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00422625
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov eax, dword [esi + 0x60]
push 0xc
push 0x447ff8
mov eax, dword [eax + 0x2b8]
jmp 0x404c16
mov ecx, dword [esi + 0x60]
push 0xb
push str.amrcl.exe
mov eax, dword [ecx + 0x2b8]
push eax
mov ecx, esi
call fcn.004051c0
test eax, eax
mov dword [esp + 0x14], eax
jle 0x404bb5
mov eax, dword [esi + 0x60]
lea edx, [eax + 0x2b8]
lea ecx, [eax + 0x8c]
push edx
call fcn.004226ce
mov eax, dword [esi + 0x60]
push 0x43c328
add eax, 0x8c
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004227e9
mov ecx, dword [esi + 0x60]
push eax
add ecx, 0x98
mov byte [esp + 0x28], 3
call fcn.004226ce
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00422625
mov edx, dword [esi + 0x60]
push 0x45de30
add edx, 0x8c
lea eax, [esp + 0x30]
push edx
push eax
call fcn.004227e9
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.004226ce
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00422625
call fcn.0042a7bc
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, 0xd0
push eax
call fcn.004226ce
mov ecx, esi
call fcn.00405600
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x19
call fcn.00406020
add esp, 0xc
call fcn.0042a7bc
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x108]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call fcn.00405ed0
add esp, 0xc
mov ecx, esi
call fcn.004059a0
jmp 0x404bbc