joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f7b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4401c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467034]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x4670ec]
cmp eax, 0xffffffff
jne 0x43f7e9
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x43f7f6
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x43f85d
jmp 0x43f82c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x43f89a
test edi, edi
jne 0x43f8a0
push 0x43ebd0
push 0x46fadc
call fcn.0043e960
mov eax, dword [0x4670ec]
add esp, 8
cmp eax, 0xffffffff
je 0x43f85d
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x43f886
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43f886
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x43f8d8
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x43f8c9
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43f8a0
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x43f820
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x43f937
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x43f91c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x43f937
jmp 0x43f910
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x43f910
jmp 0x43f937
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43f935
cmp esi, dword [eax + 8]
jne 0x43f935
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43f925
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x43f94b
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x43f94b
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.0042cfdc
cmp esi, ebx
jne 0x43f8f0
mov ebp, dword [esp + 0x14]
jmp 0x43f820
Function at 0x43f970
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x18]
push eax
push 4
push edx
push 0x43f9e0
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x43f99a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
push edi
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x43f9be
cmp eax, 0xffffffff
je 0x43f9be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x4209e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4209ea
ret

Function at 0x1001600
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1001a90
call fcn.010017a4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001415
cmp eax, esi
jne 0x1001408
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1001418
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10013ef
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x100142b
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001466
mov eax, dword [0x100236c]
test eax, eax
jne 0x1001460
mov dword [0x100236c], esi
push 0x10010b4
push 0x10010a8
call fcn.0100136c
pop ecx
pop ecx
test eax, eax
je 0x1001466
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1001530
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x100148a
push 0x10010a4
push 0x100109c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001497
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x10014b8
push 0x1002374
call fcn.01001719
pop ecx
test eax, eax
je 0x10014b8
push ebx
push 2
push ebx
call dword [0x1002374]
push dword [0x100201c]
push dword [0x1002020]
push dword [0x1002018]
call fcn.010012f2
add esp, 0xc
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x1001516
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1002034], ebx
jne 0x1001524
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
call fcn.010017e9
ret
call fcn.010018f1
jmp 0x10013cd
Function at 0x401660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462e1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [esi + 0x54]
push eax
mov dword [esp + 0x14], 0
call fcn.004470fd
mov ecx, dword [esi + 0x50]
push ecx
call fcn.004470fd
mov edx, dword [esi + 0x44]
push edx
call fcn.004470fd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004470fd
mov ecx, dword [esi + 0x38]
push ecx
call fcn.004470fd
mov edx, dword [esi + 0x34]
push edx
call fcn.004470fd
mov eax, dword [esi + 0x30]
push eax
call fcn.004470fd
mov ecx, dword [esi + 0x2c]
push ecx
call fcn.004470fd
add esp, 0x20
lea ecx, [esi + 0x28]
call fcn.004451b0
mov edx, dword [esi + 0x24]
push edx
call fcn.004470fd
mov ecx, dword [esp + 0xc]
add esp, 4
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46325e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x24], edi
lea ecx, [esi + 0x28]
mov dword [esp + 0x14], edi
call fcn.00405710
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x18], 9
call fcn.00405b50
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x40ff90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x2c
push edi
mov byte [esp + 0x30], 1
call fcn.00442d50
add esp, 0x14
test al, al
mov ecx, esi
je 0x410008
mov edx, dword [esp + 0x10]
push edx
call fcn.0040fb10
mov byte [esp + 0x24], al
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.0040ff90
test al, al
jne 0x410004
cmp byte [esp + 0x24], bl
je 0x410010
mov bl, 1
jmp 0x410010
push edi
call fcn.0040fb10
mov bl, al
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004470fd
mov edx, dword [esp + 0x14]
push edx
call fcn.004470fd
mov ecx, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x410100
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
push 0x18
mov edi, ecx
call fcn.00447107
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov al, byte [esp + 0x58]
test al, al
mov dword [esp + 0x38], 0
je 0x41014c
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push eax
push 0x46b4d8
jmp 0x41015a
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x48]
push ecx
push 0x46b4d4
push esi
call fcn.00447d0e
mov edx, dword [edi + 0x30]
mov al, 1
mov ecx, 0x64
add esp, 0xc
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0
mov byte [esp + 0x22], 0
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
mov dword [esp + 0x30], edx
call fcn.0040ff90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x54]
push 0
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [edx], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], eax
push esi
mov dword [edx + 0xc], ecx
call fcn.004470fd
mov ecx, dword [esp + 0x34]
add esp, 4
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x1c
Function at 0x410a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call fcn.00414f50
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0
call fcn.00414f50
mov eax, dword [esp + 0x40]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.00415750
push 0
push str.Software
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call fcn.004159c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.00414f70
mov edx, dword [esp + 0x44]
push edx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00415940
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.00414f70
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x411bc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x398
mov al, byte [0x487eb8]
test al, al
push esi
push edi
jne 0x411c2b
lea eax, [esp + 0x210]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x411c24
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x46ba64
lea ecx, [esp + 0x114]
call fcn.00443bf0
mov ecx, 0x41
lea esi, [esp + 0x10c]
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x47d6c8
lea ecx, [esp + 0xc]
push ecx
call fcn.0044777e
mov byte [0x487eb8], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x411cd0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463f1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
mov esi, ecx
xor eax, eax
mov dword [esi + 0x88], 0x80
mov dword [esi + 0x8c], eax
lea edx, [esi + 0x88]
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 0xffffffff
push edi
lea ebx, [esi + 8]
mov dword [esi + 0x98], eax
mov ecx, 0x20
mov edi, ebx
mov dword [esi + 0x9c], eax
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x228], eax
mov eax, dword [ebp + 8]
push ebx
push eax
mov dword [esi], 0x46ba90
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x411d90
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.getsockname
lea ecx, [esp + 0x18]
call fcn.00443bf0
mov ecx, 0x41
lea esi, [esp + 0x10]
lea edi, [esp + 0x114]
rep movsd dword es:[edi], dword [esi]
push 0x47d6c8
lea ecx, [esp + 0x118]
push ecx
call fcn.0044777e
mov ecx, dword [esp + 0x21c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411df0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
push edi
mov edi, eax
movzx ecx, word [edi]
mov eax, ecx
sub eax, 2
je 0x411e2c
sub eax, 0x15
je 0x411e25
push ecx
push 0x46bafc
push 0x487ebc
call fcn.004014b0
add esp, 0xc
jmp 0x411e3e
push 0x46baec
jmp 0x411e31
push 0x46badc
push 0x487ebc
call fcn.004014b0
add esp, 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx edx, word [edi]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jge 0x411e8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x46bac4
lea ecx, [esp + 0x18]
call fcn.00443bf0
push 0x47d6c8
lea eax, [esp + 0x118]
mov ecx, 0x41
lea esi, [esp + 0x14]
lea edi, [esp + 0x118]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
mov ebx, dword [sym.imp.WS2_32.dll_WSAConnect]
mov ecx, dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push ecx
push edi
push esi
call ebx
test eax, eax
je 0x411ef8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x411e95
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
push edi
push 0x46baa8
lea ecx, [esp + 0x11c]
call fcn.00443bf0
push 0x47d6c8
lea edx, [esp + 0x14]
mov ecx, 0x41
lea esi, [esp + 0x118]
lea edi, [esp + 0x14]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412420
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463fb6
push eax
mov al, byte [esp + 0x14]
mov dword fs:[0], esp
push esi
push edi
mov edi, ecx
push 0x24
mov byte [edi + 0x1c], al
call fcn.00447245
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
je 0x412471
mov ecx, dword [esp + 0x20]
push 0
push ecx
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.00431247
jmp 0x412473
xor eax, eax
push 0x38
mov dword [esp + 0x14], 0xffffffff
mov dword [edi + 4], eax
call fcn.00447245
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x10], 1
je 0x4124ab
mov edx, dword [esp + 0x24]
push 0
push edx
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.00430fb9
jmp 0x4124ad
xor eax, eax
push 0
push 1
push esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea eax, [esp + 0x1c]
push eax
push 0x8004667e
push esi
mov dword [esp + 0x28], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
je 0x4124fb
call edi
push eax
push 0x46bb58
push 0x487ebc
call fcn.004048e0
add esp, 0xc
push 4
lea ecx, [esp + 0x1c]
push ecx
push 1
push 6
push esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x41252e
call edi
push eax
push 0x46bb30
push 0x487ebc
call fcn.004014b0
add esp, 0xc
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x10
Function at 0x413bb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46409b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], 0x46bc5c
call fcn.00437be0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], al
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x414d10
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
push esi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x414d5d
push eax
push str.RegDeleteValue
lea ecx, [esp + 0x114]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0xc]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0xc]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x414de0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x414df6
mov ecx, dword [ecx]
sub eax, edi
inc eax
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414e45
push eax
push str.setString
lea ecx, [esp + 0x114]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0xc]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0xc]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x414e50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx]
push esi
push edi
push eax
mov eax, dword [ebp + 8]
push edx
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414ea9
push eax
push str.setBinary
lea ecx, [esp + 0x114]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0xc]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0xc]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
mov edx, dword [ebp + 8]
push esi
push edi
push 4
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x414f17
push eax
push str.setInt
lea ecx, [esp + 0x114]
call fcn.00443bf0
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x47c164
lea ecx, [esp + 0xc]
push ecx
call fcn.0044777e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x414f20
Capabilities:
Set registry value

Disassembly:
mov dl, byte [esp + 8]
xor eax, eax
test dl, dl
setne al
mov dword [esp + 8], eax
jmp fcn.00414ec0
Function at 0x4152a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push esi
push edi
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov esi, ecx
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x415304
push eax
push str.RegQueryInfoKey
lea ecx, [esp + 0x11c]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0x14]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x14]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
inc eax
cmp ecx, eax
jae 0x41532a
push eax
mov dword [esi + 0xc], eax
call fcn.00447107
mov edi, eax
mov eax, dword [esi + 8]
push eax
call fcn.004470fd
add esp, 8
mov dword [esi + 8], edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x415360
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
je 0x415392
push eax
push str.RegEnumValue
lea ecx, [esp + 0x11c]
call fcn.00443bf0
mov esi, eax
push 0x47c164
lea eax, [esp + 0x14]
mov ecx, 0x41
lea edi, [esp + 0x14]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
mov eax, dword [esi + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418ce0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4644c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
push edi
mov dword [esp + 0x1c], esi
mov dword [esi], 0x46c654
mov dword [ebp], 0x46c64c
mov dword [esi + 8], 0x46c644
mov dword [esi + 0xc], 0x46c63c
push ebp
mov dword [esp + 0x30], 5
call fcn.0041c520
mov ecx, eax
call fcn.0041c880
mov eax, dword [esi + 0x18]
xor ebx, ebx
cmp eax, ebx
je 0x418d55
mov edi, edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
push eax
mov ecx, esi
call fcn.004186d0
cmp dword [esi + 0x18], ebx
jne 0x418d40
cmp dword [esi + 0x24], ebx
je 0x418d75
lea ebx, [ebx]
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00418790
cmp dword [esi + 0x24], ebx
jne 0x418d60
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edi, [esi + 0x1c]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov byte [esp + 0x38], 4
call fcn.00418610
mov eax, dword [edi + 4]
push eax
call fcn.00447102
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x10]
push eax
push ecx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov byte [esp + 0x38], 3
call fcn.00418490
mov ecx, dword [edi + 4]
push ecx
call fcn.00447102
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esi + 0xc], 0x46ae94
add esp, 4
mov dword [esi + 8], 0x46c2a0
mov dword [ebp], 0x46c5d4
pop edi
mov dword [esi], 0x46c5c0
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x4194a0
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 0xfffffff7
cmp eax, 0x53
push esi
ja case.0x4194b6.12
movzx eax, byte [eax + 0x4194f0]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp dword [eax*4 + 0x4194e0]
mov al, 1
pop esi
ret
push 0x12
call esi
test ah, ah
js case.0x4194b6.11
push 0x12
call esi
test ah, ah
js case.0x4194b6.11
push 0x11
call esi
test ah, ah
js case.0x4194b6.11
xor al, al
pop esi
ret