Function at 0x416870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e24b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x44e740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
test byte [edi + 0x6c], 1
mov eax, dword [ebp + 8]
je 0x4168b0
mov eax, 1
jmp 0x416ce5
test eax, eax
je 0x4168ba
push eax
call fcn.00416d10
mov al, byte [edi + 0x1c]
push edi
push 0
push 0
push dword [edi + 0x58]
add al, al
xor al, byte [edi + 0x6c]
push 0
push 0
push 0
push 0
push 0x54000000
push 0x4476b0
and al, 2
xor byte [edi + 0x6c], al
mov eax, dword [edi + 0x18]
push str.LIEFrameControl
push 0
mov dword [edi + 0x50], eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 0x54], eax
call esi
push 3
push 0
push 0
push 0
push 0
push 1
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x200
push eax
push 0xfffffffffffffff0
push dword [edi + 0x54]
call esi
push 0xdc
call fcn.004255c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x416980
push 0xdc
push 0
push esi
call fcn.00429ef0
add esp, 0xc
lea eax, [edi + 0x2c]
push edi
push ecx
push eax
lea eax, [edi + 0x20]
mov ecx, esi
push eax
mov al, byte [edi + 0x6c]
shr al, 1
and al, 1
movzx eax, al
push eax
call fcn.00412ee0
mov ebx, eax
mov dword [ebp - 0x40], eax
jmp 0x416985
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x416999
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x50]
mov dword [ebx + 0x34], eax
mov al, byte [edi + 0x4c]
mov byte [ebx + 0xa1], al
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
push ecx
mov byte [ebp - 4], 2
call fcn.00412a10
add esp, 4
test eax, eax
je 0x416a7f
lea edx, [edi + 0x88]
lea ecx, [ebp - 0x58]
call fcn.00412c30
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x416a23
cmp dword [ebp - 0x20], 8
jb 0x416a06
push dword [ebp - 0x34]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.004057c0
cmp dword [ebp - 0x44], 8
jb 0x416a34
push dword [ebp - 0x58]
call fcn.00425576
add esp, 4
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x416a40
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi + 0x70]
mov edx, 0x447510
push eax
lea ecx, [ebp - 0x58]
call fcn.0041e000
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00408e00
cmp dword [ebp - 0x44], 8
jb 0x416a7f
push dword [ebp - 0x58]
call fcn.00425576
add esp, 4
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x24], 0
je 0x416aa9
push ecx
call fcn.00412a10
add esp, 4
test eax, eax
je 0x416aa9
cmp dword [ebp - 0x20], 8
jb 0x416aa4
mov eax, dword [ebp - 0x34]
jmp 0x416aab
lea eax, [ebp - 0x34]
jmp 0x416aab
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x4404e8
push 0
push 0
push 0
push 0
push 0x4001012
push eax
call dword [sym.imp.ole32.dll_StgCreateStorageEx]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jns 0x416adb
xor esi, esi
jmp 0x416ca0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
push dword [ebp - 0x18]
push ebx
push 0
push 1
push 0x4403b8
push 0x440478
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
js 0x416c8d
push 1
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
or byte [edi + 0x6c], 4
test eax, eax
js 0x416c8d
cmp dword [edi + 0x5c], ebx
je 0x416b3c
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x416b39
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x5c], ebx
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x64], eax
je 0x416b64
test eax, eax
je 0x416b51
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x416b61
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x64], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x60]
call fcn.00419750
push ecx
mov ecx, dword [edi + 0x60]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x416b82
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
call fcn.00412180
push 1
mov ecx, edi
call fcn.00417030
push 1
mov ecx, edi
call fcn.00416f30
mov ecx, dword [edi + 0x5c]
or byte [edi + 0x6c], 1
mov al, byte [edi + 0x4c]
mov byte [ecx + 0xa1], al
mov edx, dword [edi + 0x5c]
mov al, byte [edi + 0x45]
mov ecx, dword [edi + 0x48]
mov byte [edx + 0x40], al
mov dword [edx + 0x44], ecx
mov ecx, dword [edi + 0x5c]
mov al, byte [edi + 0x44]
mov byte [ecx + 0xd5], al
mov eax, dword [edi + 0x5c]
mov cl, byte [edi + 0x1c]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0xc], cl
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x24]
sub ecx, dword [edi + 0x20]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x416c86
xor esi, esi
xor ebx, ebx
mov edx, dword [edi + 0x20]
add edx, esi
cmp dword [edx + 0x14], 0x10
jb 0x416c01
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x416c1c
xor eax, eax
jmp 0x416c2e
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416c24
sub eax, dword [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00401a50
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x48
call fcn.00419680
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 0x10
jb 0x416c60
push dword [ebp - 0x58]
call fcn.00425576
add esp, 4
mov ecx, dword [edi + 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x20]
inc ebx
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x416bf4
mov ebx, dword [ebp - 0x40]
mov esi, 1
jmp 0x416c8f
xor esi, esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416ca0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416cb1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x20], 8
jb 0x416cc2
push dword [ebp - 0x34]
call fcn.00425576
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx]
push ebx
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00424db6
mov esp, ebp
pop ebp
ret 4