joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66025346
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add eax, 0x50
and word [ebp - 0x14], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.660253c4
mov esi, eax
cmp word [esi], 1
je 0x66043f18
mov cx, word [esi]
cmp cx, 8
jne 0x66043f1f
push dword [esi + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.660253ec
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.660254b9
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
pop ecx
jne 0x66043f49
push 0x35
call fcn.66025592
push 0x5e
call fcn.66025592
movzx eax, cx
test eax, eax
jl 0x66043f30
cmp eax, 0xe
jle 0x66043f45
cmp eax, 0x11
je 0x66043f45
test ch, 0x20
jne 0x66043f45
cmp cx, 0x24
je 0x66043f45
push 0x1ca
call fcn.66025592
push 0xd
jmp 0x66043f40
test byte [ebp - 0x12c], 0x16
je 0x66043f71
lea eax, [ebp - 0x12c]
push eax
push ebx
call fcn.660ef746
pop ecx
test eax, eax
pop ecx
je 0x66043f49
push ebx
call fcn.6602ea9a
pop ecx
jmp 0x660253bd
lea eax, [ebp - 0x234]
push 0x5c
push eax
call fcn.66028598
pop ecx
mov esi, eax
pop ecx
inc esi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 8], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x66043fa6
push ebx
call fcn.6602ea9a
pop ecx
push 0x35
call fcn.66025592
mov esi, dword [ebp + 8]
test byte [ebp - 0x12c], 0x16
jne 0x66044048
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x130]
add ecx, esi
cmp ecx, eax
jbe 0x66043fdd
push ebx
call fcn.6602ea9a
pop ecx
push 0x35
call fcn.66025592
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
push 7
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x234]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.660259b5
test eax, eax
je 0x66044021
push ebx
call fcn.6602ea9a
pop ecx
push 0x37
call fcn.66025592
lea eax, [ebp - 0x234]
push eax
call fcn.660efc9e
test eax, eax
pop ecx
je 0x66044048
push ebx
call fcn.6602ea9a
pop ecx
call fcn.660dcf9c
test eax, eax
je 0x66044048
push eax
call fcn.66025592
lea eax, [ebp - 0x12c]
push eax
push ebx
call fcn.660ef746
pop ecx
test eax, eax
pop ecx
je 0x66043fa3
push ebx
call fcn.6602ea9a
pop ecx
mov ecx, dword [ebp - 4]
call sym.MSVBVM60.DLL___vbaFreeVar
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x66025592
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [esp + 0xc]
cmp esi, 0x9c68
je 0x660255cc
mov eax, esi
add edi, 0x78
or esi, 0x800a0000
push edi
neg eax
sbb eax, eax
and eax, esi
push eax
call fcn.660255f4
push edi
call fcn.66024cb8
push edi
call fcn.66014520
test eax, eax
je 0x660255ae
test byte [eax + 0x28], 4
jne 0x660255e0
or byte [edi + 0x76], 2
test eax, eax
je 0x660255ae
push eax
call fcn.6602daac
push eax
push 0x13
call fcn.66015452
jmp 0x660255ae
Function at 0x660255f4
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.66018aad
mov dword [esi + 0x18], fcn.660d7d13
add esi, 4
mov eax, dword [esp + 8]
cmp dword [esi], 0
mov dword [esi + 0x18], eax
jne 0x66025643
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x24], 0
jne 0x66025643
cmp dword [esi], 0
jne 0x66025643
push eax
call fcn.66014520
test eax, eax
je 0x66025643
mov ecx, dword [eax + 0x40]
and dword [esi], 0
mov edx, esi
call fcn.66025647
pop esi
ret 8

Function at 0x66025696
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 8]
push eax
call fcn.66025747
test eax, eax
jne 0x6604347b
mov eax, dword [ebp + 8]
cmp word [eax], 0xa
jne 0x66043481
cmp dword [eax + 8], 0x80020004
jne 0x66043481
and dword [ebp - 4], 0

Function at 0x66025747
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.66014520
test eax, eax
je 0x66045de4
cmp dword [0x6610feb4], 0
jne 0x66045dd8
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
xor eax, eax
ret 4
mov ecx, eax
call fcn.660de036
jmp 0x66025771
mov eax, dword [esp + 4]
and dword [eax], 0
jmp 0x6602577a

Function at 0x660259b5
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x18]
and dword [ebp - 4], 0
movsx ebx, word [eax + 0xc]
mov edi, dword [eax + 8]
test ebx, ebx
jle 0x660259eb
cmp word [edi], 0
jne 0x660259fa
add edi, 0xc
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x660259da
xor eax, eax
cmp dword [ebp - 4], ebx
pop edi
pop esi
setne al
pop ebx
leave
ret 8
mov esi, dword [edi + 8]
mov eax, dword [esi + 0x20]
lea eax, [eax + esi + 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x660433fd
xor eax, eax
test eax, eax
je 0x660259e0
jmp 0x660259eb
movzx eax, word [ebp + 0xc]
mov esi, dword [esi]
mov ecx, esi
or ecx, eax
cmp ecx, 1
je 0x66025a16
or esi, eax
or esi, 0x24
cmp esi, 0x24
je 0x66025a16
jmp 0x660259eb
Function at 0x66026093
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp + 0x10]
mov esi, dword [eax + 0x1c]
lea ebx, [eax + 0x50]
cmp word [edi], 9
mov dword [ebp - 8], ebx
je 0x66043527
Function at 0x660263c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
push ebx
mov ebx, dword [esp + 0x42c]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
je 0x660480a3
mov ecx, dword [esp + 0x430]
mov eax, ecx
sar eax, 5
lea edi, [eax*4 + 0x6610d200]
mov eax, ecx
and eax, 0x1f
mov dword [esp + 0x24], edi
mov edx, dword [edi]
lea esi, [eax + eax*8]
shl esi, 2
mov dword [esp + 0x14], esi
test byte [esi + edx + 4], 0x20
jne 0x660480b0
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
jne 0x660480c1
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x660481fd
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x66048162
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
add esp, 0x41c
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push 2
push ebp
push ecx
call fcn.66025e03
add esp, 0xc
jmp 0x66026416
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x66026454
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x6604810e
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x660480fb
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x660480de
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x660481ee
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x66048159
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x660480da
mov esi, dword [esp + 0x14]
jmp 0x66026454
mov eax, dword [esp + 0x18]
test eax, eax
je 0x660481aa
cmp eax, 5
jne 0x66048193
call fcn.660168b4
mov dword [eax], 9
call fcn.6601687f
mov dword [eax], 5
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.66016848
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x660481ca
cmp byte [ebp], 0x1a
jne 0x660481ca
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call fcn.660168b4
mov dword [eax], 0x1c
call fcn.6601687f
mov dword [eax], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x66048159
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x66026454
Function at 0x660265a4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword fs:[0]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test byte [esi + 0x10], 2
jne 0x66046d49
and dword [esi + 0x10], 0
pop esi
leave
ret
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [eax + 0x98], 0
add eax, 0x78
push eax
call fcn.66018aad
jmp 0x660265bf

Function at 0x660280bb
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x6610f7dc]
push esi
test eax, eax
je 0x660280e0
test byte [eax + 0x3c], 1
jne 0x660280e0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6611061c]
cmp eax, 0x1d4c0
ja 0x660280e2
pop esi
ret
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
call esi
mov dword [0x6611061c], eax
jmp 0x660280e0

Function at 0x6602816b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and word [ebp - 0x10], 0
lea edi, [eax + 0x50]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.660253c4
mov esi, eax
mov ax, word [esi]
cmp ax, 0xa
je 0x66043b21
xor ecx, ecx
test cx, cx
jne 0x66043b36
cmp ax, 8
jne 0x66043b47
push dword [esi + 8]
push dword [ebp + 0xc]
call fcn.660281d3
mov ecx, edi
mov esi, eax
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, esi
pop edi
pop esi
leave
ret 8
cmp dword [esi + 8], 0x80020004
jne 0x660281a2
or ecx, 0xffffffff
jmp 0x660281a4
mov ecx, edi
call sym.MSVBVM60.DLL___vbaFreeVar
call fcn.660dd5d2
jmp 0x660281cd
movzx ecx, ax
test ecx, ecx
jl 0x66043b58
cmp ecx, 0xe
jle 0x66043b6d
cmp ecx, 0x11
je 0x66043b6d
test ah, 0x20
jne 0x66043b6d
cmp ax, 0x24
je 0x66043b6d
push 0x1ca
call fcn.66025592
push 0xd
jmp 0x66043b68
Function at 0x66028aef
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
cmp dword [edi + 0x2c], esi
jne 0x660410db
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp ecx, esi
je 0x66028c4d
mov dword [ebp + 0xc], 1
cmp ecx, esi
je 0x66028c56
mov eax, dword [edi + 0x14]
and ah, 0xf7
or al, 0x20
mov dword [edi + 0x14], eax
cmp ecx, esi
lea eax, [edi + 0x70]
je 0x66028c56
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
cmp eax, esi
je 0x66028c2b
cmp dword [eax], esi
je 0x66028c2b
cmp ecx, esi
lea eax, [edi + 0x4c]
jne 0x66028b63
lea eax, [edi + 0x50]
mov dword [ebp - 4], eax
mov eax, dword [eax]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x66028c2b
push ecx
mov ecx, edi
call fcn.66028c75
mov eax, dword [ebp - 4]
cmp dword [eax], esi
jbe 0x66028c2b
xor ebx, ebx
cmp dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
jbe 0x66028c6a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, esi
je 0x66028c6a
cmp ebx, dword [eax]
jge 0x66028c6a
mov eax, dword [eax + 0x10]
mov esi, dword [eax + ebx*4]
test esi, esi
je 0x66028c5e
mov eax, dword [esi + 4]
test al, 2
jne 0x66028c5e
cmp dword [ebp + 8], 0
jne 0x660410f5
and eax, 0x40
test eax, eax
je 0x66028c5e
mov eax, dword [esi + 0xc]
push dword [ebp + 0xc]
inc dword [esi]
mov dword [ebp - 8], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jne 0x660410fd
xor eax, eax
mov ecx, esi
cmp dword [ebp + 8], eax
push eax
jne 0x6604111b
call fcn.66018ea8
push 1
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.66011484
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x66041125
mov ecx, edi
call fcn.66028d30
test eax, eax
jne 0x66028c5e
xor esi, esi
cmp dword [ebp + 8], esi
je 0x66028c34
and dword [edi + 0x14], 0xffffffdf
cmp dword [ebp - 8], esi
je 0x66028c44
mov eax, dword [ebp - 4]
cmp dword [eax], esi
ja 0x6604114b
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc
and dword [ebp + 0xc], 0xfffffffe
jmp 0x66028b26
lea eax, [edi + 0x6c]
jmp 0x66028b44
inc ebx
cmp ebx, dword [ebp - 0x14]
jb 0x660410ee
xor esi, esi
cmp dword [ebp - 8], esi
jne 0x66028b7b
jmp 0x66028c2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.660d3ab0
jmp 0x66028c47
xor esi, esi
jmp 0x66028b94
and eax, 0x20
jmp 0x66028bcf
cmp dword [ebp + 8], 0
mov eax, dword [esi + 4]
je 0x66041116
and eax, 0x10
test eax, eax
jne 0x66028c07
jmp 0x66028bf4
and eax, 8
jmp 0x66041109
call fcn.660d3900
jmp 0x66028c07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jae 0x6604113a
cmp eax, dword [ebp - 0x10]
jae 0x6604113d
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0x10], esi
je 0x66028c1e
jmp 0x66028c5e
push 1
pop eax
jmp 0x66028c46
Function at 0x6602ce8b
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 8
pop edi
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 8]
add eax, 0x50
mov dword [ebp - 4], eax
mov esi, 0x4000
mov dx, word [ecx]
movzx eax, dx
and ah, 0xbf
dec eax
dec eax
je 0x6604633d
sub eax, 7
je 0x660462fc
dec eax
dec eax
je 0x6604633d
sub eax, 6
je 0x66046326
push ecx
call fcn.6602499b
lea edx, [ebp - 4]
mov cl, al
and cl, 0xf
movsx cx, cl
add ecx, 0x30
cmp cx, 0x39
ja 0x6602cf2c
dec edi
dec edx
dec edx
shr eax, 4
mov word [edx], cx
jne 0x6602cee4
push 8
pop eax
sub eax, edi
push eax
lea eax, [ebp + edi*2 - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x6604635b
mov ecx, dword [ebp - 4]
call sym.MSVBVM60.DLL___vbaFreeVar
mov eax, esi
pop edi
pop esi
leave
ret 4
add ecx, 7
jmp 0x6602cef6
test si, dx
je 0x66046321
mov eax, dword [ecx + 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push 3
push 0
push 0
push 0
push 0
push ecx
call fcn.660df16b
mov ecx, dword [ebp - 4]
jmp 0x6602ceb0
mov ecx, dword [ecx + 8]
jmp 0x66046306
test si, dx
je 0x66046338
mov eax, dword [ecx + 8]
mov cl, byte [eax]
movzx eax, cl
jmp 0x6602cee1
mov cl, byte [ecx + 8]
jmp 0x66046330
test si, dx
je 0x66046355
mov eax, dword [ecx + 8]
mov cx, word [eax]
and ecx, 0xffff
mov eax, ecx
jmp 0x6602cee1
mov cx, word [ecx + 8]
jmp 0x66046348
push 0xe
call fcn.66025592

Function at 0x6602d593
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.66025747
test eax, eax
jne 0x660434a7
movsx esi, word [ebp + 8]
cmp esi, 1
jl 0x660434ad
cmp esi, 0x200
jg 0x660434ad
push 0
push esi
push dword [ebp - 8]
call fcn.66015aa4
mov edi, eax
test edi, edi
je 0x660434b4
mov ax, word [edi]
cmp ax, 2
je 0x660434ca
cmp ax, 8
je 0x660434ca
cmp ax, 4
je 0x660434bb
cmp ax, 0x20
je 0x660434bb
lea eax, [ebp - 4]
push eax
push edi
call fcn.6602d645
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
dec ecx
cmp dword [ebp - 4], 0
mov esi, ecx
jne 0x660434d2
lea ecx, [ebp - 4]
push ecx
push eax
push edi
call fcn.6602d857
or esi, 0xffffffff
jmp 0x6602d632
Function at 0x6602d870
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
xor edi, edi
push dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.6602d920
push dword [0x6610feb0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x18]
mov esi, dword [eax]
lea eax, [ebp - 4]
push eax
push esi
call fcn.6602d655
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6604302a
lea eax, [ebp - 4]
push eax
push ebx
push esi
call fcn.6602d857
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.6602d94e
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.6602d655
cmp eax, 0xd
jne 0x6602d8fb
lea eax, [ebp - 4]
push eax
push esi
call fcn.6602d655
cmp eax, 0xa
jne 0x6604304c
call fcn.6602da8f
cmp dword [ebp - 4], edi
jne 0x66043065
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8
pop esi
ret 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.6602d655
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6602d9db
cmp ebx, dword [esi]
je 0x6602d9db
cmp ebx, dword [esi + 4]
je 0x6602d9db
cmp ebx, dword [esi + 8]
je 0x6602d9db
cmp ebx, dword [esi + 0xc]
je 0x6602d9db
cmp ebx, dword [esi + 0x10]
je 0x6602d9db
cmp ebx, dword [esi + 0x14]
je 0x6602d9db
cmp dword [ebp - 4], 0x1ff
jae 0x66043083
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp bx, 0x100
jae 0x660430a2
cmp bx, 0x100
mov byte [eax], bl
sbb eax, eax
inc eax
inc eax
add dword [ebp - 4], eax
jmp 0x6602d97b
cmp dword [ebp - 8], 0
jne 0x6602da1a
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
call fcn.6602d857
cmp edi, 2
je 0x660430ae
cmp edi, 3
je 0x660430ae
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.6602da24
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
call fcn.6602da8f
cmp dword [ebp - 4], edi
jne 0x66043044
mov dword [ebp - 4], 0x3e
cmp dword [ebp - 4], edi
je 0x6602d8b5
push dword [ebp - 4]
call fcn.66025592
cmp dword [ebp - 4], edi
jne 0x6602d8fb
lea ecx, [ebp - 4]
push ecx
push eax
push esi
call fcn.6602d857
jmp 0x6602d8fb
push dword [ebp - 4]
call fcn.66025592
cmp ax, 0x20
je 0x6602d94a
call fcn.6602da8f
push 0x36
call fcn.66025592
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.6602da24
test eax, eax
mov dword [ebp - 8], eax
je 0x6602d9b8
jmp 0x6602da1d
xor ecx, ecx
mov cl, bh
mov byte [eax], cl
inc eax
jmp 0x6602d9cb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp byte [eax - 1], 0x20
jne 0x660430c2
dec dword [ebp - 4]
dec eax
jmp 0x660430b6
cmp edi, 3
jne 0x6602da00
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x6602da00
jmp 0x6602da12
Function at 0x66069440
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
or byte [esi + 0x162], 4
call fcn.66068057
xor ebx, ebx
cmp eax, 1
jle 0x66069468
push ebx
push 1
mov ecx, esi
call fcn.66069e28
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, esi
call fcn.6606894c
push ebx
mov ecx, esi
call fcn.6606997c
cmp dword [esi + 0x140], ebx
je 0x6606951d
mov eax, dword [esi + 0x128]
lea edx, [ebp - 4]
push edx
push 0x66056218
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x660694b4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x140]
lea edx, [ebp - 0x4c]
push ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [esi + 0x140]
cmp eax, ebx
je 0x660694db
mov ecx, dword [eax]
push eax
mov dword [esi + 0x140], ebx
call dword [ecx + 8]
mov eax, dword [ebp - 0x4c]
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x66069508
push eax
call fcn.66026741
lea eax, [eax + eax + 1]
pop ecx
add eax, 3
and al, 0xfc
call fcn.660300d8
mov eax, esp
push dword [ebp - 0x4c]
push eax
call fcn.6602675f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x6610f6c4]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov ecx, dword [esi + 0x148]
cmp ecx, ebx
je 0x6606953c
mov eax, dword [ecx]
cmp ecx, ebx
mov dword [esi + 0x148], eax
je 0x6606951d
push 1
call fcn.660695f6
jmp 0x6606951d
xor edi, edi
push edi
mov ecx, esi
call fcn.66069855
inc edi
cmp edi, 5
jl 0x6606953e
mov ecx, esi
call fcn.66067ff4
mov eax, dword [esi + 0x128]
cmp eax, ebx
je 0x66069581
push eax
call fcn.6607ba9e
test eax, eax
je 0x660695ee
mov eax, dword [esi + 0x128]
cmp eax, ebx
je 0x66069581
mov ecx, dword [eax]
push eax
mov dword [esi + 0x128], ebx
call dword [ecx + 8]
push ebx
mov ecx, esi
call fcn.6606803b
cmp dword [esi + 0x118], ebx
je 0x660695ac
mov al, byte [esi + 0x163]
lea ecx, [esi + 0x163]
test al, 1
jne 0x660695ac
or al, 1
mov byte [ecx], al
mov ecx, esi
call fcn.6602b8d0
cmp dword [esi + 0x120], ebx
je 0x660695c2
or byte [esi + 0x163], 2
mov ecx, esi
call fcn.6602b8d0
mov eax, dword [esi + 0x124]
lea edi, [esi + 0x124]
cmp eax, ebx
je 0x660695dd
mov ecx, dword [eax]
push eax
mov dword [eax + 4], ebx
call dword [ecx + 8]
mov dword [edi], ebx
and byte [esi + 0x162], 0xfb
lea esp, [ebp - 0x58]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov dword [esi + 0x128], ebx
jmp 0x66069581

Function at 0x66071148
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [esp + 8]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x58]
test byte [eax + 0x99], 0x10
je 0x66071166
push edi
call fcn.660c052b
pop edi
ret 4
push esi
mov esi, dword [edi + 0x3c]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x66071182
push esi
call fcn.66022b0d
push eax
push edi
call fcn.6607118e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
jmp 0x66071162