Function at 0x415d50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4423f8
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 0x415d90
mov eax, 1
jmp 0x41627f
test esi, esi
je 0x415de9
cmp edi, esi
je 0x415da2
push 0xffffffffffffffff
push 0
push esi
call fcn.004067d0
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.00419000
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x2c]
cmp ecx, eax
je 0x415dce
push 0xffffffffffffffff
push 0
push eax
call fcn.00406b70
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.00422aca
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.004125a0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x415ebf
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.00412060
add esp, 4
test eax, eax
je 0x415fb5
lea edx, [edi + 0x88]
lea ecx, [ebp - 0x58]
call fcn.00412290
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x415f4d
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x415f30
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00407100
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.00406a00
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x415f66
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407100
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x415f72
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.0041e5a0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.004093e0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x415fb5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407100
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x24], 0
je 0x415fdf
push ecx
call fcn.00412060
add esp, 4
test eax, eax
je 0x415fdf
cmp dword [ebp - 0x20], 8
jb 0x415fda
mov eax, dword [ebp - 0x34]
jmp 0x415fe1
lea eax, [ebp - 0x34]
jmp 0x415fe1
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 0x416011
xor esi, esi
jmp 0x416236
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 0x416223
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
or byte [edi + 0x6c], 4
test eax, eax
js 0x416223
cmp dword [edi + 0x5c], ebx
je 0x416072
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x41606f
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 0x41609a
test eax, eax
je 0x416087
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x416097
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 0x4160c2
test eax, eax
je 0x4160af
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x4160bf
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 0x4160d2
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 0x41610a
test esi, esi
je 0x4160f1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xbc]
test ecx, ecx
je 0x416104
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 0x416118
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.00416540
push 1
mov ecx, edi
call fcn.00416440
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 0x41621c
xor esi, esi
xor ebx, ebx
mov edx, dword [edi + 0x20]
add edx, esi
cmp dword [edx + 0x14], 0x10
jb 0x416193
mov edx, dword [edx]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x4161ae
xor eax, eax
jmp 0x4161c0
mov eax, edx
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4161b6
sub eax, dword [ebp - 0x3c]
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00406a70
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x58]
mov ecx, dword [edi + 0x5c]
push eax
add ecx, 0x48
call fcn.00418f20
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4161f6
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 0x416186
mov ebx, dword [ebp - 0x40]
mov esi, 1
jmp 0x416225
xor esi, esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416236
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416247
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x41625c
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00407100
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.00422ab9
mov esp, ebp
pop ebp
ret 4