Function at 0x4400b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aeee4
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x234], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x21c], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x44010e
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x440142
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x93c]
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x220], esi
test edx, edx
jne 0x44016e
xor ecx, ecx
jmp 0x440193
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x230], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440180
sub ecx, dword [ebp - 0x230]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004211a0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4401e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004211a0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x440342
mov ecx, dword [ebx + 0x954]
sub ecx, 0x10
call fcn.00420e60
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 0xa
push 0x613a78
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00436820
mov ecx, dword [ebx + 0x520]
mov esi, dword [ebp - 0x21c]
test ecx, ecx
je 0x44024d
mov eax, dword [ecx]
push esi
call dword [eax + 0x2c]
mov eax, dword [esi - 8]
mov ebx, 1
mov ecx, ebx
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x440271
push 0
lea ecx, [ebp - 0x21c]
call fcn.00420ff0
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x4402a5
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x44029c
push 0
lea ecx, [ebp - 0x21c]
call fcn.00420ff0
mov esi, dword [ebp - 0x21c]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push eax
call fcn.004349f0
mov byte [ebp - 4], bl
add esi, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4402d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0x520], 0
je 0x44031c
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x440303
push 0
mov ecx, esi
call fcn.00420ff0
mov eax, dword [ebp - 0x234]
push dword [esi]
mov ecx, dword [eax + 0x520]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x234]
cmp dword [eax + 0x524], 0
je 0x4405ce
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x440437
push 0x80004005
call fcn.004212c0
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.00434100
mov byte [ebp - 4], 3
mov ecx, 1
mov eax, dword [eax]
mov dword [ebp - 0x21c], ecx
mov edx, dword [eax - 0xc]
cmp edx, ecx
jne 0x44037d
test edx, edx
jns 0x440377
push 0x80070057
call fcn.004212c0
cmp word [eax], 0x5c
je 0x4403b5
push ecx
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00434100
mov ecx, 3
mov dword [ebp - 0x21c], ecx
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
cmp edx, 1
jne 0x4403be
test edx, edx
jns 0x4403af
push 0x80070057
call fcn.004212c0
cmp word [eax], 0x2f
jne 0x4403be
mov byte [ebp - 0x229], 0
jmp 0x4403c5
mov byte [ebp - 0x229], 1
or ebx, 0xffffffff
test cl, 2
je 0x4403f3
mov edx, dword [ebp - 0x230]
and ecx, 0xfffffffd
mov dword [ebp - 0x21c], ecx
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4403f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440417
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x229], 0
je 0x4402da
push 1
push 0x6135f4
mov ecx, esi
call fcn.00436820
jmp 0x4402da
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
push 2
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00434170
push eax
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 5
call fcn.004349f0
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44048c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
add edi, 0x554
push eax
mov ecx, edi
call fcn.00436dd0
mov esi, eax
cmp esi, dword [edi]
je 0x4404c0
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00434630
test al, al
je 0x4404f6
lea eax, [ebp - 0x224]
push ecx
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x230]
push eax
push ecx
mov ecx, edi
call fcn.00438140
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x230]
push eax
call fcn.00438200
mov esi, dword [ebp - 0x230]
add esi, 0x14
lea ecx, [ebp - 0x228]
push esi
call fcn.004349f0
mov esi, dword [ebp - 0x234]
mov ecx, str.10Mb
mov dword [ebp - 0x220], 0
mov eax, dword [esi + 0x494]
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.0043ae40
mov byte [ebp - 4], 6
lea eax, [ebp - 0x21c]
mov edi, dword [ebp - 0x228]
push edi
push dword [esi + 0x494]
push 0x613a9c
push eax
call fcn.00436c10
mov esi, dword [ebp - 0x21c]
mov ecx, 1
add esp, 0x10
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x440580
push 0
lea ecx, [ebp - 0x21c]
call fcn.00420ff0
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x234]
push esi
mov ecx, dword [eax + 0x524]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4405b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4405ce
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4405ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44060b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dda5e
mov esp, ebp
pop ebp
ret 4