joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b3c9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100a1d48]
sub esp, 0xc
test eax, eax
push ebx
push esi
push edi
je 0x1001b4dd
cmp dword [0x100a1d4c], 0
je 0x1001b4dd
inc dword [0x100a1f18]
test ecx, ecx
je 0x1001b3f9
mov dword [eax + 4], ecx
and dword [eax + 8], 0
mov esi, dword [0x100a1f04]
cmp esi, dword [0x100a1f08]
jbe 0x1001b410
call fcn.10055955
mov ebx, 0x100a1f00
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
mov esi, dword [0x100a1f08]
cmp dword [0x100a1f04], esi
jbe 0x1001b42e
call fcn.10055955
cmp dword [ebp - 8], 0
je 0x1001b439
cmp dword [ebp - 8], ebx
je 0x1001b43e
call fcn.10055955
cmp dword [ebp - 4], esi
je 0x1001b4dd
lea esi, [ebp - 8]
call fcn.10016eeb
cmp dword [eax + 0xe4], 4
jg 0x1001b4d0
call fcn.10016eeb
cmp dword [eax + 0xec], 0x186a0
jne 0x1001b4d0
call fcn.10016eeb
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1001b47c
mov eax, dword [eax + 4]
jmp 0x1001b47f
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x100a1d4c]
mov edi, dword [eax]
lea esi, [ebp - 8]
add edi, 4
call fcn.10016eeb
add eax, 0xe0
push eax
call fcn.10016eeb
mov ecx, dword [0x100a1d4c]
push eax
call dword [edi]
test eax, eax
je 0x1001b4c1
call fcn.10016eeb
mov dword [eax + 0xe4], 5
jmp 0x1001b4d0
call fcn.10016eeb
mov dword [eax + 0xe4], 7
lea esi, [ebp - 8]
call fcn.1001ee20
jmp 0x1001b41b
pop edi
pop esi
xor al, al
pop ebx
leave
ret

Function at 0x1001b4e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100a1d48]
sub esp, 0x14
inc dword [0x100a1f18]
test ecx, ecx
push ebx
push esi
push edi
je 0x1001b4ff
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
call fcn.1001e45d
test eax, eax
mov dword [ebp - 4], eax
je 0x1001b610
mov esi, dword [0x100a1f04]
cmp esi, dword [0x100a1f08]
jbe 0x1001b529
call fcn.10055955
mov ebx, 0x100a1f00
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], esi
mov esi, dword [0x100a1f08]
cmp dword [0x100a1f04], esi
jbe 0x1001b547
call fcn.10055955
cmp dword [ebp - 0x10], 0
je 0x1001b552
cmp dword [ebp - 0x10], ebx
je 0x1001b557
call fcn.10055955
cmp dword [ebp - 0xc], esi
je 0x1001b610
lea esi, [ebp - 0x10]
call fcn.10016eeb
cmp dword [eax + 0xe4], 4
jg 0x1001b5b9
mov eax, dword [ebp - 4]
mov edi, dword [eax]
add edi, 4
call fcn.10016eeb
add eax, 0xe0
push eax
call fcn.10016eeb
mov ecx, dword [ebp - 4]
push eax
call dword [edi]
test eax, eax
jne 0x1001b5c6
call fcn.10016eeb
mov dword [eax + 0xe4], 7
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 4
call fcn.100296ad
mov ecx, eax
call fcn.10017201
lea esi, [ebp - 0x10]
call fcn.1001ee20
jmp 0x1001b534
call fcn.10016eeb
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1001b5d9
mov eax, dword [eax + 4]
jmp 0x1001b5dc
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x10]
call fcn.10016eeb
mov dword [eax + 0xe4], 5
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 1
call fcn.100296ad
mov ecx, eax
call fcn.10017201
mov al, 1
jmp 0x1001b612
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001bd2e
Capabilities:
Create directory
Delete file

Disassembly:
push 0x130
mov eax, 0x1007a69d
call fcn.1005d50a
mov eax, dword [0x100a1d48]
xor edi, edi
cmp eax, edi
je 0x1001bd59
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x1001bd52
mov dword [eax + 4], ecx
mov dword [eax + 8], 1
mov eax, dword [0x100a0f74]
mov ecx, 0x100a0f74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x13c], eax
mov dword [ebp - 4], edi
cmp dword [0x1009ed1c], 8
mov eax, dword [0x1009ed08]
jae 0x1001bd85
mov eax, 0x1009ed08
push dword [0x100a1ee4]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10009cda
add esp, 0xc
lea ebx, [ebp - 0x138]
call fcn.1000959d
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.1001a5a7
push str.Download_
mov eax, ebx
push eax
call fcn.100019f1
push edi
push dword [ebp - 0x138]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.QQPCFix.exe
mov eax, ebx
push eax
call fcn.100019f1
mov ebx, dword [ebp - 0x138]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebp - 0x134]
call fcn.1001a87a
mov byte [ebp - 4], 2
call dword [section..data]
push dword [ebp - 0x13c]
call fcn.10054c67
pop ecx
mov ecx, dword [ebp - 0x13c]
mov esi, edi
call fcn.100035ef
push ebx
call fcn.10054c67
pop ecx
mov ecx, ebx
lea esi, [ebp - 0x118]
call fcn.100035ef
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x138]
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x48], 2
call fcn.10001391
or dword [0x100a1f18], 0xffffffff
lea eax, [ebp - 0x134]
push eax
mov eax, 0x100a1f00
call fcn.1001eae8
mov ecx, dword [ebp + 8]
call fcn.1001b4e4
lea eax, [ebp - 0x134]
call fcn.1001bca8
lea eax, [ebx - 0x10]
call fcn.10001981
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
call fcn.10001981
call fcn.1005d58d
ret

Function at 0x1001be88
Capabilities:
Create directory

Disassembly:
push 4
mov eax, 0x100775d2
call fcn.1005d4a1
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [eax]
sub eax, 0x10
call fcn.10001647
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
call fcn.1001a5a7
push str.Download_
push esi
call fcn.100019f1
mov eax, dword [esi]
push edi
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.version
push esi
call fcn.100019f1
mov eax, esi
mov edi, 0x100a1ec0
call fcn.10001391
mov eax, esi
call fcn.1005d579
ret
Function at 0x1001c0c7
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0x18
mov eax, 0x1007a11a
call fcn.1005d4a1
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
push 0xc0000000
push dword [0x100a1ec0]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.10009724
test eax, eax
jl 0x1001c22e
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x20]
call fcn.10009756
test eax, eax
jl 0x1001c22e
mov esi, dword [ebp - 0x20]
mov eax, esi
or eax, dword [ebp - 0x1c]
je 0x1001c22e
inc esi
push esi
call fcn.10053d45
pop ecx
push ebx
mov edi, eax
push esi
push edi
call fcn.10054f10
mov esi, dword [ebp - 0x10]
add esp, 0xc
push ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1001c155
call fcn.10009d6d
jmp 0x1001c157
xor eax, eax
cmp eax, ebx
jge 0x1001c170
push edi
call fcn.10055375
cmp esi, ebx
pop ecx
je 0x1001c23c
push esi
jmp 0x1001c236
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edi
mov dword [ebp - 0x1c], eax
call fcn.1001ab31
add esp, 0xc
push edi
mov dword [ebp - 0x14], eax
call fcn.10055375
cmp esi, ebx
pop ecx
je 0x1001c19c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
je 0x1001c20f
mov esi, dword [ebp - 0x1c]
add esi, esi
push esi
call fcn.10053d45
mov edi, eax
cmp edi, ebx
pop ecx
je 0x1001c201
push esi
push ebx
push edi
call fcn.10054f10
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
dec esi
push eax
dec esi
push edi
mov dword [ebp - 0x18], esi
call fcn.10004adc
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.10054c62
add esp, 0xc
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
je 0x1001c1fa
push edi
push dword [ebp + 8]
call fcn.1001c2b3
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
push edi
call fcn.10055375
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x1001c20f
push dword [ebp - 0x14]
call fcn.10054c62
pop ecx
push dword [0x100a1ec0]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x10], ebx
je 0x1001c229
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x1001c23e
cmp dword [ebp - 0x10], ebx
je 0x1001c23c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.1005d579
ret
Function at 0x1001d141
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x100a1f04]
cmp esi, dword [0x100a1f08]
push edi
jbe 0x1001d15c
call fcn.10055955
mov edi, 0x100a1f00
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov esi, dword [0x100a1f08]
cmp dword [0x100a1f04], esi
jbe 0x1001d17a
call fcn.10055955
cmp dword [ebp - 0xc], 0
je 0x1001d185
cmp dword [ebp - 0xc], edi
je 0x1001d18a
call fcn.10055955
cmp dword [ebp - 8], esi
je 0x1001d1bd
lea esi, [ebp - 0xc]
call fcn.10016eeb
mov eax, dword [eax + 0xec]
cmp eax, dword [ebp + 8]
je 0x1001d1a9
call fcn.1001ee20
jmp 0x1001d167
call fcn.10016eeb
add eax, 0xe8
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x1001d1bf
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1001d1c3
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2114]
mov eax, 0x2114
call fcn.10072dc0
push 0xffffffffffffffff
push 0x100773fd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1009d600]
xor eax, ebp
mov dword [ebp + 0x2110], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x211c]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ebx
push SysReAllocStringLen
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.10009724
cmp eax, ebx
jge 0x1001d239
cmp dword [ebp - 0x10], ebx
je 0x1001d232
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1001d361
xor eax, eax
mov byte [ebp + 0x2100], bl
lea edi, [ebp + 0x2101]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea esi, [ebp - 0x7c]
stosb byte es:[edi], al
call fcn.10003d74
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x2000
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x1001d278
call fcn.10009d6d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1001d28c
lea ecx, [ebp]
lea edx, [ebp - 0x7c]
call fcn.100044be
jmp 0x1001d255
cmp dword [ebp - 0x10], ebx
je 0x1001d29d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp + 0x2100]
push eax
lea esi, [ebp - 0x7c]
call fcn.100046c9
push 0xfe
lea eax, [ebp + 0x2002]
push ebx
push eax
mov word [ebp + 0x2000], bx
call fcn.10054f10
add esp, 0x10
lea esi, [ebp + 0x2000]
xor edi, edi
movzx eax, byte [ebp + edi + 0x2100]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push esi
call fcn.100591bb
add esp, 0x14
add esi, 4
inc edi
cmp edi, 0x10
jb 0x1001d2d0
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000134a
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.1000134a
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10009a16
lea eax, [ebp - 0x18]
call fcn.10009a16
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
call fcn.100096a7
mov esi, eax
mov eax, dword [ebp - 0x18]
neg esi
sbb esi, esi
add eax, 0xfffffff0
inc esi
call fcn.10001981
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10001981
cmp dword [ebp - 0x10], ebx
je 0x1001d35f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 + 0x2110]
xor ecx, ebp
call fcn.10054c7d
add ebp, 0x2114
leave
ret
Function at 0x1001dbff
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x224
mov eax, 0x10079350
call fcn.1005d50a
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x206
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov edi, ecx
mov word [ebp - 0x21c], bx
call fcn.10054f10
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1000134a
lea esi, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.1001a5a7
push str.Kingsoft
mov eax, esi
push eax
call fcn.100019f1
mov eax, dword [0x100a0f74]
mov ecx, 0x100a0f74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push dword [ebp + 0xc]
push dword [ebp - 0x230]
push str._silence1handle_dsupply_dinstallpath__s_
push eax
call fcn.10009cda
mov eax, dword [edi + 0x108]
add esp, 0x14
cmp dword [eax - 0xc], ebx
jne 0x1001dcc3
mov eax, 0x1008c5ac
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.1000134a
mov byte [ebp - 4], 2
push dword [edi + 0xec]
mov esi, dword [edi + 0xe8]
xor eax, eax
cmp dword [edi + 0x104], ebx
setne al
push eax
push dword [ebp - 0x228]
call fcn.1001ed99
mov edx, esi
mov ecx, eax
call fcn.10002851
mov esi, eax
cmp esi, ebx
je 0x1001dd79
add edi, 0x10c
lea eax, [ebp - 0x22c]
push edi
push eax
lea ecx, [ebp - 0x224]
call fcn.1000144f
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
test eax, eax
mov eax, dword [ebp - 0x22c]
setne bl
dec bl
add eax, 0xfffffff0
and ebx, 9
call fcn.10001981
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.10001981
mov al, bl
call fcn.1005d58d
ret
mov bl, 9
jmp 0x1001dd47
Function at 0x1001ddcc
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [section..data]
mov esi, dword [0x100a1f04]
cmp esi, dword [0x100a1f08]
jbe 0x1001ddee
call fcn.10055955
mov dword [ebp - 8], 0x100a1f00
mov dword [ebp - 4], esi
mov edi, 0xe8
mov esi, dword [0x100a1f08]
cmp dword [0x100a1f04], esi
jbe 0x1001de10
call fcn.10055955
cmp dword [ebp - 8], 0
je 0x1001de1f
cmp dword [ebp - 8], 0x100a1f00
je 0x1001de24
call fcn.10055955
cmp dword [ebp - 4], esi
je 0x1001debf
lea esi, [ebp - 8]
call fcn.10016eeb
cmp dword [eax + 0xec], 0x186a0
je 0x1001deb2
call fcn.10016eeb
add eax, edi
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001deb2
call fcn.10016eeb
add eax, 0x100
mov ebx, dword [eax]
call fcn.10016eeb
add eax, edi
push dword [eax]
mov ecx, ebx
call fcn.1001d1c3
test eax, eax
pop ecx
je 0x1001dea3
call fcn.10016eeb
cmp dword [eax + 0xe4], 1
je 0x1001deb2
call fcn.10016eeb
mov dword [eax + 0xf0], 0x64
call fcn.10016eeb
mov dword [eax + 0xe4], 8
jmp 0x1001deb2
call fcn.10016eeb
add eax, edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 8]
call fcn.1001ee20
jmp 0x1001ddfd
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x1001e164
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x21c
mov eax, 0x100792fc
call fcn.1005d50a
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x206
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov word [ebp - 0x21c], bx
call fcn.10054f10
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.1000134a
lea esi, [ebp - 0x220]
mov dword [ebp - 4], ebx
call fcn.1001a5a7
push str.Kingsoft
mov eax, esi
push eax
call fcn.100019f1
mov eax, dword [0x100a0f74]
mov ecx, 0x100a0f74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x224]
push dword [ebp - 0x228]
mov byte [ebp - 4], 1
push str._S__handle_u__supplyid_d
push eax
call fcn.10009cda
mov esi, dword [edi + 0xe8]
add esp, 0x10
push dword [edi + 0xec]
push ebx
push 0x100868d0
call fcn.1001ed99
mov edx, esi
mov ecx, eax
call fcn.10002851
cmp eax, ebx
je 0x1001e26f
push dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
test eax, eax
setne bl
dec bl
and ebx, 9
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
call fcn.10001981
mov al, bl
call fcn.1005d58d
ret
mov bl, 9
jmp 0x1001e24b
Function at 0x1001e331
Capabilities:
Create directory
Delete file

Disassembly:
push 0x1c
mov eax, 0x100779ee
call fcn.1005d4a1
mov eax, dword [0x100a0f74]
mov ecx, 0x100a0f74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea ebx, [ebp - 0x24]
call fcn.1000959d
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001391
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10001981
mov esi, edi
call fcn.1001a5a7
push str.Download_
mov eax, edi
push eax
call fcn.100019f1
mov edi, dword [ebp - 0x10]
push ebx
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x20]
call fcn.1001cf78
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000144f
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
lea eax, [ebp - 0x1c]
push str..tdl
push eax
lea ecx, [ebp - 0x14]
call fcn.10009b0b
pop ecx
pop ecx
mov byte [ebp - 4], 4
push dword [ebp - 0x1c]
call esi
lea eax, [ebp - 0x28]
push str..xfd
push eax
lea ecx, [ebp - 0x14]
call fcn.10009b0b
lea eax, [ebp - 0x18]
push str..xftp
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10009b0b
add esp, 0x10
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10001981
lea eax, [edi - 0x10]
call fcn.10001981
xor eax, eax
inc eax
call fcn.1005d579
ret

Function at 0x1001e4e6
Capabilities:
Check if file exists

Disassembly:
push 0x24
mov eax, 0x100784eb
call fcn.1005d4a1
lea ecx, [ebp - 0x14]
call fcn.1001a760
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push str.dr.dll
push ecx
mov ecx, eax
call fcn.10009b0b
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10001981
push dword [ebp - 0x10]
call fcn.1001a5ca
test eax, eax
pop ecx
jne 0x1001e54e
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001e54e
xor edi, edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10001981
mov eax, edi
call fcn.1005d579
ret
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
call fcn.10002dbd
mov byte [ebp - 4], 3
call fcn.100296ad
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.100293f8
push 0
push 1
lea esi, [ebp - 0x30]
mov edi, eax
call fcn.100031e5
jmp 0x1001e53b

Function at 0x10020718
Capabilities:
Create thread

Disassembly:
push 0x1c
call fcn.1005558d
test eax, eax
pop ecx
je 0x1002072f
push dword [esp + 4]
call fcn.10002dbd
jmp 0x10020731
xor eax, eax
push 0x100a1d90
push 0
push eax
push 0x1002067e
push 0
push 0
call fcn.100556f1
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [0x100a1d8c], eax
mov eax, ecx
mov dword [0x100a1d98], eax
ret 4
Function at 0x10022247
Capabilities:
Get graphical window text

Disassembly:
push 0x18
mov eax, 0x10077017
call fcn.1005d4a1
mov eax, dword [ebx + 0xc]
and dword [ebp - 0x10], 0
test eax, eax
je 0x10022274
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x10022390
mov eax, dword [0x100a0f74]
mov ecx, 0x100a0f74
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
and dword [ebp - 4], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
push edi
lea esi, [ebp + 0x10]
call fcn.10001882
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.1000968e
mov eax, dword [ebp + 0x10]
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x10022385
cmp dword [ebx + 0x14], edi
je 0x10022385
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebx + 0x14]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x18]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
add dword [ebp - 0x24], 3
inc dword [ebp - 0x20]
sub dword [ebp - 0x1c], 2
mov eax, dword [ebx + 0x1c]
dec dword [ebp - 0x18]
push 0x904
lea ecx, [ebp - 0x24]
push ecx
push dword [eax - 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
test esi, esi
je 0x10022385
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.10001981
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, dword [ebp - 0x10]
call fcn.1005d579
ret 0x10

Function at 0x10022a11
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov esi, eax
call edi
mov ebx, 0xff00
and ax, bx
cmp ax, bx
je 0x10022a41
push 2
call edi
and ax, bx
cmp ax, bx
je 0x10022a41
push 1
push esi
call fcn.10022b08
push 0x3f3
push esi
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.1002264b
mov edi, eax
test edi, edi
je 0x10022a71
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10022a71
push dword [esp + 0x10]
mov eax, dword [edi]
push 0
push 0
push edi
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4