Function at 0x439560
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479927
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x49e044]
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
mov cl, byte [edi + 0xa5]
mov eax, dword [ebp + 8]
test cl, 1
je 0x4395a5
mov eax, 1
jmp 0x439c6b
test eax, eax
je 0x4395b8
push eax
lea ecx, [edi + 4]
call fcn.0040e5d0
mov cl, byte [edi + 0xa5]
mov al, byte [edi + 0x20]
mov esi, dword [edi + 0x8c]
add al, al
xor al, cl
mov dword [ebp - 0x54], 0
and al, 2
mov dword [ebp - 0x44], 0
xor al, cl
mov dword [ebp - 0x40], 7
mov byte [edi + 0xa5], al
lea ecx, [ebp - 0x54]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x88], eax
xor eax, eax
push 0xa
push str.BT_IEFRAME
mov word [ebp - 0x54], ax
call fcn.00416e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
push 0xf
push str.LIEFrameControl
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
call fcn.00416e00
xor bl, bl
lea ecx, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
jb 0x43963b
mov ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
jb 0x439647
mov eax, dword [ebp - 0x74]
push 0
push 0
push 0
push esi
push 0
push 0
push 0
push 0
push 0x54000000
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x90], eax
test eax, eax
je 0x4396b3
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
push 0xffffffffffffffeb
push eax
call esi
push 3
push 0
push 0
push 0
push 0
push 1
push dword [edi + 0x90]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xfffffffffffffff0
push dword [edi + 0x90]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x200
push eax
push 0xfffffffffffffff0
push dword [edi + 0x90]
call esi
mov bl, 1
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x4396ed
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4396e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c89
push edx
push ecx
call fcn.00452f08
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x439742
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439738
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c89
push edx
push ecx
call fcn.00452f08
add esp, 8
test bl, bl
jne 0x43974d
xor eax, eax
jmp 0x439c6b
push 0xf8
call fcn.00452b1d
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
push 0xf8
push 0
push esi
mov dword [ebp - 4], 1
call fcn.004549a0
add esp, 0xc
lea ecx, [edi + 0x24]
lea eax, [edi + 0x30]
push edi
push ecx
push eax
mov al, byte [edi + 0xa5]
shr al, 1
and al, 1
push ecx
movzx eax, al
mov ecx, esi
push eax
call fcn.00434cc0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x4397ae
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov dword [ebp - 4], 2
lea ecx, [ebx + 0xdc]
mov eax, dword [edi + 0x90]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x88]
mov dword [ebx + 0x38], eax
mov al, byte [edi + 0x50]
mov byte [ebx + 0xa5], al
lea eax, [edi + 0x54]
cmp ecx, eax
je 0x4397ef
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x4397e8
mov eax, dword [eax]
push edx
push eax
call fcn.00416e00
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
push ecx
mov byte [ebp - 4], 3
call fcn.00428d90
add esp, 4
test eax, eax
je 0x4398f3
lea edx, [edi + 0xc4]
lea ecx, [ebp - 0x54]
call fcn.0042d6b0
push eax
lea ecx, [ebp - 0x34]
call fcn.00414530
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x439870
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439866
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c8e
push edx
push ecx
call fcn.00452f08
add esp, 8
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x43987c
mov eax, dword [ebp - 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi + 0xac]
mov edx, 0x48bdd4
push eax
lea ecx, [ebp - 0x54]
call fcn.0042e030
add esp, 4
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4398ab
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041e150
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 8
jb 0x4398f3
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4398e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c93
push edx
push ecx
call fcn.00452f08
add esp, 8
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x24], 0
je 0x43991b
push ecx
call fcn.00428d90
add esp, 4
test eax, eax
je 0x43991b
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x43991d
mov eax, dword [ebp - 0x34]
jmp 0x43991d
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x47f0c8
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 0x43994d
xor esi, esi
jmp 0x439bfd
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 0x47f018
push 0x47f0a8
call dword [sym.imp.ole32.dll_OleCreate]
test eax, eax
js 0x439bea
push 1
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_OleSetContainedObject]
or byte [edi + 0xa5], 4
test eax, eax
js 0x439bea
cmp dword [edi + 0x94], ebx
je 0x4399ba
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x4399b4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x94], ebx
mov ecx, dword [edi + 0x9c]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
je 0x4399ed
test eax, eax
je 0x4399da
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [edi + 0x9c]
mov eax, dword [ebp - 0x1c]
test ecx, ecx
je 0x4399e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x9c], eax
mov ecx, dword [edi + 0x98]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
je 0x439a20
test eax, eax
je 0x439a0d
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [edi + 0x98]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x439a1a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x98], eax
mov esi, dword [edi + 0x98]
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], esi
test esi, esi
je 0x439a3f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + 0xc0]
cmp ecx, esi
je 0x439a73
test esi, esi
je 0x439a60
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
je 0x439a6a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc0], esi
mov byte [ebp - 4], 0x10
test esi, esi
je 0x439a81
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 1
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0043a080
push 1
mov ecx, edi
call fcn.00439f10
mov ecx, dword [edi + 0x94]
or byte [edi + 0xa5], 1
movzx eax, byte [edi + 0x50]
mov dword [ebp - 0x58], 0
mov byte [ecx + 0xa5], al
mov edx, dword [edi + 0x94]
mov al, byte [edi + 0x49]
mov ecx, dword [edi + 0x4c]
mov byte [edx + 0x44], al
mov dword [edx + 0x48], ecx
mov ecx, dword [edi + 0x94]
movzx eax, byte [edi + 0x48]
mov byte [ecx + 0xd9], al
mov eax, dword [edi + 0x94]
mov cl, byte [edi + 0x20]
mov eax, dword [eax + 0x40]
mov byte [eax + 0xc], cl
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x439be3
xor eax, eax
mov dword [ebp - 0x3c], eax
lea ebx, [ebx]
cmp dword [esi + eax + 0x14], 0x10
lea edx, [esi + eax]
mov ebx, dword [edi + 0x94]
jb 0x439b22
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439b40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00417240
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
mov eax, dword [ebx + 0x50]
push ecx
cmp eax, dword [ebx + 0x54]
je 0x439b70
mov ecx, eax
call fcn.004149f0
add dword [ebx + 0x50], 0x18
jmp 0x439b79
push eax
lea ecx, [ebx + 0x4c]
call fcn.0043d430
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x439bb1
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x439ba7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c98
push edx
push ecx
call fcn.00452f08
add esp, 8
mov ecx, dword [edi + 0x28]
mov eax, 0x2aaaaaab
mov esi, dword [edi + 0x24]
sub ecx, esi
mov ebx, dword [ebp - 0x58]
add dword [ebp - 0x3c], 0x18
inc ebx
imul ecx
mov dword [ebp - 0x58], ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
mov eax, dword [ebp - 0x3c]
jb 0x439b10
mov ebx, dword [ebp - 0x5c]
mov esi, 1
jmp 0x439bec
xor esi, esi
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x439bfd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x439c0e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x439c48
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439c3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439c98
push edx
push ecx
call fcn.00452f08
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
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.004528ff
mov esp, ebp
pop ebp
ret 4
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
call fcn.0045e090
int3