Function at 0x4025b0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x440c76
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4545f0]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4545f0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov dword [esp + 0x160], 1
call fcn.00411e58
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402612
push 0x80004005
call fcn.00401600
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x160], 2
mov edi, dword [esp + 0x16c]
push ebp
push edi
call fcn.00429a78
add esp, 8
cmp eax, 0xffffffff
jne 0x4026cd
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4026cd
lea eax, [esi - 0x10]
mov byte [esp + 0x160], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402674
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x160], 0
mov eax, dword [esp + 0x168]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40269f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x160], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4026c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x402a1a
mov ecx, dword [esp + 0x168]
push ecx
call fcn.0040d260
mov ebx, eax
xor eax, eax
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], al
mov dword [esp + 0x14c], ebp
jne 0x402703
mov dword [0x45956c], 0x10000
jmp 0x40278d
cmp dword [ebx], 1
je 0x402714
mov dword [0x45956c], 0x80000
jmp 0x40278d
mov esi, dword [ebx + 4]
mov edi, dword [esi]
or ecx, 0xffffffff
cmp dword [edi + 4], ecx
jg 0x402728
mov ecx, 0x10000
jmp 0x402787
cmp dword [esi + 4], ecx
je 0x402735
call fcn.0040c750
or ecx, 0xffffffff
mov edx, dword [esi]
mov dword [esi + 4], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], 0
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x130], ebp
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebp
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], ebp
mov dword [esp + 0x148], ebp
mov dword [esp + 0x14c], ebp
xor ecx, ecx
mov dword [0x45956c], ecx
xor esi, esi
cmp eax, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebp
jle 0x4028d0
nop
cmp ebx, esi
mov dword [esp + 0x24], esi
mov byte [esp + 0x28], 0
mov dword [esp + 0x14c], esi
jne 0x4027c0
mov dword [0x45956c], 0x10000
jmp 0x4027e4
cmp dword [ebx], 1
je 0x4027d1
mov dword [0x45956c], 0x80000
jmp 0x4027e4
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.0040c8e0
mov dword [0x45956c], eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x170]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00403170
add esp, 0xc
mov byte [esp + 0x160], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x402861
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402853
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402853
push eax
call fcn.00401840
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402846
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
jmp 0x402861
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401930
mov byte [esp + 0x160], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp ebx, esi
jne 0x40289b
mov dword [0x45956c], 0x10000
jmp 0x4028bf
cmp dword [ebx], 1
je 0x4028ac
mov dword [0x45956c], 0x80000
jmp 0x4028bf
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push ebp
push eax
call fcn.0040cf50
mov dword [0x45956c], eax
add ebp, 1
cmp ebp, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
jl 0x4027a0
cmp ebx, esi
jne 0x4028e3
mov dword [0x45956c], 0x10000
jmp 0x402994
cmp dword [ebx], 1
je 0x4028f7
mov dword [0x45956c], 0x80000
jmp 0x402994
mov esi, dword [ebx + 4]
or ebp, 0xffffffff
cmp dword [esi + 4], ebp
je 0x402909
mov edi, dword [esi]
call fcn.0040c750
mov edi, dword [esi]
mov dword [esi + 4], ebp
xor ebp, ebp
cmp edi, ebp
je 0x402948
cmp dword [edi + 0x7c], ebp
je 0x40291e
call fcn.0040c750
mov ebp, dword [edi]
test ebp, ebp
je 0x40293d
cmp byte [ebp + 0x10], 0
je 0x402934
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.0040d874
add esp, 4
push edi
call fcn.0042a170
add esp, 4
xor ebp, ebp
mov dword [esi], ebp
mov eax, dword [esi + 0x138]
cmp eax, ebp
mov dword [0x45956c], ebp
je 0x402963
push eax
call fcn.0040d874
add esp, 4
mov eax, dword [esi + 0x13c]
cmp eax, ebp
mov dword [esi + 0x138], ebp
je 0x40297c
push eax
call fcn.0040d874
add esp, 4
push esi
mov dword [esi + 0x13c], ebp
call fcn.0040d874
add esp, 4
push ebx
call fcn.0040d874
add esp, 4
mov byte [esp + 0x160], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4029bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x160], 0
mov eax, dword [esp + 0x168]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x160], 0xffffffff
mov eax, dword [esp + 0x16c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0042963c
add esp, 0x150
ret 8