joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4137a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4bf960]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4bf960]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x3c8]
cmp dword [eax + 0x7c], 0
lea ecx, [esp + 8]
je 0x41380a
push 0xffffffffffffffff
push 0
add eax, 0x1b4
push eax
call fcn.00401490
jmp 0x413823
cmp dword [eax + 0x64], 0
push 9
je 0x413819
push str.__upstart
jmp 0x41381e
push str.__instart
call fcn.00401890
mov ecx, dword [esi + 0x3c8]
push 0xffffffffffffffff
add ecx, 0x198
push 0
push ecx
lea ecx, [esp + 0x14]
call fcn.00401cc0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x20], esp
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x2c]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.00401490
call fcn.004617aa
add esp, 0x1c
push 1
mov ecx, esi
call fcn.004265bc
cmp dword [esp + 0x20], 8
jb 0x41388c
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0047697c
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00476987
add esp, 0x30
ret
Function at 0x416793
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x94
mov eax, dword [0x4bf960]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x7c]
push 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
jne 0x4167d3
push str.LoadLibrary_fail.__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
or eax, 0xffffffff
jmp 0x416838
push esi
push edi
push 0x804
mov edi, str.SogouInstallerFile
push edi
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x416848
push 0x7e
push eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x12]
push eax
call fcn.00477980
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4b1d80
lea eax, [ebp - 0x14]
push 0x40
push eax
call fcn.00476996
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
call esi
push edi
call esi
push str.FindResource_fail.__r_n
call esi
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
pop ebx
call fcn.00476987
add ebp, 0x70
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FindResource_succeed.__r_n
call esi
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x41687e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.LoadResource_fail.__r_n
jmp 0x4168a4
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x4168aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.SizeofResource_fail.__r_n
call esi
mov eax, edi
jmp 0x416836
push edi
call int.00476820
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x4168d1
push str.new_allocate_memory_fail.__r_n
call esi
or esi, 0xffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x416836
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4168f7
push edi
push eax
push ebx
call fcn.00478140
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [eax], ebx
xor esi, esi
jmp 0x4168c1
push str.Lock_Resource_failed.
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call fcn.00476d61
pop ecx
jmp 0x4168c1
Function at 0x41690f
Capabilities:
Delete file
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call fcn.00416793
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x41698c
push edi
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x416980
push ebx
mov ebx, dword [ebp - 0xc]
push esi
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x10], esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416978
cmp dword [ebp - 0x10], ebx
jne 0x416978
mov dword [ebp - 8], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push dword [ebp - 4]
call fcn.00476d61
pop ecx
pop edi
jmp 0x416997
push str.GetRawData_fail.__r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 8], esi
pop esi
jne 0x4169a6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x41a7f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x41a7fc
mov dword [ecx*4 + 0x4c3ea0], eax
inc ecx
cmp ecx, 0x100
jb 0x41a7f7
mov edx, 0x800
jmp 0x41a849
mov eax, dword [ecx*4 + 0x4c3aa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4c3ea0]
inc ecx
mov dword [ecx*4 + 0x4c3e9c], eax
cmp ecx, edx
jb 0x41a828
mov dword [0x4c2cb8], 0x41b0a3
call fcn.0041b201
test eax, eax
jne 0x41a86a
mov dword [0x4c2cb8], 0x41b13f
pop esi
ret
Function at 0x41b609
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x41b620
leave
ret
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 8], ecx
lea edi, [eax + esi]
jmp 0x41b63f
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41b644
inc edi
cmp edi, dword [ebp - 8]
jb 0x41b636
mov eax, edi
sub eax, esi
cmp edi, dword [ebp - 8]
jae 0x41b733
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x41b6c6
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp - 4], eax
test cl, cl
je 0x41b670
cmp cl, 0xff
jne 0x41b6f5
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
sub esi, eax
sub esi, 5
mov ebx, esi
mov dword [ebp - 0xc], ebx
test edx, edx
je 0x41b706
movzx esi, byte [edx + 0x4b1edc]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
shr ebx, cl
test bl, bl
je 0x41b6b6
cmp bl, 0xff
jne 0x41b703
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, dword [ebp - 0xc]
jmp 0x41b68e
dec ecx
shl edx, cl
and edx, 7
je 0x41b65d
movzx ecx, byte [edx + 0x4b1edc]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x4b1ed4], 0
mov cl, byte [ebx + 4]
je 0x41b6f2
test cl, cl
je 0x41b6f2
cmp cl, 0xff
jne 0x41b65d
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x41b631
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41b631
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0xc]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x41d130
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49494b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x4bf960]
xor eax, esp
mov dword [esp + 0x430], eax
push edi
mov eax, dword [0x4bf960]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [esp + 8], edi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], ax
push 0x206
lea edx, [esp + 0x236]
xor ecx, ecx
push edi
mov dword [esp + 0x44c], edi
push edx
mov word [esp + 0x23c], cx
call fcn.00477980
add esp, 0xc
lea eax, [esp + 0x230]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x41d222
cmp eax, 0x104
ja 0x41d222
push 0x206
lea edx, [esp + 0x2e]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x34], cx
call fcn.00477980
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push edi
push 0x4b1ee4
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41d222
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41d204
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x14]
call fcn.00401890
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
xor eax, eax
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], ax
call fcn.00401490
cmp dword [esp + 0x24], 8
jb 0x41d255
mov edx, dword [esp + 0x10]
push edx
call fcn.0047697c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.00476987
add esp, 0x440
ret
Function at 0x424f63
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4bf960]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x424f8d
xor al, al
jmp 0x425054
mov eax, dword [0x4c1388]
push edi
xor edi, edi
cmp eax, edi
jne 0x424fbb
push 0x497160
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4c1388], eax
cmp eax, 0x20
jae 0x424fbb
mov dword [0x4c1388], edi
xor al, al
jmp 0x425053
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x4c138c], edi
jne 0x424fdb
push 0x49714c
push eax
call esi
mov dword [0x4c138c], eax
cmp eax, edi
je 0x42504c
push 0x4c1380
push 0x4c137c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x4c138c]
cmp dword [0x4c1390], edi
jne 0x425010
push 0x497138
push dword [0x4c1388]
call esi
mov dword [0x4c1390], eax
cmp eax, edi
je 0x42504c
cmp dword [0x4c1394], edi
jne 0x42502e
push 0x497124
push dword [0x4c1388]
call esi
mov dword [0x4c1394], eax
cmp eax, edi
je 0x42504c
cmp dword [str.q__], edi
jne 0x425050
push 0x497110
push dword [0x4c1388]
call esi
mov dword [str.q__], eax
cmp eax, edi
jne 0x425050
xor al, al
jmp 0x425052
mov al, 1
pop esi
pop edi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00476987
add esp, 0x194
ret

Function at 0x426b6e
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x426b84
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x426b90
or edi, 1
push 1
call esi
test ax, ax
jge 0x426b9c
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x426ba8
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x426bb4
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x428a18
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd8]
mov ecx, edi
xor ebx, ebx
call fcn.0045f0be
test eax, eax
jle 0x428a67
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0042bcc7
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x428ac8
mov ecx, edi
inc ebx
call fcn.0045f0be
cmp ebx, eax
jl 0x428a36
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x428b21
sub eax, 4
je 0x428acc
dec eax
dec eax
jne 0x428b18
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call int.0047afee
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x427c0e
call dword [eax + 0x118]
mov esi, eax
test esi, esi
je 0x428b18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x428b1a
cmp dword [esi + 0x54], 0
je 0x428b18
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00426b6e
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x428b18
cmp dword [esi + 0x54], 0
je 0x428b70
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xdc]
test al, al
je 0x428b70
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xe8]
test al, al
je 0x428b70
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push 0x497788
call dword [eax + 0xc]
push eax
call fcn.004772fe
pop ecx
pop ecx
test eax, eax
je 0x428b70
mov ecx, dword [esi + 0x54]
call fcn.00437896
test al, al
jne 0x428b18
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.004288c7
jmp 0x428ac8
Function at 0x44fd60
Capabilities:
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0x489c]
mov ecx, dword [eax]
cmp ecx, 1
jne 0x44fd98
lea eax, [esp + 4]
push eax
push 4
push esi
push 0x44fc6a
push 0
push 0
call fcn.0047b340
add esp, 0x18
mov dword [esi], eax
test eax, eax
jbe 0x44fda3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x44fda3
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
pop esi
pop ecx
ret

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x4563eb
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, eax
call fcn.0042f33d
call edi
mov ecx, dword [esi + 0x28]
sub eax, ebx
cmp eax, ecx
jl 0x4563d5
xor ecx, ecx
jmp 0x4563d7
sub ecx, eax
push ecx
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x24]
cmp eax, 1
je 0x4563ba
pop edi
pop ebx
pop esi
ret
Function at 0x458778
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov esi, ecx
cmp eax, 0xd
jne 0x4587c0
mov eax, dword [esi]
call dword [eax + 0x30]
push dword [edi + 0x10]
mov ebx, eax
push dword [edi + 0xc]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x458814
mov eax, dword [edi + 0xc]
sub eax, dword [ebx]
mov dword [esi + 0x4c4], eax
mov eax, dword [edi + 0x10]
sub eax, dword [ebx + 4]
mov byte [esi + 0x4cc], 1
mov dword [esi + 0x4c8], eax
jmp 0x458814
cmp eax, 0xe
jne 0x4587dd
mov ecx, dword [esi + 0x4c0]
mov byte [esi + 0x4cc], 0
test ecx, ecx
je 0x458814
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x458814
cmp eax, 9
jne 0x45880c
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x45880c
mov ecx, dword [esi + 0x4c0]
test ecx, ecx
je 0x458814
cmp byte [esi + 0x4cc], 0
je 0x458814
mov eax, dword [ecx]
add edi, 0xc
push edi
call dword [eax]
jmp 0x458814
push edi
mov ecx, esi
call fcn.0042f4b2
pop edi
pop esi
pop ebx
ret 4

Function at 0x458836
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp]
push esi
mov ebx, ecx
cmp eax, 0x17
jne 0x458863
movzx eax, word [ebx + 0x4c4]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x458909
cmp eax, 0xd
jne 0x4588b2
mov eax, dword [ebx]
call dword [eax + 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x458909
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebx + 0x4d0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x4c8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x4cc], eax
mov byte [ebx + 0x4e0], 1
pop edi
jmp 0x458909
cmp eax, 0xe
jne 0x4588cf
mov ecx, dword [ebx + 0x4c0]
mov byte [ebx + 0x4e0], 0
test ecx, ecx
je 0x458909
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x458909
cmp eax, 9
jne 0x458903
lea esi, [ebx + 0x4c0]
cmp dword [esi], 0
je 0x458909
cmp byte [ebx + 0x4e0], 0
je 0x458909
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x458909
mov ecx, dword [esi]
mov eax, dword [ecx]
add ebp, 0xc
push ebp
push ebx
call dword [eax + 4]
jmp 0x458909
push ebp
call fcn.0042f4b2
pop esi
pop ebp
pop ebx
ret 4
Function at 0x459f3b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4bf960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x1c], bl
je 0x459fac
cmp dword [esi + 0x14], ebx
je 0x459fac
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.0047b050
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x459fac
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x14]
push dword [ebp - 8]
add ecx, 0x1d0
call fcn.0042be65
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push 0x49a014
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042822d
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476987
leave
ret 0x10

Function at 0x45eb40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bf960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00477980
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x4aeec8
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.00476987
leave
ret

Function at 0x460889
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4bf960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
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], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4608f1
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4608e8
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.00476987
leave
ret

Function at 0x468a17
Capabilities:
Check for software breakpoints

Disassembly:
pop esi
ja 0x468a89
cmp bl, byte [esi - 0x5f62d743]
iretd
mov edi, 0x2db79a31
jle 0x4689d2
push ebp
stosd dword es:[edi], eax
xor ah, 0x3c
jbe 0x468a11
pop ecx
invalid
xchg ecx, eax
dec esp
invalid
Function at 0x4772fe
Capabilities:
Encode data using xor

Disassembly:
add byte [edx + 0x2e6c01b3], dl
sub dword [eax + 0x14], 0x44
mov dword [0x6b55a600], eax
sal byte [esi], 0xe6
mov ch, 0x52
mov byte [0x941e722e], al
xchg esp, eax
xchg esp, eax
bound ebp, qword [ecx + 0x74]
mov esp, 0x515419a3
inc ecx
outsd dx, dword [esi]
xor al, 0x44
jle fcn.004772fe
and byte [eax], dh
adc byte [esi - 0x12], 0x3e
and byte [ebx + edi], cl
or bl, byte [eax + 0xc]
mov ecx, 0xd0ed991f
sahf
and al, 0x83
jno 0x4772e5
shr dword fs:[ecx + 0x33b040ea], 0x81
adc byte [edx + ebx - 0x20], bl
pushfd
add dword [edx - 0x3a8d3ff4], esp
xor ch, byte ds:[ecx - 0x334abf83]
test ebx, esp
aad 0xb9
add ah, cl
pop esi
sbb al, byte [ecx + 0x320ed62]
add byte [eax], 0
add dword [ebx + 8], edi
add byte [ecx], al
pop ecx
add dl, byte [ebp + 0xbb]
invalid
scasd eax, dword es:[edi]
add dword [ecx], esp
invalid

Function at 0x4778c0
Capabilities:
Encode data using xor

Disassembly:
inc esi
add dl, byte [ebp + 0xf2]
add byte [edi], ah
add dword [eax], eax
add byte [ebp], bh
add dword [ecx + 0x3d], edi
inc ecx
wait
dec ebp
mov byte [0x97522314], al
push edx
xchg edi, eax
add byte [edi + 0x21], ch
jo 0x47788e
test eax, 0x84aa083f
inc ebx
dec edx
loope 0x477880
test bl, 0xe9
adc dword [ebx], eax
and byte [esi - 0x77a5cb03], dh
xor al, 0x5a
mov byte [esi + ebp*2 + 0x47c616c1], dl
mov ebx, 0xa3301224
xchg edx, eax
xor bl, al
loopne 0x477869
std
push edx
cmp byte [ecx], cl
lcall 0x9eff, 0xec58094
add dword [eax + ebp*4 - 0x1e], ecx
xchg ebx, eax
and bl, byte [edx + 0x7ab81c6f]
imul edx, dword [0x5d6f1a6e], 0x2939d7ed
xchg edx, eax
adc eax, 0xc32d2aed
mov esi, 0x17daed22
push 0x3f
inc ecx
imul edi, dword [eax - 0xb071498], 0xffffff8e
daa
ja 0x47788c
int 0x25
adc ebp, ebp
test ecx, ebx
imul cl
leave
cli
das
mov esp, 0xfcef1184
scasd eax, dword es:[edi]
dec ebx
inc ebp
add byte [ebx + 0x2c], ch
inc ecx
inc eax
nop
sbb bh, cl
imul ecx, dword [edi - 7], 0xcd93fc22
scasb al, byte es:[edi]
and ecx, dword [ebx]
jecxz 0x477982
hlt
xchg ebx, eax
retf
Function at 0x477e7f
Capabilities:
Encode data using xor

Disassembly:
cmp dword [edx], eax
int 0xe4
xchg esi, eax
inc esp
push esi
fidivr dword [0x72868e03]
jg 0x477de5
aaa
mov ebx, 0x6c6c85e8
clc
inc eax
cmp al, 0x19
jb 0x477e61
add ah, cl
xchg ecx, eax
sbb dword [ecx], edi
and byte [edi + 0xcabb997], ch
xchg edi, eax
mov ecx, 0x9b8e0cab
xor eax, 0x9d06c20c
lahf
cdq
mov dword [0x6db490ba], ecx
salc
mov edx, 0xd66db490
jno 0x477e33
je 0x477e4e
lcall 0x8065, 0x7b308d81
pushal
cmc
jle 0x477df5
stosd dword es:[edi], eax
dec esi
les edi, [ebp - 0x6d]
das
push ecx
adc bl, byte [edi - 0x4f6ba826]
xchg esi, eax
or eax, 0xa77037fc
jb 0x477e60
popal
je 0x477ea3
inc ecx
cwde
xchg dword [edx + 0x23], ebp
scasb al, byte es:[edi]
imul ecx, ebp, 0x46
mov cl, 0x37
adc eax, 0x99eb654a
scasb al, byte es:[edi]
jp 0x477e32
mov byte [0x7bcdf2d4], al
mov byte [0xabad0df9], al
inc ebp
jo 0x477e36
push edi
xor dword [ebx], ecx
or eax, 0x30a60a66
push edx
mov edi, 0x97471f50
dec ebp
iretd
and edi, edx
ror byte [edi + 0x3cd6c813], cl
pushfd
push edi
mov al, byte [0x3fd82fdd]
daa
outsd dx, dword [esi]
int1
pushal
stc
dec esi
or eax, 0x564cb8da
in eax, 0x31
xor al, 0x15
dec esp
lahf
xchg esi, eax
mov ch, 0x2c
xchg ebx, eax
stosd dword es:[edi], eax
inc ebp
rol dword [edi], 1
cmp al, 0x48
dec ecx
sub al, 0x13
sal byte [ebp + 0xa], 1
dec eax
mov al, byte [0xaae3980a]
into
fist word [esi - 0x2d]
sub ebx, ebx
div dword [edx]
aas
sbb eax, 0x1d218736
sbb byte [eax - 0x56f7b151], ch
movsb byte es:[edi], byte [esi]
jmp 0xafeed27