Function at 0x416c10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545db0
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x5ec938]
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 edi, dword [ebp + 8]
push 0xd4a4
mov dword [ebp - 0x950], ecx
call fcn.0042c875
add esp, 4
mov dword [ebp - 0x940], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x416c74
mov ecx, eax
call fcn.00428bf0
mov esi, eax
mov dword [ebp - 0x948], esi
jmp 0x416c7c
mov dword [ebp - 0x948], ebx
mov esi, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x218], ax
call fcn.0052c850
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.0052cd4a
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
add esp, 0x18
lea ecx, [ebp - 0x934]
push ecx
lea edx, [ebp - 0x218]
push edx
mov ecx, esi
call eax
cmp eax, ebx
jne 0x416ce2
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, 0x643
jmp 0x416ffe
lea ecx, [ebp - 0x96c]
call fcn.00438f15
mov dword [ebp - 4], 1
call fcn.00436219
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416d0e
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x93c], eax
mov byte [ebp - 4], 2
call fcn.00436219
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416d3e
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x940], eax
mov byte [ebp - 4], 3
call fcn.00436219
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416d6e
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x938], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x94c], ebx
cmp dword [ebp - 0x72c], ebx
jle 0x416f6e
mov ebx, dword [ebp - 0x94c]
mov edx, dword [ebp + ebx*4 - 0x6a8]
lea ebx, [ebp + ebx*4 - 0x6a8]
test edx, edx
jne 0x416db2
xor eax, eax
jmp 0x416dc6
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416db7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x93c]
call fcn.00406390
mov esi, dword [ebp - 0x93c]
push esi
lea ecx, [ebp - 0x940]
push 0x5593f0
push ecx
call fcn.00403bf0
mov edx, dword [ebp - 0x940]
add esp, 0xc
push 0
push edx
lea ecx, [ebp - 0x96c]
call fcn.00438fbc
lea ecx, [ebp - 0x96c]
mov edi, eax
call fcn.00438a9f
test edi, edi
jne 0x416e3b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0xc], edi
je 0x416e3b
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x938]
push eax
push ecx
mov ecx, dword [ebp - 0x950]
add ecx, 0xdd9c
call fcn.00428060
mov edi, dword [ebp - 0x938]
lea ebx, [esi - 0x10]
add edi, 0xfffffff0
cmp ebx, edi
je 0x416e96
cmp dword [edi + 0xc], 0
jl 0x416e86
mov edx, dword [ebx]
cmp edx, dword [edi]
jne 0x416e86
push ebx
call fcn.004023a0
mov esi, eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416e7b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x938], esi
jmp 0x416e96
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x938]
call fcn.004026f0
mov ecx, dword [ebx]
test ecx, ecx
je 0x416ea7
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x416eb5
call fcn.00436219
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x416d04
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x944], esi
mov ecx, 0x5593ec
mov byte [ebp - 4], 5
test ecx, 0xffff0000
jne 0x416f05
mov edx, ecx
movzx edi, dx
push edi
call fcn.00436134
test eax, eax
je 0x416f1b
push edi
push eax
lea ecx, [ebp - 0x944]
call fcn.004025b0
jmp 0x416f15
push 0x5593ec
lea ecx, [ebp - 0x944]
call fcn.00402870
mov esi, dword [ebp - 0x944]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x93c]
mov byte [ebp - 4], 6
call fcn.00406390
lea eax, [esi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x94c]
inc eax
mov dword [ebp - 0x94c], eax
cmp eax, dword [ebp - 0x72c]
jl 0x416d96
mov esi, dword [ebp - 0x948]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [ebp - 0x938]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x940]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x93c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x96c]
mov dword [ebp - 4], 0xffffffff
call fcn.00438f47
xor eax, eax
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.0052c2ec
mov esp, ebp
pop ebp
ret 8