Function at 0x41bc10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44869f
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x45c070]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push esi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
mov esi, ecx
call fcn.004037a0
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
mov dword [esp + 0xc4], ebx
call fcn.00410cb0
mov dword [esp + 0xc4], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bc9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
mov dword [esp + 0x2c], 2
mov dword [esp + 0x20], vtable.ATL::CDacl.0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xc0], 1
mov dword [esp + 0x14], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x4c]
mov byte [esp + 0xc0], 2
call fcn.0040fff0
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0xc4], 3
call fcn.004102a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 2
call fcn.0040fe00
lea eax, [esp + 0x4c]
call fcn.0040ff90
lea edx, [esp + 0x20]
push edx
mov ecx, eax
mov byte [esp + 0xc4], 4
call fcn.004102a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 2
call fcn.0040fe00
lea eax, [esp + 0x4c]
call fcn.0040ffc0
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov byte [esp + 0xc4], 5
call fcn.004102a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xc0], 2
call fcn.0040fe00
lea ecx, [esp + 0x20]
lea ebx, [esp + 0x14]
call fcn.004108a0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
push esi
push 0
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004037a0
push eax
lea edx, [esp + 0x14]
push edx
mov ebx, str.agent.zip
mov byte [esp + 0xc8], 6
call fcn.00406e70
mov eax, dword [eax]
add esp, 8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.0041b790
add esp, 4
test al, al
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41be28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41be91
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ATL::CSecurityDesc.0
call fcn.00410bc0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc0], esi
push ecx
mov dword [esp + 0x24], vtable.ATL::CDacl.0
call fcn.0041f340
mov edx, dword [esp + 0x24]
push edx
call fcn.0042dede
add esp, 4
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], 0
call fcn.0041e630
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x24], vtable.ATL::CAcl.0
call fcn.0042dede
add esp, 4
xor eax, eax
jmp 0x41bf48
lea edx, [esp + 0x1c]
push 0x460238
push edx
mov ebx, str.agent.zip
call fcn.00406e70
mov byte [esp + 0xc8], 7
mov eax, dword [eax]
mov ecx, dword [0x460238]
push eax
call fcn.0041b850
mov byte [esp + 0xcc], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ATL::CSecurityDesc.0
call fcn.00410bc0
lea ecx, [esp + 0x30]
mov dword [esp + 0xc0], esi
push ecx
mov dword [esp + 0x24], vtable.ATL::CDacl.0
call fcn.0041f340
mov edx, dword [esp + 0x24]
push edx
call fcn.0042dede
add esp, 4
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], 0
call fcn.0041e630
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x24], vtable.ATL::CAcl.0
call fcn.0042dede
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0042decf
mov esp, ebp
pop ebp
ret