Function at 0x47caa0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x582915
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
mov eax, dword [esp + 0x360]
mov edi, dword [eax + 0x568c]
xor ebp, ebp
push ebp
mov ebx, edx
push ecx
add edi, 0x22c
mov dword [esp + 0x40], ebx
call fcn.004c6420
mov esi, eax
cmp esi, ebp
je 0x47d0df
call fcn.00530e1f
xor ecx, ecx
cmp dword [esp + 0x364], ebp
jne 0x47cce4
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47cb2e
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x358], ebp
call fcn.00530e1f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47cb5f
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5abde0
lea ecx, [esp + 0x28]
mov byte [esp + 0x35c], 1
call fcn.004021d0
add esi, 0xc4
push esi
lea ecx, [esp + 0x1c]
call fcn.00402310
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edi, 0x14
cmp eax, edi
jle 0x47cbda
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x47cbc4
push edi
lea ecx, [esp + 0x1c]
call fcn.00401fc0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], edi
jge 0x47cbd3
push 0x80070057
call fcn.00401f70
mov dword [ecx - 0xc], edi
mov word [ecx + 0x28], bp
push 0x59d12c
lea ecx, [esp + 0x1c]
call fcn.0041ccd0
mov edi, dword [esp + 0x18]
push ebp
push ebp
mov ebp, dword [esp + 0x2c]
push ebp
push 6
push edi
push 0x59d12c
push 0
lea ecx, [esp + 0x58]
call fcn.0053d5f5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x358], 2
call fcn.0053d4c6
cmp eax, 1
jne 0x47ccc6
push ebx
lea ecx, [esp + 0x20]
call fcn.00402390
mov esi, eax
lea ecx, [esp + 0x28]
push ecx
mov bl, 3
lea ecx, [esp + 0x40]
mov byte [esp + 0x35c], bl
call fcn.0053d7a6
mov byte [esp + 0x358], 4
mov eax, dword [eax]
push 0
mov ecx, esi
mov edx, eax
call fcn.0045fed0
add esp, 4
test eax, eax
mov byte [esp + 0x358], bl
mov eax, dword [esp + 0x28]
sete byte [esp + 0x23]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47cc89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 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 0x47ccb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x47ccc6
push 0
push 0
push 0x5abe24
call fcn.00539414
lea ecx, [esp + 0x3c]
mov byte [esp + 0x358], 1
call fcn.0053d5b4
mov byte [esp + 0x358], 0
jmp 0x47d09c
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47ccf7
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x358], 5
call fcn.00530e1f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47cd2c
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x358], 6
call fcn.00530e1f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47cd5e
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x358], 7
call fcn.00530e1f
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x47cd90
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esi + 0xc4]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x35c], 8
call fcn.00402310
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
mov edi, 0x14
cmp eax, edi
jle 0x47cdfd
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, edi
or eax, edx
jge 0x47cde7
push edi
lea ecx, [esp + 0x1c]
call fcn.00401fc0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 8], edi
jge 0x47cdf6
push 0x80070057
call fcn.00401f70
mov dword [ecx - 0xc], edi
mov word [ecx + 0x28], bp
lea ebx, [esp + 0x18]
call fcn.0045f6a0
add esi, 0xb4
push esi
lea ecx, [esp + 0x20]
call fcn.00402310
push 0x592720
push str.http:__
lea edx, [esp + 0x24]
push edx
call fcn.0041cd10
push 0x5958a8
lea eax, [esp + 0x30]
push 0x5f2890
push eax
call fcn.00401ba0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x3c]
mov bl, 9
push edx
mov byte [esp + 0x364], bl
call fcn.00401ae0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x35c], 0xa
call fcn.00402310
mov byte [esp + 0x358], bl
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 0x47ce96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 8
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 0x47cebe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
mov ecx, ebp
call fcn.004600b0
test eax, eax
jne 0x47ced5
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5958a8
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00401ba0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x364], 0xb
call fcn.00401ae0
add esp, 0xc
push 0x59d12c
push eax
lea eax, [esp + 0x34]
mov bl, 0xc
push eax
mov byte [esp + 0x364], bl
call fcn.00401ba0
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x35c], 0xd
call fcn.00402310
mov byte [esp + 0x358], bl
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 0x47cf5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 0xb
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 0x47cf84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 8
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 0x47cfac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004619c0
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
lea ecx, [esp + 0x34]
call fcn.00402390
mov byte [esp + 0x358], 0xe
mov edi, dword [esp + 0x28]
push 0
mov ecx, eax
mov edx, edi
call fcn.0045fed0
add esp, 4
test eax, eax
mov byte [esp + 0x358], 8
mov eax, dword [esp + 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d00e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
push edi
je 0x47d01f
push 0x5abe34
lea ecx, [esp + 0x2c]
push ecx
jmp 0x47d029
push 0x5abe74
lea edx, [esp + 0x2c]
push edx
call fcn.00405480
mov ecx, dword [0x5f2620]
mov esi, dword [esp + 0x30]
add esp, 0xc
add ecx, 0x9544
mov eax, esi
call fcn.004c4910
lea eax, [esi - 0x10]
mov byte [esp + 0x358], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d06c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 6
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 0x47d094
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x358], 5
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d0b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x358], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d0df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00552101
add esp, 0x348
ret 8