joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b1bf
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e2b55
call fcn.100c908c
sub esp, 0xc0
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.1007f33d
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b2f1
mov eax, dword [esi + 0x44]
cmp eax, edi
je 0x1001b20c
lea ebx, [eax + 0xb8]
jmp 0x1001b20e
xor ebx, ebx
push edi
push edi
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
lea edi, [esi + 0x50]
push edi
call fcn.1000548f
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.1004ad5e
add esp, 0x14
mov byte [ebp - 4], 2
call fcn.10069261
push esi
push ecx
mov byte [eax], 0
lea eax, [esi + 0x58]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.1000548f
push dword [esi + 0x5c]
lea eax, [esi + 0x54]
push ecx
mov dword [ebp - 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 4
call fcn.1000548f
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push edi
mov byte [ebp - 4], 5
call fcn.1000548f
push dword [esi + 0x44]
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.100a3f04
mov eax, dword [esi + 0x44]
lea ecx, [eax + 0xb8]
mov eax, dword [ecx]
mov byte [ebp - 4], 6
call dword [eax + 0x5c]
push 0
push eax
lea ecx, [ebp - 0xcc]
call fcn.1001888e
cmp eax, 1
jne 0x1001b2c8
lea ecx, [ebp - 0xcc]
call fcn.100a34c0
test al, al
jne 0x1001b2c8
call fcn.10069261
mov byte [eax], 1
mov ecx, dword [esi + 0x44]
call fcn.1007f473
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.100a4198
mov dword [ebp - 4], 2
call fcn.10069261
mov byte [eax], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x1001bae8
Capabilities:
Parse url

Disassembly:
mov eax, 0x100f00ba
call fcn.100c908c
sub esp, 0x3c
push ebx
push edi
mov ebx, ecx
xor edi, edi
push 0x38
lea eax, [ebp - 0x44]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.100c7c60
push 0x200
mov dword [ebp - 0x48], 0x3c
call fcn.100c74ae
push 0x100
push edi
push eax
mov dword [ebp - 0x38], eax
call fcn.100c7c60
push 0x1000
mov dword [ebp - 0x34], 0x100
call fcn.100c74ae
push 0x800
push edi
push eax
mov dword [ebp - 0x1c], eax
call fcn.100c7c60
mov eax, dword [ebp + 0xc]
add esp, 0x2c
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x18], 0x7ff
jae 0x1001bb60
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x48]
push ecx
push edi
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
push dword [ebp - 0x38]
mov ecx, ebx
call fcn.1000229b
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x1c]
call fcn.1000229b
push dword [ebp - 0x38]
call fcn.100c77f9
push dword [ebp - 0x1c]
call fcn.100c77f9
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp + 8]
call fcn.100022b8
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x1001d02c
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100e2f5c
call fcn.100c908c
sub esp, 0x238
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov esi, ecx
push edi
push str.temp
lea ecx, [esi + 0x68]
mov dword [ebp - 4], edi
call fcn.1000506b
cmp eax, 0xffffffff
jle 0x1001d14d
lea eax, [ebp - 0x1c]
push eax
call fcn.10060b08
pop ecx
add esi, 0x7c
push esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10003f60
lea eax, [ebp - 0x18]
push eax
call fcn.100627b8
pop ecx
push esi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
xor eax, eax
push 0x206
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push edi
push eax
call fcn.100c7c60
push dword [ebp - 0x14]
lea eax, [ebp - 0x244]
push eax
call fcn.100cb20b
add esp, 0x14
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1001d11c
push ecx
lea eax, [ebp - 0x244]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.10009e15
call fcn.10049303
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d137
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1001d1ee
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100e2f96
call fcn.100c908c
sub esp, 0x38
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
push eax
mov esi, ecx
call fcn.10060b08
pop ecx
lea edi, [esi + 0x7c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10003f60
lea eax, [ebp - 0x20]
push eax
call fcn.100627b8
pop ecx
push edi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.10006f5b
add esp, 0xc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10003f60
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d27b
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x64]
push eax
call fcn.1000688b
lea ecx, [esi + 0x50]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x1001d29c
push str.false
call fcn.10006a3d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.1001bf02
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x1001d35e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1001d477
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, 0x100e2ff2
call fcn.100c908c
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0x5c]
mov eax, dword [ecx]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
cmp dword [eax - 0xc], esi
je 0x1001d4bf
push esi
call fcn.100054ad
push 0x34
push str.Alert
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x1001d4bf
mov eax, 0xfffffe6f
jmp 0x1001d5d7
lea eax, [ebp - 0x18]
push eax
call fcn.10060b08
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100054ad
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 0
call fcn.10003f60
test bl, bl
je 0x1001d570
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x1010d92c
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Error
mov byte [ebp - 4], 2
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ErrorMsg
mov byte [ebp - 4], 3
call fcn.10009e15
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0
call fcn.10061f03
add esp, 0x10
push esi
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.100054ad
push esi
lea ecx, [edi + 0x58]
mov ebx, eax
call fcn.100054ad
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
push 0xfffffffffffffffb
pop eax
jmp 0x1001d5d7
push dword [edi + 0x54]
call fcn.100b9af6
mov ebx, dword [ebp + 8]
pop ecx
push 0xfde9
push 1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xbc]
push dword [ebp - 0x14]
call fcn.100c8143
pop ecx
cmp eax, 0x1000
jbe 0x1001d5b0
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov word [ecx + 0x2000], ax
push esi
lea ecx, [edi + 0x50]
call fcn.100054ad
push 1
push esi
push dword [ebp - 0x14]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x14]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1001dde2
Capabilities:
Create thread

Disassembly:
mov eax, 0x100e30f4
call fcn.100c908c
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
call fcn.10003d6d
push str.AfterInit
push dword [ebp + 8]
call fcn.100c810c
pop ecx
pop ecx
test eax, eax
je 0x1001de32
push str.AfterReInit
push dword [ebp + 8]
call fcn.100c810c
pop ecx
pop ecx
test eax, eax
jne 0x1001df12
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov edi, 0x100f6184
push edi
call fcn.10009e15
push ebx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
mov esi, str.fb_firstrun
push esi
mov byte [ebp - 4], 1
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.10062265
add esp, 0xc
cmp eax, ebx
jne 0x1001df12
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edi
call fcn.10009e15
push 1
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
mov byte [ebp - 4], 2
call fcn.10009e15
mov byte [ebp - 4], 0
call fcn.10062441
add esp, 0xc
push 0x20
call fcn.100c839d
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x1001deb3
call fcn.100187ef
mov ebx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x54]
mov byte [ebp - 4], 0
test edi, edi
je 0x1001ded0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1001ded4
xor eax, eax
jmp 0x1001deed
lea esi, [eax + eax]
mov eax, esi
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.10003212
push eax
mov ecx, ebx
call fcn.1000148c
lea ecx, [ebx + 0x1c]
push str.www.freecause.com
call fcn.10006a3d
push ebx
push 0
push 0x1001b65a
call fcn.100cb32b
add esp, 0xc
xor eax, eax
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1001ec9c
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
mov esi, ecx
push 1
lea eax, [esi + 0x60]
push eax
push str.LANGUAGE
push dword [esp + 0x18]
call fcn.1001ec74
push 0
push 1
add esi, 0x78
push esi
push str.COUNTRY
push dword [esp + 0x2c]
call fcn.1001ec74
add esp, 0x28
pop esi
ret 4

Function at 0x1001f5bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001f626
cmp dword [ebp + 0x10], 1
je 0x1001f5fe
cmp dword [ebp + 0x10], 2
je 0x1001f5fe
push 0xd
pop eax
jmp 0x1001f626
mov eax, dword [ebp - 4]
test edi, edi
je 0x1001f620
test eax, eax
je 0x1001f61b
test al, 1
jne 0x1001f5f9
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1001f620
jmp 0x1001f5f9
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x1001f8dd
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100f0492
call fcn.100c908c
push ecx
push esi
call fcn.1001f86f
test al, al
je 0x1001f901
push str.dca_api.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
jmp 0x1001f963
push str._CommonProgramFiles_FreecauseDCAdca_api.dll
lea ecx, [ebp - 0x10]
call fcn.10009e15
and dword [ebp - 4], 0
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.100054ad
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000dbfd
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f94e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
xor eax, eax
jmp 0x1001f965
push dword [ebp - 0x10]
call fcn.1001f65e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10003f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1001face
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
mov eax, 0x100e338c
call fcn.100c908c
mov eax, 0x1020
call fcn.100c7e50
push esi
push edi
push ecx
xor edi, edi
mov dword [ebp - 0x14], edi
mov ecx, esp
mov dword [ebp - 0x2c], esp
mov esi, 0x1010d92c
push esi
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push esi
mov dword [ebp - 4], edi
call fcn.10009e15
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.fcuserid
mov byte [ebp - 4], 1
call fcn.10009e15
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.1006135f
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], edi
je 0x1001fb4d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.1000548f
jmp 0x1001fc91
call fcn.1004a70c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.urlNewUser
call fcn.10009e15
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.1004ee1b
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.1000548f
lea eax, [ebp - 0x14]
push eax
call fcn.1004abc9
xor eax, eax
push 0xffe
mov word [ebp - 0x102c], ax
lea eax, [ebp - 0x102a]
push edi
push eax
mov byte [ebp - 4], 4
call fcn.100c7c60
push 0x800
lea eax, [ebp - 0x102c]
push eax
push dword [ebp - 0x18]
call sym.Toolbar.DLL_raw_ParseIndependentVars
add esp, 0x20
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10006a3d
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001fbf7
call fcn.1001f86f
test al, al
jne 0x1001fbf7
push edi
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, edi
jne 0x1001fc6f
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.1000548f
lea eax, [ebp - 0x20]
push eax
call fcn.1004a62f
add esp, 4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.userid:_0_9_
mov byte [ebp - 4], 5
call fcn.10009e15
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.1000548f
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call fcn.10049001
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.1000688b
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.10003f60
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.1000548f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x10021a5e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x1014f3b0
push esi
push 0x1014f37e
push 0x1014f378
call fcn.100219e4
push 0x101454a0
push 6
push esi
push 4
push dword [esp + 0x30]
call fcn.100216b8
mov ecx, dword [esp + 0x38]
add esp, 0x20
push 6
mov eax, esi
sub ecx, esi
pop esi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x10021a98
mov ebx, 0x1014f3ac
push ebx
mov ebp, 0x1014f378
push ebp
mov edi, 0x1014f374
push edi
call fcn.100219e4
movzx eax, byte [0x1014f3b0]
movzx ecx, byte [0x1014f3b1]
mov esi, eax
shr eax, 2
movzx eax, byte [eax + 0x101455e0]
mov al, byte [eax + 0x101455e0]
mov edx, ecx
shr edx, 4
shl al, 4
and esi, 3
shl esi, 4
or edx, esi
movzx edx, byte [edx + 0x10145620]
or al, byte [edx + 0x10145620]
and ecx, 0xf
or byte [0x1014f3ac], al
movzx eax, byte [0x1014f3b2]
mov edx, eax
shl ecx, 2
shr edx, 6
or edx, ecx
movzx ecx, byte [edx + 0x10145660]
mov cl, byte [ecx + 0x10145660]
and eax, 0x3f
movzx eax, byte [eax + 0x101456a0]
shl cl, 4
or cl, byte [eax + 0x101456a0]
movzx eax, byte [0x1014f3b3]
or byte [0x1014f3ad], cl
movzx ecx, byte [0x1014f3b4]
mov esi, eax
mov edx, ecx
shr eax, 2
movzx eax, byte [eax + 0x101456e0]
mov al, byte [eax + 0x101456e0]
shr edx, 4
and esi, 3
shl esi, 4
or edx, esi
movzx edx, byte [edx + 0x10145720]
shl al, 4
or al, byte [edx + 0x10145720]
and ecx, 0xf
or byte [0x1014f3ae], al
movzx eax, byte [0x1014f3b5]
mov edx, eax
shl ecx, 2
shr edx, 6
or edx, ecx
movzx ecx, byte [edx + 0x10145760]
mov cl, byte [ecx + 0x10145760]
and eax, 0x3f
movzx eax, byte [eax + 0x101457a0]
mov esi, 0x1014f3a8
shl cl, 4
or cl, byte [eax + 0x101457a0]
push esi
or byte [0x1014f3af], cl
push ebp
push edi
call fcn.100219e4
push 0x10145560
push esi
push ebx
push 4
pop edi
call fcn.10021664
add esp, 0x24
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x10021eb3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x101452a0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor ebx, ebx
push 8
pop edi
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
call fcn.10021664
add esp, 0xc
xor edi, edi
push edi
mov ecx, 0x1014f390
call fcn.100217e6
push eax
push dword [eax + 0xc]
lea ecx, [ebp - 0x14]
call fcn.10097951
lea ecx, [ebp - 0x14]
call fcn.10022a28
push eax
lea eax, [ebp - 8]
push eax
call fcn.10021a5e
pop ecx
pop ecx
mov cl, byte [ebp - 8]
mov byte [ebp - 4], cl
mov cl, byte [ebp - 7]
mov byte [ebp - 3], cl
mov cl, byte [ebp - 6]
mov byte [ebp - 2], cl
mov cl, byte [ebp - 5]
mov byte [ebp - 1], cl
lea ecx, [ebp - 8]
mov edx, ecx
push 4
sub eax, edx
pop esi
mov dl, byte [eax + ecx]
xor dl, byte [ecx - 4]
mov byte [ecx], dl
inc ecx
dec esi
jne 0x10021f3c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
call fcn.100219e4
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x10021eef
push dword [ebp + 0xc]
push 0x1014f390
push 0x1014f388
call fcn.100219e4
push 0x101453a0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 8
pop edi
call fcn.10021664
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10021f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor al, al
push esi
push edi
push 0x101452a0
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], al
mov byte [ebp - 0xa], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 8
pop edi
call fcn.10021664
add esp, 0xc
push 0xf
pop edi
push edi
mov ecx, 0x1014f390
call fcn.100217e6
push eax
push dword [eax + 0xc]
lea ecx, [ebp - 0x14]
call fcn.10097951
lea ecx, [ebp - 0x14]
call fcn.10022a28
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10021a5e
pop ecx
pop ecx
mov cl, byte [ebp - 0xc]
mov byte [ebp - 4], cl
mov cl, byte [ebp - 0xb]
mov byte [ebp - 3], cl
mov cl, byte [ebp - 0xa]
mov byte [ebp - 2], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 1], cl
lea ecx, [ebp - 0xc]
mov edx, ecx
push 4
sub eax, edx
pop esi
mov dl, byte [eax + ecx]
xor dl, byte [ecx + 4]
mov byte [ecx], dl
inc ecx
dec esi
jne 0x10022019
lea eax, [ebp - 8]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 4]
push eax
call fcn.100219e4
add esp, 0xc
dec edi
jns 0x10021fcc
push dword [ebp + 0xc]
push 0x1014f390
push 0x1014f388
call fcn.100219e4
push 0x101453a0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 8
pop edi
call fcn.10021664
add esp, 0x18
pop edi
pop esi
leave
ret
Function at 0x10028f38
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.100054ad
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.1000dbfd
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x1002924a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100e3c32
call fcn.100c908c
sub esp, 0x238
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 4], 0x100
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], ebx
jne 0x1002939a
cmp dword [edi + 8], 0xd
je 0x100292d9
mov ecx, dword [esi + 0x84]
add ecx, 0xf4
mov byte [esi + 0x109], bl
call fcn.10069337
cmp al, bl
jne 0x1002939a
cmp byte [0x1014faa8], bl
je 0x100292c9
mov eax, dword [edi + 8]
cmp eax, 0x25
je 0x100292c9
cmp eax, 0x27
je 0x100292c9
cmp eax, 0x24
je 0x100292c9
cmp eax, 0x23
je 0x100292c9
cmp eax, 8
je 0x100292c9
cmp eax, 0x2e
jne 0x1002939a
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x10029357
push 0x104
lea eax, [ebp - 0x244]
push eax
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x244]
lea ecx, [esi + 0x90]
push eax
call fcn.10006a3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
cmp al, bl
je 0x1002939a
cmp dword [esi + 0x10], 0xffffffff
mov byte [esi + 0x128], 1
je 0x10029357
mov eax, dword [esi + 0x4c]
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push eax
push str.Current_Link
mov ecx, edi
call dword [edx + 0x44]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push str.ApplyCommandEx
mov ecx, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
call dword [eax + 0xb8]
xor eax, eax
jmp 0x1002939d
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x100294ed
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100e3c66
call fcn.100c908c
sub esp, 0x830
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp byte [esi + 0xd9], bl
je 0x1002956a
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1002956a
xor eax, eax
push 0x7fe
mov word [ebp - 0x83c], ax
lea eax, [ebp - 0x83a]
push ebx
push eax
call fcn.100c7c60
add esp, 0xc
push 0x400
lea eax, [ebp - 0x83c]
push eax
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x83c]
lea ecx, [esi + 0x90]
push eax
call fcn.10006a3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4