Function at 0x415d10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4423b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x459070]
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 esi, dword [ebp + 8]
je 0x415d50
mov eax, 1
jmp 0x41623f
test esi, esi
je 0x415da9
cmp edi, esi
je 0x415d62
push 0xffffffffffffffff
push 0
push esi
call fcn.004067a0
mov eax, dword [esi + 0x18]
lea ecx, [edi + 0x20]
mov dword [edi + 0x18], eax
mov al, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
lea eax, [esi + 0x20]
push eax
call fcn.00418fc0
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x2c]
cmp ecx, eax
je 0x415d8e
push 0xffffffffffffffff
push 0
push eax
call fcn.00406b40
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [esi + 0x45]
mov byte [edi + 0x45], al
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
movzx eax, byte [esi + 0x4c]
mov byte [edi + 0x4c], al
movzx eax, 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 0x450e14
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.00422a71
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
push 0xdc
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00426010
add esp, 0xc
lea ecx, [edi + 0x20]
lea eax, [edi + 0x2c]
push edi
push ecx
push eax
movzx eax, byte [edi + 0x6c]
shr al, 1
and al, 1
push ecx
movzx eax, al
mov ecx, esi
push eax
call fcn.00412560
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x415e7f
mov ecx, dword [ebx]
push ebx
call dword [ecx + 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.00412020
add esp, 4
test eax, eax
je 0x415f75
lea edx, [edi + 0x88]
lea ecx, [ebp - 0x58]
call fcn.00412250
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x415f0d
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x415ef0
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004070d0
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.004069d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x415f26
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004070d0
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x415f32
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi + 0x70]
mov edx, 0x450c48
push eax
lea ecx, [ebp - 0x58]
call fcn.0041e560
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004093b0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x415f75
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004070d0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x24], 0
je 0x415f9f
push ecx
call fcn.00412020
add esp, 4
test eax, eax
je 0x415f9f
cmp dword [ebp - 0x20], 8
jb 0x415f9a
mov eax, dword [ebp - 0x34]
jmp 0x415fa1
lea eax, [ebp - 0x34]
jmp 0x415fa1
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x444470
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 0x415fd1
xor esi, esi
jmp 0x4161f6
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1c]
push ebx
push 0
push 1
push 0x444390
push 0x444450
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
js 0x4161e3
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
or byte [edi + 0x6c], 4
test eax, eax
js 0x4161e3
cmp dword [edi + 0x5c], ebx
je 0x416032
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x41602f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x5c], ebx
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0x64], eax
je 0x41605a
test eax, eax
je 0x416047
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x416057
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x60], eax
je 0x416082
test eax, eax
je 0x41606f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x41607f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x60], eax
mov esi, dword [edi + 0x60]
mov dword [ebp - 0x5c], esi
test esi, esi
je 0x416092
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xf
cmp dword [eax + 0xbc], esi
je 0x4160ca
test esi, esi
je 0x4160b1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x4160c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xbc], esi
mov byte [ebp - 4], 0x10
test esi, esi
je 0x4160d8
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00416500
push 1
mov ecx, edi
call fcn.00416400
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 0x4161dc
xor esi, esi
xor ebx, ebx
mov edx, dword [edi + 0x20]
add edx, esi
cmp dword [edx + 0x14], 0x10
jb 0x416153
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x41616e
xor eax, eax
jmp 0x416180
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416176
sub eax, dword [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00406a40
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x48
call fcn.00418ee0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4161b6
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00401b30
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 0x416146
mov ebx, dword [ebp - 0x40]
mov esi, 1
jmp 0x4161e5
xor esi, esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4161f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416207
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x41621c
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.004070d0
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 0x14
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.00422a60
mov esp, ebp
pop ebp
ret 4