Function at 0x46f820
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484b4b
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4b6018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [ebp - 0xdc], eax
call fcn.0046e670
add esp, 4
mov byte [ebp - 0xdd], al
movzx eax, byte [ebp - 0xdd]
test eax, eax
je 0x46f8a9
mov byte [ebp - 0x41], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, byte [ebp - 0x41]
jmp 0x46fa5e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2672]
movsx ecx, al
cmp ecx, 0x5c
je 0x46f8d5
push 0x5c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_1334]
lea ecx, [ebp - 0x38]
call fcn.00404c00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x3c], 0
jmp 0x46f904
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x70]
jge 0x46f95f
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2672]
movsx ecx, al
cmp ecx, 0x5c
je 0x46f946
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2672]
movzx eax, al
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_1334]
jmp 0x46f95d
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00404d80
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_1334]
jmp 0x46f8fb
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x98], edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004076a0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jmp 0x46f9c3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], edx
lea ecx, [ebp - 0x1c]
call fcn.004051d0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x50], ecx
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404e90
movzx eax, al
test eax, eax
je 0x46fa14
lea ecx, [ebp - 0x1c]
call fcn.00403ac0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
mov dword [ebp - 0xb0], edx
push 0
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne cl
mov byte [ebp - 0x1d], cl
jmp 0x46f997
mov dl, byte [ebp - 0x1d]
mov byte [ebp - 0x5d], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00405100
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret