joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442ab3
push esi
call fcn.00450ca0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442aac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442b39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442b22
mov eax, dword [esi + 8]
test eax, eax
je 0x442ad7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x442b1e
cmp eax, 2
je 0x442b22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442aca
cmp eax, 3
je 0x442afd
cmp eax, 1
jne 0x442aca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x442aca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442aca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442b60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442b48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442b60
add esp, 4
pop esi
ret

Function at 0x4433e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x443401
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x443401
mov eax, dword [eax + 0x44]
test eax, eax
je 0x443401
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x45f6e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x51f5d4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x45f6f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x45f734
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x51f67c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x45f766
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45f76a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x45f75b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x45f788
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45f78c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45f77d
xor ecx, ecx
mov eax, 0x51f5e4
xor ebx, ebx
mov bl, byte [ecx + 0x51f68c]
cmp byte [esp + ebx + 0x14], 0
je 0x45f7b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x51f6a4]
cmp byte [esp + ebx + 0x14], 0
je 0x45f7ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x45f79e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x45f727
lea edx, [esp + 0x84]
push edx
call fcn.0045f810
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x463b00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x54d0dc]
xor edx, edx
cmp eax, edx
jne 0x463b26
xor eax, eax
mov byte [eax + 0x54cfdc], al
inc eax
cmp eax, 0x100
jl 0x463b0e
mov dword [0x54d0dc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x54cfdc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x463bb7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x463b8a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x463b58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x463bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x463c13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x463bfa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a5d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49712e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0046aef0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x50546c
call fcn.00489137
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x46a663
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00489137
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x46a65c
push 0
mov ecx, eax
call fcn.00461740
mov dword [esi + 0xc], eax
jmp 0x46a665
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x46a665
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x48b79d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48b7d5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00489851
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489829
jmp 0x48b7e1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48ce8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48ced1
call fcn.00492944
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48ced1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48cec8
xor eax, eax
jmp 0x48ced9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048cedf
pop edi
pop esi
pop ebx
ret 4

Function at 0x492e74
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x492ea2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x492ec0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00492dda
jmp 0x492ec0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x492ec0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00492dda
test edi, edi
mov eax, edi
jne 0x492eaa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x175c08a2
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x6cc97bc1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10001065
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0xa4]
push esi
mov esi, dword [ebp + 0x98]
push 0x104
lea ecx, [ebp - 0x78]
push ecx
push 0x64
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push str.SoftwareCLASSESCLSID280A8F40_E382_11d2_B561_00A0C92E6848
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x7c], 0
jne 0x100010cc
push str.SoftwareInteligfx
push esi
call fcn.10008320
pop ecx
pop ecx
jmp 0x100010ee
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push esi
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.100081b0
pop ecx
test eax, eax
je 0x10001111
push 0x1001140c
push esi
call fcn.10008330
lea eax, [ebp - 0x78]
push eax
push esi
call fcn.10008330
add esp, 0x10
push esi
call fcn.100081b0
pop ecx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop esi
call fcn.10008418
add ebp, 0x90
leave
ret

Function at 0x1000112e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push str.SoftwareCLASSESCLSID280A8F40_E382_11d2_B561_00A0C92E6848
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100011a8
cmp dword [ebp - 8], edi
jne 0x10001183
push str.SoftwareInteligfx
push esi
call fcn.10008320
push esi
call fcn.100081b0
add esp, 0xc
mov edi, eax
jmp 0x100011a8
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x1000119f
push esi
call fcn.100081b0
pop ecx
mov edi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10008418
leave
ret
Function at 0x1000121b
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa8
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
movzx edi, word [ebp + 0x78]
push 0
push 0
push 3
push edi
mov dword [ebp - 0x34], eax
call esi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.1000676b
pop ecx
push ebx
push eax
push 3
push edi
mov dword [ebp - 0x38], eax
call esi
mov edi, dword [ebp - 0x38]
push 0x10011468
push edi
call fcn.10008430
pop ecx
pop ecx
test eax, eax
jne 0x10001283
push 0x100112e0
push edi
call fcn.10008320
pop ecx
pop ecx
push 0x10011464
push edi
call fcn.10008430
pop ecx
pop ecx
test eax, eax
jne 0x100012cb
mov esi, 0x9c
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100084c0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100012cb
cmp dword [ebp - 0x28], 0
je 0x100012cb
push 0x100112c8
push edi
call fcn.10008320
pop ecx
pop ecx
push edi
push dword [ebp - 0x34]
call fcn.10008320
push edi
call fcn.1000120e
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008418
add ebp, 0x70
leave
ret
Function at 0x100012ef
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
push 4
pop esi
push esi
call fcn.1000676b
push esi
mov dword [ebp - 4], eax
call fcn.1000676b
push esi
mov ebx, eax
call fcn.1000676b
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
add esp, 0xc
push ebx
mov dword [ebp - 0xc], eax
call edi
movzx eax, ax
push eax
call fcn.1000121b
pop ecx
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
call fcn.1000121b
xor eax, eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
call fcn.1000676b
add esp, 0xc
mov esi, eax
lea eax, [ebp - 8]
push eax
push str.SoftwareIntelDisplayigfxcuihkcmd_resources
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100013a1
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.UserLangID
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x10001398
mov dword [ebp - 0x14], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call edi
mov ecx, 0x3ff
and ax, cx
movzx eax, ax
push eax
call fcn.1000121b
push ebx
call fcn.100011df
add esp, 0xc
test eax, eax
jne 0x100013d6
push dword [ebp - 4]
call fcn.100011df
pop ecx
test eax, eax
je 0x10001415
push dword [ebp - 4]
jmp 0x100013d7
push ebx
push dword [ebp + 8]
call fcn.10008320
pop ecx
pop ecx
test esi, esi
je 0x10001415
push dword [ebp - 0xc]
push ebx
call fcn.10008430
pop ecx
pop ecx
test eax, eax
je 0x100013fd
mov dword [ebp - 0x10], 1
jmp 0x10001415
push esi
push ebx
call fcn.10008430
pop ecx
pop ecx
test eax, eax
je 0x10001415
xor eax, eax
inc eax
cmp dword [ebp - 0x14], eax
jne 0x10001415
mov dword [ebp - 0x10], eax
push ebx
call fcn.1000120e
push dword [ebp - 0xc]
call fcn.1000120e
push dword [ebp - 4]
call fcn.1000120e
push esi
call fcn.1000120e
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001516
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x1a0]
and dword [ebp - 0x80], 0
push eax
push dword [ebp + 0x198]
lea eax, [ebp + 0x88]
push 0x104
push eax
call sym.hccutils.DLL_GetMyRegKey
add esp, 0x10
dec eax
cmp eax, 0x102
ja 0x100015bb
lea eax, [ebp + 0x88]
push str._resources
push eax
call fcn.10008330
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x88]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x80], 0
je 0x100015bb
push dword [ebp + 0x19c]
lea eax, [ebp - 0x7c]
push 0x100114a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
call fcn.10008418
add ebp, 0x190
leave
ret

Function at 0x100015d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1b8]
push ebx
mov ebx, dword [ebp + 0x1b0]
push esi
push edi
push eax
push dword [ebp + 0x1a4]
lea eax, [ebp + 0x94]
xor edi, edi
push 0x104
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], edi
call sym.hccutils.DLL_GetMyRegKey
push dword [ebp + 0x1b4]
mov esi, eax
push edi
push ebx
call fcn.100084c0
add esp, 0x1c
dec esi
cmp esi, 0x102
ja 0x100016fe
lea eax, [ebp + 0x94]
push str._resources
push eax
call fcn.10008330
cmp dword [ebp + 0x1a8], 0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
mov edi, 0x100114a8
je 0x10001691
push dword [ebp + 0x1a8]
lea eax, [ebp - 0x70]
push edi
push eax
call esi
lea eax, [ebp + 0x94]
push 0x1001140c
push eax
call fcn.10008330
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x94]
push eax
call fcn.10008330
add esp, 0x1c
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x94]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x74], 0
je 0x100016fe
push dword [ebp + 0x1ac]
lea eax, [ebp - 0x70]
push edi
push eax
call esi
mov eax, dword [ebp + 0x1b4]
add esp, 0xc
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100016e8
cmp dword [ebp - 0x80], 1
jne 0x100016ef
cmp eax, 0xea
jne 0x100016f5
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x198]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008418
add ebp, 0x19c
leave
ret
Function at 0x10001719
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10001789
lea eax, [ebp - 0x38]
push eax
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
cmp dword [ebp - 0x18], esi
jne 0x10001782
push edi
push dword [ebp - 0x14]
call fcn.1000676b
pop ecx
push esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000177a
mov esi, edi
jmp 0x10001781
push edi
call fcn.100069a6
pop ecx
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x10001b77
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0
push dword [0x10016120]
push 0x10001b26
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100160e0], eax
mov al, 1
ret
Function at 0x10002826
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x294], eax
push ebx
mov ebx, dword [ebp + 0x2a0]
push esi
push edi
mov edi, dword [ebp + 0x2a4]
push edi
mov esi, 0x104
push esi
lea eax, [ebp + 0x8c]
push eax
push 0x66
push ebx
call fcn.10001eb9
push edi
push esi
lea eax, [ebp - 0x78]
push eax
push 0x68
push ebx
call fcn.10001eb9
push edi
push esi
lea eax, [ebp + 0x190]
push eax
push 0x69
push ebx
call fcn.10001eb9
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
push 3
push eax
mov dword [ebp - 0x7c], eax
call esi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.1000676b
pop ecx
push ebx
push eax
push 3
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call esi
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x100028f3
push esi
call fcn.100081b0
pop ecx
test eax, eax
je 0x100028f3
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x78]
push eax
push edi
lea eax, [ebp + 0x8c]
push eax
push esi
call fcn.100025bb
push esi
mov dword [0x100160e4], eax
call fcn.100069a6
add esp, 0x18
jmp 0x100028fa
push esi
call fcn.100069a6
pop ecx
mov ecx, dword [ebp + 0x294]
mov eax, dword [0x100160e4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008418
add ebp, 0x298
leave
ret
Function at 0x10002ca4
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x18c], eax
mov eax, dword [ebp + 0x1a4]
and dword [ebp - 0x80], 0
push edi
mov edi, dword [ebp + 0x1a0]
push eax
push dword [ebp + 0x198]
lea eax, [ebp + 0x88]
push 0x104
push eax
call sym.hccutils.DLL_GetMyRegKey
add esp, 0x10
dec eax
cmp eax, 0x102
ja 0x10002d7a
push esi
lea eax, [ebp + 0x88]
push str._resources
push eax
call fcn.10008330
pop ecx
pop ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x88]
push eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 0x80], 0
jne 0x10002d3e
lea eax, [ebp + 0x88]
push eax
push esi
call sym.hccutils.DLL_CreateThisKey
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x10002d79
push dword [ebp + 0x19c]
lea eax, [ebp - 0x7c]
push 0x100114a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.100081b0
add esp, 0x10
inc eax
push eax
push edi
push 1
push 0
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop edi
call fcn.10008418
add ebp, 0x190
leave
ret
Function at 0x10002d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x10015450]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3b4]
push ebx
mov ebx, dword [ebp + 0x3ac]
push esi
push edi
push eax
mov dword [ebp - 0x78], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x70]
push eax
push 0x1235
push ebx
call sym.hccutils.DLL_LoadSTRING
push dword [ebp + 0x3b0]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x94]
push eax
call edi
lea eax, [ebp + 0x94]
push eax
call fcn.10001719
add esp, 0x24
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x10002ec0
push dword [ebp - 0x78]
and dword [ebp - 0x74], eax
push ebx
lea eax, [ebp + 0x198]
push esi
push eax
call sym.hccutils.DLL_GetMyRegKey
add esp, 0x10
dec eax
cmp eax, 0x102
ja 0x10002ec0
lea eax, [ebp + 0x198]
push str._resources
push eax
call fcn.10008330
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x198]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
je 0x10002ec0
push dword [ebp + 0x3b0]
lea eax, [ebp + 0x29c]
push 0x100114a8
push eax
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp + 0x29c]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], ebx
call esi
cmp dword [ebp - 0x78], 3
jne 0x10002eb7
push dword [ebp - 0x7c]
call fcn.1000676b
pop ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp + 0x29c]
push eax
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x3a0]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008418
add ebp, 0x3a4
leave
ret

Function at 0x1000382e
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000387c
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000388d
push 0xd
pop eax
jmp 0x100038b7
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10003890
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8