joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4982f8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x498472
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.00496eec
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.00496f0c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x49843e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004044b4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409354
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004085fc
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004085fc
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404650
je 0x498418
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004044b4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004085fc
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004085fc
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404650
jne 0x49842f
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00496f2c
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x498379
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498479
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404268
lea eax, [ebp - 4]
call fcn.00404244
ret

Function at 0x49866c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
cmp dword [0x4bab18], 0
jne 0x4986f6
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x49870c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x498750
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4986de
mov eax, 0x4bab18
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.004044b4
jmp 0x4986ed
mov eax, 0x4bab18
mov edx, 0x49875c
call fcn.00404298
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
mov edx, dword [0x4bab18]
call fcn.00404298
add esp, 0x10c
pop ebx
ret
Function at 0x499298
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
lea eax, [ebp - 0x198]
push eax
mov dl, 2
mov al, 2
call fcn.00407318
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x499354
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49934d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
je 0x499331
mov word [ebp - 0x1a8], 2
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x1a4], eax
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x1a6], ax
push 0x10
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x499331
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2740
jne 0x499331
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499354
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49935c
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
lea eax, [ebp - 0x198]
push eax
mov dl, 2
mov al, 2
call fcn.00407318
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x499418
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x499411
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
je 0x4993f5
mov word [ebp - 0x1a8], 2
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x1a4], eax
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x1a6], ax
push 0x10
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x4993f5
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2740
jne 0x4993f5
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499418
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49a264
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4bac7c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x49a2a0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49a2b8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49a2b1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402d7c
xor edx, edx
mov eax, 0x4bae7c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x49a322
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x49a2d6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x49a560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49a579
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x49a572
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49a58b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49a584
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0049a154
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49a5a5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0049a264
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49a62a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x49a647
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0049a1e4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49a670
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49a688
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x49a6a1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x49a69a
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x49a6b5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049a04c
test bl, bl
jne 0x49a788
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4bd020
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x49a6ec
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49a700
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049a560
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x49a732
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x49a6e1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49a755
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x49a766
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49a77a
jmp 0x49a843
cmp bl, 1
jne 0x49a843
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4bd07a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x49a7a8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49a7bc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049a560
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x49a7ee
sub ebx, 6
inc dword [ebp - 8]
jne 0x49a79d
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x49a815
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x49a826
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x49a83a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049a0d0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x49be34
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x21
mov eax, dword [0x4bb500]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040968c
add esp, 0x104
pop ebx
ret

Function at 0x49be74
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f4
xor eax, eax
push ebp
push 0x49bedf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402d7c
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00404704
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x10
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bee6
lea eax, [ebp - 4]
call fcn.00404244
ret

Function at 0x49bfa8
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x49c06c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 4]
call fcn.004027a0
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov ebx, eax
test ebx, ebx
je 0x49bffb
mov eax, dword [edi + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov eax, edi
call fcn.004027c0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
call sub.wininet.dll_FindNextUrlCacheEntryA
call sub.kernel32.dll_GetLastError
mov esi, eax
cmp esi, 0x7a
jne 0x49c04a
mov eax, dword [ebp - 4]
call fcn.004027a0
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call sub.wininet.dll_FindNextUrlCacheEntryA
test eax, eax
je 0x49c041
mov eax, dword [edi + 4]
push eax
call sub.wininet.dll_DeleteUrlCacheEntry
mov eax, edi
call fcn.004027c0
jmp 0x49c04d
inc dword [ebp - 8]
cmp esi, 0x103
je 0x49c062
test ebx, ebx
jbe 0x49c062
cmp dword [ebp - 8], 0x2710
jle 0x49c002
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c076
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a2358
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x4a2314
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x4a2378
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046f4
xor eax, eax
push ebp
push 0x4a2556
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x4a251c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d7c
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d7c
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 3
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 4]
mov edx, 0x4a2570
call fcn.00404550
mov eax, dword [ebp - 0x164]
call fcn.00404704
push eax
lea eax, [ebp - 0x168]
call fcn.0049866c
mov eax, dword [ebp - 0x168]
call fcn.00404704
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4a2512
push 0x1388
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_WaitForInputIdle
xor esi, esi
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x58]
call fcn.004a2358
mov ebx, eax
test ebx, ebx
jg 0x4a247a
inc esi
cmp esi, 5
jl 0x4a245c
lea eax, [ebp - 8]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00498484
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call fcn.00408638
mov edx, dword [ebp - 0x16c]
mov eax, 0x4a257c
call fcn.0040d3e8
test eax, eax
jne 0x4a24be
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a2528
push 0xff
lea eax, [ebp - 0x15f]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x170]
lea edx, [ebp - 0x15f]
mov ecx, 0xff
call fcn.004044b4
mov edx, dword [ebp - 0x170]
mov eax, 0x4a2594
call fcn.0040d3e8
test eax, eax
jne 0x4a2512
push 0x3e8
call sub.kernel32.dll_Sleep_1
push 0
push 0x4a25a8
call sub.user32.dll_FindWindowA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a2528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a255d
lea eax, [ebp - 0x170]
mov edx, 4
call fcn.00404268
lea eax, [ebp - 0xc]
call fcn.00404244
lea eax, [ebp - 4]
call fcn.00404244
ret
Function at 0x4a4680
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a4736
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov dl, 1
mov eax, dword [0x432b38]
call fcn.00432c38
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a4719
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00432cd8
mov cl, 1
mov edx, 0x4a474c
mov eax, dword [ebp - 8]
call fcn.00432d40
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov edx, 0x4a4784
mov eax, dword [ebp - 8]
call fcn.00498e54
mov eax, dword [ebp - 0xc]
call fcn.00404504
test eax, eax
jle 0x4a46f9
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
call fcn.00432ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4720
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx - 4]
ret

Function at 0x4a4790
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a484f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x432b38]
call fcn.00432c38
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4832
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.00432cd8
mov cl, 1
mov edx, 0x4a4864
mov eax, dword [ebp - 4]
call fcn.00432d40
test bl, bl
je 0x4a4805
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402ac8
mov ecx, dword [ebp - 8]
mov edx, 0x4a489c
mov eax, dword [ebp - 4]
call fcn.00433294
jmp 0x4a4812
mov edx, 0x4a489c
mov eax, dword [ebp - 4]
call fcn.00433194
mov eax, dword [ebp - 4]
call fcn.00432ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4839
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 4]
ret
Function at 0x4b186c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov ecx, 0x1b58
mov edx, 0x4b1998
mov eax, dword [ebx + 8]
call fcn.004a2108
mov ecx, 0x1f4
mov edx, 0x4b19b8
mov eax, dword [ebx + 8]
call fcn.004a2108
push 1
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4b19cc
mov edx, 0x4b19e8
mov eax, dword [ebx + 0x50]
call fcn.004a2e64
push esp
call sub.user32.dll_GetCursorPos
lea edx, [esp + 8]
mov eax, esp
call fcn.004a415c
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
xor eax, eax
call fcn.004a42a0
mov ecx, 0x1f4
mov edx, 0x4b19f8
mov eax, dword [ebx + 8]
call fcn.004a2108
push 3
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4b1a10
mov edx, 0x4b1a24
mov eax, dword [ebx + 0x50]
call fcn.004a2e64
push esp
call sub.user32.dll_GetCursorPos
lea edx, [esp + 8]
mov eax, esp
call fcn.004a415c
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
xor eax, eax
call fcn.004a42a0
push 0
mov ecx, 0x12c
mov edx, 0x4b1a2c
mov eax, dword [ebx + 0x50]
call fcn.004a2990
push 3
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4b1a40
mov edx, 0x4b1a24
mov eax, dword [ebx + 0x50]
call fcn.004a2e64
lea edx, [esp + 8]
mov eax, esp
call fcn.004a415c
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
xor eax, eax
call fcn.004a42a0
mov ecx, 0x1f4
mov edx, 0x4b1a54
mov eax, dword [ebx + 8]
call fcn.004a2108
add esp, 0x10
pop ebx
ret
Function at 0x100010c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100011b2
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10008980
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10003440
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10006110
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100021e0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002230
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002290
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100022f0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002350
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100023b0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002410
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002470
push 0
push 0
call esi
push 0
push 0
push 0
push 0x100024d0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10002530
push 0
push 0
call esi
pop esi
mov eax, 1
pop ebp
ret 0xc
Function at 0x10010160
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1000fd80
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10010192
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x1003e14c]
call dword [ebp - 8]
jmp 0x1001019c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x1002ba00
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.10017290
lea ecx, [ebp - 4]
call fcn.1002b9d0
movzx eax, al
test eax, eax
jne 0x1002ba3d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.1002b910
mov eax, dword [ebp - 0x18]
jmp 0x1002bb65
lea ecx, [ebp - 4]
call fcn.100119f0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1002b990
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.100119f0
push eax
push 0
push 0
call fcn.1002b850
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1002baa3
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.1002b910
mov eax, dword [ebp - 0x20]
jmp 0x1002bb65
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100218f0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.1000cf50
lea ecx, [ebp - 8]
call fcn.1000cf90
movzx edx, al
test edx, edx
jne 0x1002baec
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.1000dc20
lea ecx, [ebp - 4]
call fcn.1002b910
mov eax, dword [ebp - 0x24]
jmp 0x1002bb65
lea ecx, [ebp - 8]
call fcn.1000cfe0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.100119f0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.1002b850
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1002bb47
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.1000dc20
lea ecx, [ebp - 4]
call fcn.1002b910
mov eax, dword [ebp - 0x34]
jmp 0x1002bb65
lea ecx, [ebp - 8]
call fcn.1001e240
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.1000dc20
lea ecx, [ebp - 4]
call fcn.1002b910
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret

Function at 0x1002c330
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1002bc30
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002c364
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x1003e14c]
call dword [ebp - 8]
jmp 0x1002c36a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4