Function at 0x40fe50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d26b
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x44d740]
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 0x40fe90
mov eax, 1
jmp 0x4102c5
test eax, eax
je 0x40fe9a
push eax
call fcn.004102f0
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 0x4465d8
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.00424c46
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40ff60
push 0xdc
push 0
push esi
call fcn.00429830
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.0040c7d0
mov ebx, eax
mov dword [ebp - 0x40], eax
jmp 0x40ff65
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x40ff79
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.0040c310
add esp, 4
test eax, eax
je 0x41005f
lea edx, [edi + 0x88]
lea ecx, [ebp - 0x58]
call fcn.0040c530
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x410003
cmp dword [ebp - 0x20], 8
jb 0x40ffe6
push dword [ebp - 0x34]
call fcn.00424bf6
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.00402650
cmp dword [ebp - 0x44], 8
jb 0x410014
push dword [ebp - 0x58]
call fcn.00424bf6
add esp, 4
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x410020
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi + 0x70]
mov edx, 0x446438
push eax
lea ecx, [ebp - 0x58]
call fcn.0041c940
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00402ac0
cmp dword [ebp - 0x44], 8
jb 0x41005f
push dword [ebp - 0x58]
call fcn.00424bf6
add esp, 4
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x24], 0
je 0x410089
push ecx
call fcn.0040c310
add esp, 4
test eax, eax
je 0x410089
cmp dword [ebp - 0x20], 8
jb 0x410084
mov eax, dword [ebp - 0x34]
jmp 0x41008b
lea eax, [ebp - 0x34]
jmp 0x41008b
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0x43f4e8
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 0x4100bb
xor esi, esi
jmp 0x410280
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 0x43f3b8
push 0x43f478
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
js 0x41026d
push 1
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
or byte [edi + 0x6c], 4
test eax, eax
js 0x41026d
cmp dword [edi + 0x5c], ebx
je 0x41011c
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x410119
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 0x410144
test eax, eax
je 0x410131
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x410141
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.004136b0
push ecx
mov ecx, dword [edi + 0x60]
mov eax, esp
mov dword [eax], ecx
test ecx, ecx
je 0x410162
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
call fcn.0040b930
push 1
mov ecx, edi
call fcn.00410610
push 1
mov ecx, edi
call fcn.00410510
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 0x410266
xor esi, esi
xor ebx, ebx
mov edx, dword [edi + 0x20]
add edx, esi
cmp dword [edx + 0x14], 0x10
jb 0x4101e1
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x4101fc
xor eax, eax
jmp 0x41020e
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410204
sub eax, dword [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00401780
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x48
call fcn.004135e0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 0x10
jb 0x410240
push dword [ebp - 0x58]
call fcn.00424bf6
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 0x4101d4
mov ebx, dword [ebp - 0x40]
mov esi, 1
jmp 0x41026f
xor esi, esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410280
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x410291
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x20], 8
jb 0x4102a2
push dword [ebp - 0x34]
call fcn.00424bf6
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.00424436
mov esp, ebp
pop ebp
ret 4