Function at 0x4091c0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4425f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x4573c0]
push ebp
mov dword [esp + 0x118], eax
push esi
push 0x44596c
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0
call fcn.00403c90
push 0x44596c
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 1
call fcn.00403c90
mov ebp, dword [esp + 0x130]
push 0x445a28
push ebp
mov byte [esp + 0x130], 2
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x409242
push esi
call fcn.004237f7
add esp, 4
push ebx
push edi
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401f80
mov eax, dword [esp + 0x10]
push 0x44596c
push eax
call fcn.00423e36
add esp, 8
test eax, eax
je 0x4093fe
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx - 0xc]
mov eax, dword [ebp - 0xc]
sub eax, ebx
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x140]
call fcn.00402060
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x130], 3
je 0x4092ec
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x4092de
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4092de
push eax
call fcn.00401880
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4092d5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4092ec
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401f80
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x130], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
call fcn.00405520
mov ecx, dword [eax]
mov esi, dword [esp + 0x10]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x130], 4
je 0x409394
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x409386
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409386
push eax
call fcn.00401880
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40937d
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x409394
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401f80
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x130], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4093ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push 0x445a28
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x4093d9
push esi
call fcn.004237f7
add esp, 4
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401f80
mov ecx, dword [esp + 0x10]
push 0x44596c
push ecx
call fcn.00423e36
add esp, 8
test eax, eax
jne 0x409270
push 0
push 0
push 0x104
mov byte [esp + 0x2c], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x2d]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x2c]
push edx
push 0xffffffffffffffff
push ebp
stosw word es:[edi], ax
push 0
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x20]
push 0x446754
push eax
call fcn.00424987
mov esi, dword [esp + 0x144]
add esp, 8
test esi, esi
mov ebx, eax
je 0x4094f7
test ebx, ebx
je 0x4094f7
push 0x100000
call fcn.00438ff7
mov ebp, eax
xor eax, eax
mov ecx, 0x40000
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x144]
push eax
push ecx
push esi
call fcn.004248e2
mov edi, dword [esp + 0x154]
add esp, 0x10
jmp 0x409492
mov esi, dword [esp + 0x13c]
cmp edi, 0x100000
mov eax, 0x100000
jg 0x4094a1
mov eax, edi
push esi
push eax
push 1
push ebp
call fcn.00424807
push ebx
mov esi, eax
push esi
push 1
push ebp
call fcn.004246d2
push ebx
sub edi, esi
call fcn.00424572
add esp, 0x24
test edi, edi
jg 0x40948b
push ebx
call fcn.004243c1
xor eax, eax
add esp, 4
test ebp, ebp
mov ecx, 0x40000
mov edi, ebp
rep stosd dword es:[edi], eax
je 0x4094e7
push ebp
call fcn.00438ff2
add esp, 4
push ebx
call fcn.004243c1
mov ebp, dword [esp + 0x13c]
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x130], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop ebx
jg 0x40951f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x128], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebp
jg 0x40956c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114]
call fcn.00423e28
add esp, 0x124
ret