Function at 0x42ab00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x14]
cmp dword [eax + 0xbc], 0x14
jne 0x42adc2
mov ebx, dword [eax + 0x94]
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0xc0]
xor ecx, ecx
mov edi, eax
mov dword [ebp - 0x18], ecx
shl edi, 0xb
sub edi, eax
mov dword [ebp - 4], ecx
shl edi, 3
sub edi, eax
mov ecx, 7
mov dword [ebp - 0x2c], edx
lea eax, [edi*4 + 0x10]
lea edi, [ebp - 0x70]
mov dword [ebp - 0x1c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [str.VirtuaNES_DI]
mov eax, dword [0x44ed74]
mov dword [ebp - 0x70], ecx
mov ecx, dword [0x44ed78]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x68], ecx
mov word [ebp - 0x64], 0x210
mov ecx, dword [eax + 0xb8]
mov dword [ebp - 0x60], ecx
mov ecx, dword [eax + 0xb4]
mov word [ebp - 0x5c], cx
mov eax, dword [eax + 0xc0]
mov word [ebp - 0x5a], ax
mov eax, 0x10
cmp eax, dword [ebp - 0x1c]
jge 0x42abc8
cmp byte [eax + edx], 0
je 0x42abc5
inc dword [ebp - 0x58]
inc eax
jmp 0x42abb7
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x42adc2
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x44], dl
call fcn.00404ef0
mov eax, dword [0x4534e0]
mov byte [ebp - 4], 1
test eax, eax
je 0x42ac51
push 0
push 0x4535fc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 0x14]
push 0x44ed80
add eax, 0x1d0
lea ecx, [ebp - 0x54]
push eax
push 0x4535fc
push ecx
call fcn.00417a10
add esp, 0x10
mov edx, dword [0x442360]
lea ecx, [ebp - 0x44]
push edx
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00404cf0
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 1
test eax, eax
je 0x42acb1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42aca8
cmp al, 0xff
je 0x42aca8
dec al
mov byte [ecx], al
jmp 0x42acb1
mov esi, dword [esi + 0x14]
push 0x44ed80
lea ecx, [ebp - 0x54]
lea eax, [esi + 0x1d0]
add esi, 0xcc
push eax
push esi
push ecx
call fcn.00417a10
add esp, 0x10
mov edx, dword [0x442360]
lea ecx, [ebp - 0x44]
push edx
push 0
push eax
mov byte [ebp - 4], 3
call fcn.00404cf0
mov eax, dword [ebp - 0x50]
mov byte [ebp - 4], 1
test eax, eax
je 0x42acb1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42aca8
cmp al, 0xff
je 0x42aca8
dec al
mov byte [ecx], al
jmp 0x42acb1
push ecx
call fcn.00435930
add esp, 4
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x42acbd
mov eax, 0x442380
push 0x44ed4c
push eax
call fcn.004365e2
mov edi, eax
add esp, 8
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x42ad0f
push 4
call fcn.004011d0
mov ecx, dword [ebp - 0x40]
add esp, 4
test ecx, ecx
jne 0x42acea
mov ecx, 0x442380
push ecx
push eax
push 0x453324
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x453324
push 0x443a58
push eax
call fcn.00436a94
push edi
push 1
lea ecx, [ebp - 0x70]
push 0x1c
push ecx
call fcn.00437856
add esp, 0x10
cmp eax, 1
je 0x42ad40
push 6
call fcn.004011d0
add esp, 4
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
push 0x443a58
push edx
call fcn.00436a94
mov esi, 0x10
cmp esi, dword [ebp - 0x1c]
jge 0x42ad9e
mov eax, dword [ebp - 0x2c]
cmp byte [esi + eax], 0
je 0x42ad9b
mov eax, esi
xor ecx, ecx
and eax, 0xffffff
push edi
mov dword [ebp - 0x20], eax
mov cl, byte [esi + ebx]
shl ecx, 0x18
push 1
lea edx, [ebp - 0x20]
or eax, ecx
push 4
push edx
mov dword [ebp - 0x20], eax
call fcn.00437856
add esp, 0x10
cmp eax, 1
je 0x42ad9b
push 6
call fcn.004011d0
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x443a58
push eax
call fcn.00436a94
inc esi
jmp 0x42ad45
test edi, edi
je 0x42adab
push edi
call fcn.004364d2
add esp, 4
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42adc2
mov al, byte [ecx - 1]
test al, al
je 0x42add3
cmp al, 0xff
je 0x42add3
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00435930
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret