Function at 0x405920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0x2c], 0xe8e162d7
jmp 0x405940
mov dword [ebp - 0x2c], 0xb5ca9df
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x2c]
cmp eax, 0xc0667801
jg 0x405960
cmp eax, 0xa04fcc39
jne 0x405940
jmp 0x405932
cmp eax, 0xe2f39136
jg 0x405980
cmp eax, 0xc0667802
jne 0x405940
mov dword [ebp - 0x2c], 0xe2f39137
jmp 0x405940
cmp eax, 0x7089ef31
jg 0x4059be
cmp eax, 0x62e564d9
jg 0x4059d5
cmp eax, 0x2bc7b976
jg 0x4059e5
cmp eax, 0xe8e162d6
jg 0x405a81
cmp eax, 0xe2f39137
jne 0x405940
mov ecx, dword [ebp - 0x10]
mov eax, 0xa04fcc39
cmp dword [ecx], 0
je 0x4059b9
mov eax, 0x62e564da
mov dword [ebp - 0x2c], eax
jmp 0x405940
cmp eax, 0x7089ef32
jne 0x405940
mov dword [ebp - 0x2c], 0xe2f39137
jmp 0x405940
cmp eax, 0x62e564da
jne 0x405940
jmp 0x405d6d
cmp eax, 0x2bc7b977
jne 0x405940
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00417020
mov edx, esp
mov eax, 4
call fcn.00417020
mov ecx, esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00417020
mov ebx, esp
mov eax, 0x108
call fcn.00417020
mov eax, 4
call fcn.00417020
mov esi, esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x30]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [ecx], eax
sub esp, 4
mov dword [esp], eax
call fcn.004049d0
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov dword [ebx], 0
mov dword [esi], 0
mov dword [ebp - 0x2c], 0x8138ad2
jmp 0x405940
cmp eax, 0xfb360acd
jg 0x405a9f
cmp eax, 0xe8e162d7
jne 0x405940
mov dword [ebp - 0x2c], 0x8138ad2
jmp 0x405940
cmp eax, 0xfb360ace
je 0x405b5e
cmp eax, 0x8138ad2
jne 0x405c60
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x18], esp
mov eax, 0x108
call fcn.00417020
mov dword [ebp - 0x14], esp
mov eax, 4
call fcn.00417020
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004049d0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov dword [ebp - 0x2c], 0x7089ef32
jmp 0x405940
mov eax, dword [ebp - 0x14]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 0x105
mov dword [esp + 4], 0
call fcn.00403e40
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00403e40
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x105
call fcn.00404ea0
add esp, 8
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call fcn.004049d0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00404330
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x1c]
sub edx, dword [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi]
add edi, dword [esi]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00404330
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 0xb5ca9df
jmp 0x405940
cmp eax, 0xb5ca9df
jne 0x405940
mov eax, dword [ebp - 0x14]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 0x105
mov dword [esp + 4], 0
call fcn.00403e40
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00403e40
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0x105
call fcn.00404ea0
add esp, 8
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esp], eax
call fcn.004049d0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00404330
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
mov esi, dword [ebp - 0x1c]
sub edx, dword [esi]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi]
add edi, dword [esi]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00404330
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x2c], 0xc0667802
jmp 0x405940
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret