joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413a10
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov dword [edi], vtable.ConsoleInteractive.0
test esi, esi
je 0x413a5f
mov eax, dword [esi + 4]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x413a57
lea esi, [ebx + 0x20]
call fcn.00413cb0
mov ecx, esi
call fcn.00402f70
push ebx
call fcn.00414274
add esp, 4
mov dword [edi + 4], 0
pop ebx
mov dword [edi], vtable.IInteractive.0
pop edi
pop esi
ret

Function at 0x413a70
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4492d6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45c510]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 8], 0
je 0x413ab8
mov eax, esi
call fcn.00413c30
test al, al
jne 0x413ab8
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
cmp dword [esi + 4], 0
jne 0x413b59
cmp byte [esi + 8], 0
push 0x40
je 0x413aef
call fcn.0041423a
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x413b14
mov ecx, dword [esi + 0x14]
push ecx
mov edi, eax
call fcn.00413e80
jmp 0x413b16
call fcn.0041423a
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 1
test eax, eax
je 0x413b14
mov edx, dword [esi + 0xc]
push edx
mov edi, eax
call fcn.00413e80
jmp 0x413b16
xor eax, eax
mov dword [esi + 4], eax
mov esi, eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push esi
push 0x413d30
push 0
push 0
call fcn.00431dc7
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 4], eax
mov al, cl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x413b80
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp byte [esi + 8], 0
push 0
mov ecx, edi
je 0x413bab
lea eax, [esp + 0x10]
push eax
call fcn.00402800
push eax
mov ecx, edi
call fcn.004027e0
mov ecx, dword [esi + 0x10]
push eax
push ecx
jmp 0x413bc2
lea edx, [esp + 0x10]
push edx
call fcn.00402800
push eax
mov ecx, edi
call fcn.004027e0
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor ecx, ecx
cmp eax, 1
sete cl
pop edi
mov al, cl
pop esi
ret 4

Function at 0x413be0
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x413c29
mov eax, dword [esi + 4]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edi, dword [ebx + 4]
test edi, edi
je 0x413c21
lea esi, [edi + 0x20]
call fcn.00413cb0
mov ecx, esi
call fcn.00402f70
push edi
call fcn.00414274
add esp, 4
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
ret
Function at 0x413c30
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esi, eax
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 0xc]
push edx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x413c72
pop edi
xor al, al
pop esi
add esp, 0xc
ret
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x18]
push ecx
lea edx, [esi + 0x14]
push edx
call edi
test eax, eax
je 0x413c6a
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x20]
push ecx
add esi, 0x1c
push esi
call edi
test eax, eax
pop edi
setne al
pop esi
add esp, 0xc
ret

Function at 0x414fa6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x45c510]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x415044
push 0x44aa64
push 4
push eax
call fcn.00433eb2
push eax
call fcn.00414e10
add esp, 0x10
push ebx
push edi
call fcn.00433fed
mov edi, dword [eax]
call fcn.00433fed
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00431946
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00433fed
cmp dword [eax], ebx
je 0x41505b
call fcn.00433fed
push dword [eax]
call fcn.00414e3c
pop ecx
jmp 0x415062
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x414fec
jmp 0x4150e9
call fcn.00433fed
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x4150e5
cmp dword [ebp - 0x11c], esi
jae 0x4150e5
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00433610
add esp, 0xc
push 0x44a8fc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4150d4
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4150d4
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4150d4
push ebx
push ebx
push esi
jmp 0x4150dd
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4150e7
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00430e59
leave
ret
Function at 0x4169d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x416a19
call fcn.0041a2ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416a19
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x416a5c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x416a45
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x416a45
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x416a59
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41855f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x418583
cmp dword [edi + 0x54], 0
jne 0x418583
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041a2ce
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00418520
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41fba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41fbe7
call fcn.0041a2ce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41fbe7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41fc03
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041f71a
mov esi, eax
test edi, edi
je 0x41fc01
test ebx, ebx
je 0x41fc01
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4203d4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4480de
call fcn.00433a70
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4203f9
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42043f
lea ecx, [ebp - 0x10]
call fcn.00405650
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00418d84
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401000
mov eax, esi
call fcn.00433b48
ret 8
Function at 0x430e59
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c510]
jne 0x430e63
repz ret
jmp fcn.00435d9f

Function at 0x441c0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00436287
and dword [ebp - 4], 0
cmp dword [0x460750], 0
mov ebx, eax
jne 0x441cbc
push 0x44f910
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x441d6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44f904
push edi
call esi
test eax, eax
je 0x441d6d
push eax
call fcn.00436215
mov dword [esp], 0x44f8f4
push edi
mov dword [0x460750], eax
call esi
push eax
call fcn.00436215
mov dword [esp], 0x44f8e0
push edi
mov dword [0x460754], eax
call esi
push eax
call fcn.00436215
mov dword [esp], 0x44f8c4
push edi
mov dword [0x460758], eax
call esi
push eax
call fcn.00436215
pop ecx
mov dword [0x460760], eax
test eax, eax
je 0x441cbc
push 0x44f8ac
push edi
call esi
push eax
call fcn.00436215
pop ecx
mov dword [0x46075c], eax
mov eax, dword [0x46075c]
cmp eax, ebx
je 0x441d14
cmp dword [0x460760], ebx
je 0x441d14
push eax
call fcn.00436290
push dword [0x460760]
mov esi, eax
call fcn.00436290
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x441d14
test edi, edi
je 0x441d14
call esi
test eax, eax
je 0x441d0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x441d0b
test byte [ebp - 0xc], 1
jne 0x441d14
or dword [ebp + 0x10], 0x200000
jmp 0x441d4d
mov eax, dword [0x460754]
cmp eax, ebx
je 0x441d4d
push eax
call fcn.00436290
pop ecx
test eax, eax
je 0x441d4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x441d4d
mov eax, dword [0x460758]
cmp eax, ebx
je 0x441d4d
push eax
call fcn.00436290
pop ecx
test eax, eax
je 0x441d4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460750]
call fcn.00436290
pop ecx
test eax, eax
je 0x441d6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x441d6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423dd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x423efd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423be0
mov esi, eax
mov eax, dword [0x57fc6c]
cmp byte [eax], 0
je 0x423ea5
mov eax, dword [0x57f810]
call fcn.00404ad8
call fcn.004046d8
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423da8]
call fcn.00408b70
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423f18
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423ee1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x57f76c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x582c50]
call fcn.00408c64
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423f04
lea eax, [ebp - 4]
mov edx, dword [0x423da8]
call fcn.00408b7c
ret

Function at 0x424f5c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x425032
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040709c
lea eax, [ebp - 4]
call fcn.00407230
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004077dc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42501c
mov eax, ebx
call fcn.00404564
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x425015
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004077dc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424fff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x425044
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424fff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42501c
mov eax, dword [ebp - 0x10]
call fcn.00404580
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425039
lea eax, [ebp - 4]
call fcn.00406c74
ret
Function at 0x425a4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00407170
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a710
mov edi, eax
cmp edi, 0x104
jbe 0x4259f3
mov eax, edi
add eax, eax
call fcn.00404564
mov esi, eax
jmp 0x4259f5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040a710
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x425a30
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x425a1a
mov eax, esp
cmp esi, eax
je 0x425a3d
mov eax, esi
call fcn.00404580
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x425a78
cmp bl, 0
je 0x425a74
cmp bl, 0x41
jl 0x425a6f
cmp bl, 0x5a
jg 0x425a6f
or bl, 0x20
xor al, bl
inc esi
jmp 0x425a53
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4259b4

Function at 0x426280
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407888
add esp, 0x800
pop ebx
ret

Function at 0x451604
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4516a2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x451666
cmp byte [ebx + 0x10], 0
jne 0x451666
cmp byte [ebx + 0x3c], 0
jne 0x451666
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x451687
lea edx, [ebp - 4]
mov eax, dword [0x57fbc0]
call fcn.0040a67c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43f8b0]
call fcn.00423f28
call fcn.004063a8
jmp 0x451687
lea edx, [ebp - 8]
mov eax, dword [0x57fbc0]
call fcn.0040a67c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x43f8b0]
call fcn.00423f28
call fcn.004063a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4516a9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406cd4
ret

Function at 0x451fa4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x451ff2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0045153c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45200b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x45d10c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0045bf5c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004077dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0045c144
test al, al
jne 0x45d174
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x57fa68]
mov dl, 1
mov eax, dword [0x45ad30]
call fcn.0042412c
call fcn.004063a8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45d180
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004077dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0045c144
test al, al
jne 0x45d1e1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x57fec8]
mov dl, 1
mov eax, dword [0x45ad30]
call fcn.0042412c
call fcn.004063a8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045bf8c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47188c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471a3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x471a16
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x471a16
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x471854]
call fcn.00408b70
add esp, 4
lea eax, [ebp - 4]
call fcn.0040a0f8
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x57f824]
push eax
call sub.windowscodecs.dll_WICConvertBitmapSource
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004089bc
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00404b3c
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x464df4]
call fcn.0046e228
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x4719f4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0046fea0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0046eeb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471a16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a41
lea eax, [ebp - 8]
mov edx, dword [0x471854]
call fcn.00408b7c
lea eax, [ebp - 4]
call fcn.0040a0f8
ret

Function at 0x47cdbc
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x57c064
test edx, edx
jne 0x47cddb
xor eax, eax
jmp 0x47cef9
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x47cdf8
push esi
push edx
push eax
call fcn.0047cf00
add esp, 0xc
jmp 0x47cef9
push esi
push edx
push eax
call fcn.0047d1c0
add esp, 0xc
jmp 0x47cef9
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48b2d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5851c8], 0
je 0x48b419
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x57fb70]
mov edx, dword [edx]
xor al, byte [edx + 0xc0]
je 0x48b419
mov eax, dword [0x5851cc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5851c8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x48b3e8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5851c8]
call fcn.0044503c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x48b3e0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1f2], 0
je 0x48b3e0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x48b3e0
mov eax, dword [ebp - 0x14]
call fcn.00496e90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48b3e0
push ebp
call fcn.0048b294
pop ecx
test al, al
jne 0x48b3e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00405384
test al, al
je 0x48b3e0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00405384
cmp byte [ebp - 1], 0
je 0x48b3e0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040c3f4
test al, al
je 0x48b3e0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5851cc]
call fcn.0048a9f4
inc edi
dec ebx
jne 0x48b33d
mov eax, dword [0x5851cc]
cmp dword [eax + 8], 0
jle 0x48b400
mov eax, dword [0x5851cc]
call fcn.0048aaac
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48b419
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0048b0fc
pop ecx
test al, al
jne 0x48b419
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret