Function at 0x409510
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x44f6d9
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469720]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
sub esp, 0x1c
mov esi, esp
xor edi, edi
mov dword [esp + 0x60], esp
push edi
mov ebx, 7
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
sub esp, 0x1c
mov dword [esp + 0xfc], edi
mov esi, esp
mov dword [esp + 0x68], esp
push edi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
lea eax, [esp + 0xd8]
mov byte [esp + 0xfc], 1
call fcn.0040b2d0
mov esi, eax
mov eax, dword [esp + 0x104]
add eax, 0xa8
push 0x457ad4
push eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x108], 2
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 3
cmp dword [esi + 0x18], 8
jb 0x4095de
mov esi, dword [esi + 4]
jmp 0x4095e1
add esi, 4
push esi
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push ecx
push eax
call ebx
cmp eax, edi
jne 0x409610
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x7c], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409630
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
lea eax, [esp + 0xa0]
mov byte [esp + 0x118], 5
call fcn.0040b2a0
mov ebp, eax
lea esi, [esp + 0x68]
mov byte [esp + 0x118], 6
call fcn.004019c0
push 0x457ad4
push eax
lea edx, [esp + 0x88]
push edx
mov byte [esp + 0x124], 7
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0x118], 8
cmp dword [ebp + 0x18], 8
jb 0x40969e
mov ebp, dword [ebp + 4]
jmp 0x4096a1
add ebp, 4
push ebp
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004056a0
push str..lnk
push eax
lea ecx, [esp + 0xa4]
push ecx
mov byte [esp + 0x130], 9
call fcn.004056a0
add esp, 0x18
mov byte [esp + 0x118], 0xa
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call ebx
cmp eax, edi
jne 0x4096e8
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0xa4], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409707
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
mov byte [esp + 0x134], 0x12
call fcn.00411e30
mov byte [esp + 0x134], 0x11
mov eax, dword [esp + 0xac]
add eax, 0xfffffff0
add esp, 0x70
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x10
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0xf
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0xe
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 8
cmp dword [esp + 0x64], ebx
jb 0x4097e8
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041218b
add esp, 4
mov byte [esp + 0xc4], 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409821
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc4], 0xffffffff
cmp dword [esp + 0xb8], ebx
jb 0x40986d
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0041218b
add esp, 4
lea eax, [esp + 0x4c]
call fcn.0040b2a0
mov ebp, eax
lea esi, [esp + 0x18]
mov dword [esp + 0xc4], 0x13
call fcn.00401a60
push 0x457ad4
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0xd0], 0x14
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xc4], 0x15
cmp dword [ebp + 0x18], ebx
jb 0x4098b9
mov ebp, dword [ebp + 4]
jmp 0x4098bc
add ebp, 4
push ebp
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xc4], 0x17
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x18
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40991b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0x19
mov byte [esp + 0xc4], bl
cmp dword [esp + 0x64], 8
jb 0x409938
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041218b
add esp, 4
mov edx, dword [esp + 0x1c]
push edi
mov ebp, 7
push edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x60], esp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
sub esp, 0x1c
mov byte [esp + 0xfc], 0x1a
mov esi, esp
mov dword [esp + 0x68], esp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
lea eax, [esp + 0xd8]
mov byte [esp + 0xfc], 0x1b
call fcn.0040b2d0
mov esi, eax
mov eax, dword [esp + 0x78]
push 0x457ad4
push eax
lea ecx, [esp + 0x64]
push ecx
mov byte [esp + 0x108], 0x1c
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 0x1d
cmp dword [esi + 0x18], 8
jb 0x4099e2
mov esi, dword [esi + 4]
jmp 0x4099e5
add esi, 4
push esi
push eax
lea edx, [esp + 0x7c]
push edx
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 0x1e
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
jne 0x409a12
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x7c], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409a30
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
lea eax, [esp + 0xbc]
mov byte [esp + 0x118], 0x1f
call fcn.0040b2a0
mov esi, eax
push 0x457ad4
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x124], 0x20
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0x118], 0x21
cmp dword [esi + 0x18], 8
jb 0x409a91
mov esi, dword [esi + 4]
jmp 0x409a94
add esi, 4
push esi
push eax
lea edx, [esp + 0x88]
push edx
call fcn.004056a0
push str..lnk
push eax
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x130], 0x22
call fcn.004056a0
add esp, 0x18
mov byte [esp + 0x118], 0x23
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
jne 0x409adc
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0xa4], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
jmp 0x409b00
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409b00
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
mov byte [esp + 0x134], 0x2a
call fcn.00411e30
mov byte [esp + 0x134], 0x29
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
add esp, 0x70
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x28
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x27
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 8
cmp dword [esp + 0x80], esi
jb 0x409bbc
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0041218b
add esp, 4
mov byte [esp + 0xc4], 0x25
mov eax, dword [esp + 0x3c]
mov ebp, 7
add eax, 0xfffffff0
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], di
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409bf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x24
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409c21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xb8], esi
jb 0x409c41
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.0041218b
add esp, 4
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x60], esp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
sub esp, 0x1c
mov byte [esp + 0xfc], 0x2b
mov esi, esp
mov dword [esp + 0x58], esp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], edi
push 0x457abc
mov word [esi + 4], di
call fcn.00406370
lea eax, [esp + 0xbc]
mov byte [esp + 0xfc], 0x2c
call fcn.0040b330
mov esi, eax
mov edx, dword [esp + 0x78]
push 0x457ad4
push edx
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x108], 0x2d
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 0x2e
cmp dword [esi + 0x18], 8
jb 0x409ccd
mov esi, dword [esi + 4]
jmp 0x409cd0
add esi, 4
push esi
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0xfc], 0x2f
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
jne 0x409cfd
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ebx, 7
mov ecx, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x6c], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409d20
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
lea eax, [esp + 0xbc]
mov byte [esp + 0x118], 0x30
call fcn.0040b2a0
mov esi, eax
push 0x457f54
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x124], 0x31
call fcn.004056a0
add esp, 0xc
mov byte [esp + 0x118], 0x32
cmp dword [esi + 0x18], 8
jb 0x409d81
mov esi, dword [esi + 4]
jmp 0x409d84
add esi, 4
push esi
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.004056a0
push str..lnk
push eax
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0x130], 0x33
call fcn.004056a0
add esp, 0x18
mov byte [esp + 0x118], 0x34
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
cmp eax, edi
jne 0x409dcf
call fcn.00401150
sub esp, 0x1c
mov esi, esp
mov ecx, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
mov dword [esp + 0x84], esp
mov word [esi + 4], di
lea ebp, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409df0
sub ecx, ebp
sar ecx, 1
push ecx
push eax
call fcn.00406370
mov byte [esp + 0x134], 0x3b
call fcn.00411e30
mov byte [esp + 0x134], 0x3a
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
add esp, 0x70
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x39
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x38
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 8
cmp dword [esp + 0x80], esi
jb 0x409eac
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0041218b
add esp, 4
mov byte [esp + 0xc4], 0x36
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], di
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409ee4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc4], 0x35
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x9c], esi
jb 0x409f25
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0041218b
add esp, 4
mov dword [esp + 0xc4], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409f66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 4