joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a06f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], 4
test eax, eax
je 0x4a0755
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.2019icdisable
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a0752
cmp dword [ebp - 0xc], 4
jne 0x4a0752
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp dword [ebp - 0x10], 1
sete bl
jmp 0x4a0757
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x4a0762
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e620
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push dword [0x61b91c]
mov dword [ebp - 0x18], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a08e2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
mov ebx, dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a08a3
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4a0814
cmp eax, 2
jne 0x4a08a3
lea ecx, [ebp - 0x10]
call fcn.00426010
mov edx, dword [ebp - 0x14]
shr edx, 1
add edx, 1
js 0x4a08ec
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4a084a
push edx
lea ecx, [ebp - 0x10]
call fcn.00426250
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a08a3
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4a08ec
cmp eax, dword [esi - 8]
jg 0x4a08ec
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0x5b3ec4
push esi
mov word [esi + eax*2], cx
call fcn.0054b581
xor ebx, ebx
add esp, 8
test eax, eax
sete bl
jmp 0x4a08a5
xor ebx, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a08c1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4a08cf
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3
Function at 0x4a1bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597520
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a1d2d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x4a1c11
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x5c97e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x4a1cdd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.usertype
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4a1c65
cmp eax, 2
jne 0x4a1cdd
lea ecx, [ebp - 0x14]
call fcn.00426010
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, 1
js 0x4a1d37
mov esi, dword [ebp - 0x14]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4a1c9b
push edx
lea ecx, [ebp - 0x14]
call fcn.00426250
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.usertype
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x4a1cdd
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.0054b2c2
add esp, 8
test eax, eax
js 0x4a1d37
cmp eax, dword [esi - 8]
jg 0x4a1d37
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
je 0x4a1cee
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov edi, eax
jmp 0x4a1cf0
xor edi, edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a1d0c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4a1d1a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80070057
call fcn.00425f50
int3
Function at 0x4a1d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e83d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x238], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a1ef6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
push 0x2001f
push 0
push dword [0x61b908]
mov dword [ebp - 0x21c], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a1ed9
mov edi, dword [ebp - 0x21c]
push 0x208
push eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], edi
call fcn.00540d70
add esp, 0xc
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push dword [0x61b90c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a1ece
mov eax, dword [ebp - 0x228]
cmp eax, 1
je 0x4a1e79
cmp eax, 2
jne 0x4a1ece
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4a1e96
test al, 1
jne 0x4a1ece
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4a1e9f
jmp 0x4a1ece
xor eax, eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x4a1eb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a1eb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004263f0
test edi, edi
je 0x4a1ed9
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4a1f10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 4], 1
mov word [esi], ax
push eax
push eax
push eax
push eax
push 0x5b0144
mov dword [ebp - 0x538], 1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x534], ebx
test ebx, ebx
je 0x4a2143
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push 0x4000000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4a213c
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4a2135
jmp 0x4a1ff0
mov eax, dword [ebp - 0x530]
test eax, eax
je 0x4a212f
cmp eax, 0x400
jae 0x4a219c
mov byte [ebp + eax - 0x410], 0
lea ecx, [ebp - 0x52c]
lea eax, [ebp - 0x528]
mov dword [ebp - 0x52c], eax
lea eax, [ebp - 0x410]
push 0xfde9
push eax
call fcn.00448db0
mov edx, dword [ebp - 0x52c]
xor eax, eax
mov word [ebp - 0x428], ax
mov eax, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a2060
sub eax, ebx
lea ecx, [ebp - 0x428]
sar eax, 1
push eax
push edx
call fcn.00439df0
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.00439c70
mov edx, dword [ebp - 0x414]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4a20e6
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a20dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2197
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov eax, dword [ebp - 0x52c]
lea ecx, [ebp - 0x528]
mov byte [ebp - 4], 1
cmp eax, ecx
je 0x4a2103
push eax
call fcn.0054acf4
add esp, 4
lea eax, [ebp - 0x530]
mov dword [ebp - 0x530], 0
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4a1ff0
mov ebx, dword [ebp - 0x534]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4a2179
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a216f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2197
push edx
push ecx
call fcn.0053d0af
add esp, 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 - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
call fcn.0053db0a
int3
Function at 0x4a5540
Capabilities:
Create process on windows

Disassembly:
push 4
push 0
push 0
push str.http:__www.wps.cn_product_newfeatures
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4a55f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597878
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a5694
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push dword [edi]
push str.unregister_dll_path:_s_n
push eax
call fcn.004289d0
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 1
push dword [ebp + 0xc]
push edi
call fcn.0049da20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edi, eax
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4a5681
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4a6e40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f071
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x42c], esi
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a7038
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push eax
call fcn.00471bb0
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x424]
js 0x4a700b
test eax, eax
je 0x4a701b
cmp eax, 0xffffffff
je 0x4a700b
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 2
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov eax, dword [ebp - 0x428]
je 0x4a6fe5
test eax, eax
je 0x4a6fe7
cmp eax, 0xffffffff
je 0x4a6fe5
push eax
push dword [ebp - 0x424]
call fcn.00473f40
add esp, 8
test eax, eax
je 0x4a6f80
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00432a00
push edi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
jmp 0x4a6fdf
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x4a6fdf
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.00432a00
push edi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x4a6fdf
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp - 0x428]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4a6ff7
cmp eax, 0xffffffff
je 0x4a6ff7
push eax
call edi
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4a701b
cmp eax, 0xffffffff
je 0x4a701b
push eax
call edi
jmp 0x4a701b
test eax, eax
je 0x4a701b
cmp eax, 0xffffffff
je 0x4a701b
push eax
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4a83f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x74]
test esi, esi
je 0x4a8406
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [edi + 0x6c]
mov dword [edi + 0x40], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [edi + 0x68], 0
jne 0x4a8464
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4a75a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x68], eax
cmp dword [edi + 0xa0], 0
jne 0x4a8496
cmp dword [edi + 0xa4], 0
je 0x4a8496
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push 0x4a77d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x68], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4a84af
mov eax, dword [edi + 0x24]
sub eax, 1
jne 0x4a84d6
push ecx
mov ecx, edi
call fcn.004a81b0
jmp 0x4a84d6
push dword [edi + 0x70]
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 1
mov dword [edi + 0x9c], 0x32
call dword [sym.imp.KERNEL32.dll_SetEvent]
test esi, esi
je 0x4a84e1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4a8510
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4a8595
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x68]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4a855b
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4a8545
push 0
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4a8595
push 0x1f4
push eax
call ecx
test eax, eax
je 0x4a857f
push 0
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], 0
pop esi
ret
Function at 0x4a8610
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597419
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a86c9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
cmp dword [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
je 0x4a86b3
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov ecx, dword [ebx + 8]
add esp, 4
inc ecx
mov esi, eax
push ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
mov ecx, edi
call fcn.00432a00
push esi
call fcn.0053d0c6
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00425f50
int3

Function at 0x4a8700
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x4a8711
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
xor eax, eax
ret

Function at 0x4a8770
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f0b9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp - 4], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4a8875
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebx + 4], 0
mov dword [ebp - 0x14], 1
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
je 0x4a881c
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053d0bd
mov ecx, dword [ebx + 8]
add esp, 4
inc ecx
mov esi, eax
push ecx
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea ecx, [ebp - 0x10]
call fcn.00432a00
push esi
call fcn.0053d0c6
mov esi, dword [ebp - 0x10]
add esp, 4
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4a8845
push eax
push eax
push 0xb1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a8864
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4ab0d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f36f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4ab21f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4ab229
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
lea esi, [edi + 0xc]
mov dword [edi + 8], 0
push 0x1c
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042fbc0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042fbc0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0042fbc0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x1c], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 4
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042fbc0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push 0xc
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.0042fbc0
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x2c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
push 0x80004005
call fcn.00425f50
int3
Function at 0x4ab3e0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f3db
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc0], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xaa
movzx esi, ax
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0xbc]
push 0x55
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ab500
push 0x5c9b88
lea eax, [ebp - 0xbc]
push 0x55
push eax
call fcn.0055418d
lea ecx, [ebp - 0xbc]
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab470
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push 0x55
lea eax, [eax + ecx*2]
push eax
push 0x5a
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4ab500
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4ab534
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4ab4d2
movzx eax, ax
mov ecx, edi
push eax
call fcn.00426130
jmp 0x4ab515
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 2]
jmp 0x4ab4e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab4e0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004263f0
jmp 0x4ab515
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4ab534
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00425f50
int3