Function at 0x4026e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov esi, dword [ebp + 8]
mov dword [esp + 4], 0
mov eax, dword [esi]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__access]
mov dword [ebp - 0x80], eax
call eax
test eax, eax
jne 0x402718
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x20
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0
call fcn.004f0a30
mov ebx, eax
lea ecx, [eax + 8]
lea eax, [eax + 0x10]
mov edx, dword [esi + 4]
mov dword [ebx + 8], eax
mov eax, dword [esi]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
lea eax, [ebp - 0x6c]
sub esp, 8
mov ecx, ebx
mov dword [esp], eax
lea ebx, [ebp - 0x28]
call fcn.004da3e0
mov eax, dword [esi]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x30]
sub esp, 4
add dword [ebp - 0x64], 1
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x30], ebx
call fcn.00401bb0
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x2c]
sub esp, 8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
sub esp, 8
lea ecx, [ebp - 0x30]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x5c
call fcn.00454a80
sub esp, 8
cmp eax, 0xffffffff
je 0x4027dc
mov edx, dword [ebp - 0x5c]
cmp eax, edx
ja 0x402afa
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x4027f8
mov edi, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
lea esi, [esi]
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
cmp eax, dword [esi + 4]
je 0x402976
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x80]
mov dword [esp], edi
call eax
mov edi, dword [ebp - 0x6c]
test eax, eax
je 0x402997
mov dword [esp], 0x20
call fcn.004f0a30
mov edx, eax
lea ecx, [eax + 8]
lea eax, [eax + 0x10]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.00401bb0
sub esp, 8
mov ecx, dword [ebp - 0x7c]
mov dword [esp], edi
call fcn.004da3e0
lea eax, [ebp - 0x60]
mov ecx, esi
add dword [ebp - 0x64], 1
sub esp, 4
mov dword [esp], eax
call fcn.004c37c0
lea eax, [ebp - 0x40]
mov edx, dword [esi + 4]
sub esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [esi]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
sub esp, 8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
sub esp, 8
lea ecx, [ebp - 0x48]
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x5c
call fcn.00454a80
sub esp, 8
cmp eax, 0xffffffff
je 0x4028e5
mov edx, dword [ebp - 0x2c]
cmp eax, edx
ja 0x402ade
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [edx + eax], 0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x402a78
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x7c], edi
lea edi, [ebp - 0x58]
cmp eax, edi
je 0x402ab0
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
test eax, eax
je 0x402abc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x402947
mov edi, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x48]
lea edi, [ebp - 0x40]
cmp eax, edi
je 0x4027f8
mov edi, dword [ebp - 0x40]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov edi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
cmp eax, dword [esi + 4]
jne 0x402807
test eax, eax
je 0x402994
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x402807
mov edi, dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
mov esi, dword [sym.imp.msvcrt.dll__mkdir]
cmp edi, eax
je 0x4029ef
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x30], ebx
lea ecx, [ebp - 0x30]
mov eax, dword [edi + 8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, dword [ebp - 0x30]
sub esp, 8
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x402a60
mov ecx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov edi, dword [edi]
lea eax, [ebp - 0x6c]
cmp edi, eax
jne 0x4029a4
mov eax, dword [ebp - 0x60]
lea esi, [ebp - 0x58]
cmp eax, esi
je 0x402a0b
mov esi, dword [ebp - 0x58]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov ebx, dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
cmp ebx, eax
jne 0x402a22
jmp 0x40270a
mov ebx, esi
mov eax, dword [ebx + 8]
lea edx, [ebx + 0x10]
mov esi, dword [ebx]
cmp eax, edx
je 0x402a40
mov edi, dword [ebx + 0x10]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call fcn.004f09f0
lea eax, [ebp - 0x6c]
cmp esi, eax
jne 0x402a20
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [edi]
lea eax, [ebp - 0x6c]
cmp edi, eax
jne 0x4029a4
jmp 0x4029ef
test edx, edx
je 0x402a97
cmp edx, 1
je 0x402ad0
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], edx
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x30]
jmp 0x402924
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], ebx
lea ebx, [ebp - 0x28]
mov eax, ebx
jmp 0x402924
movzx edx, byte [ebp - 0x28]
mov byte [eax], dl
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x60]
jmp 0x402a97
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x504142
mov dword [esp], 0x504158
call fcn.004eb310
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x504142
mov dword [esp], 0x504158
call fcn.004eb310
mov esi, eax
jmp 0x4f1960
mov edx, dword [ebp - 0x30]
cmp edx, ebx
je 0x4f1979
mov eax, dword [ebp - 0x28]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.004f09f0
mov ebx, esi
jmp 0x4f1990
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x58]
cmp edx, eax
je 0x4f19ac
mov eax, dword [ebp - 0x58]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.004f09f0
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x6c]
cmp esi, eax
jne 0x4f1a4b
mov dword [esp], ebx
call fcn.00433f10
mov dword [esp], ebx
mov ebx, esi
mov dword [esp + 4], 0x20
call fcn.004f09f0
jmp 0x4f19ac
mov edx, dword [esi + 8]
lea eax, [esi + 0x10]
mov edi, dword [esi]
cmp edx, eax
je 0x4f1a69
mov eax, dword [esi + 0x10]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.004f09f0
mov dword [esp], esi
mov esi, edi
mov dword [esp + 4], 0x20
call fcn.004f09f0
jmp 0x4f19af