joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041d4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404370
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404284
xor eax, eax
push ebp
push 0x40427d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404266
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404390
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404284
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404365
cmp byte [ebp - 0xd], 0
jne 0x4042c6
cmp byte [ebp - 0x12], 0
je 0x404365
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4042df
dec ebx
cmp byte [ebx], 0x2e
je 0x4042ee
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4042de
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404365
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40431b
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404365
cmp byte [ebp - 0xd], 0
je 0x404365
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404365
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406d4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406d85
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004035fc
jmp 0x406d8e
mov eax, ebx
mov edx, esi
call fcn.004035b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406d98
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406db9
mov al, byte [esp]
jmp 0x406dbb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410148
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 0x41014e
ret

Function at 0x41df58
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4286dc
cmp dword [edi], 0
jne 0x41dfd4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4286d8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4276f4
mov ecx, 2
call fcn.00402690
mov edx, 0x41df30
lea eax, [esi + 5]
call fcn.0041df50
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041df50
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41dfa9
mov dword [0x4286d8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42219c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x422341
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x409c40]
call fcn.00402aa4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403518
push 0
call fcn.004053cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.004053d4
dec eax
test eax, eax
jl 0x422317
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0041a4cc
test al, al
je 0x42230a
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x422350
lea eax, [ebp - 0x254]
call fcn.00406bdc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42230a
xor eax, eax
push ebp
push 0x422303
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x422388
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4222ec
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403744
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4222ec
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42230a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42220d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040c56c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422348
lea eax, [ebp - 0x260]
call fcn.00403518
ret

Function at 0x42252c
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4286b0]
cmp byte [eax + 0x85], 0
jne 0x42259d
cmp dword [0x4286e8], 0
jne 0x42255e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x4224e8
push eax
push 3
call fcn.004055ec
mov dword [0x4286e8], eax
cmp dword [0x4286e4], 0
jne 0x422579
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4286e4], eax
cmp dword [0x4286ec], 0
jne 0x42259d
push esp
push 0
push 0
push 0x42248c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4286ec], eax
pop edx
ret
Function at 0xefebc8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xefebd2
pushal
call 0xefebd8
pop ebp
sub ebp, 0x10
sub ebp, 0xafebc8
jmp 0xefebee
mov eax, 0xafebc8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c2
mov edx, 0x1cf6e42
xor byte [eax], dl
inc eax
dec ecx
jne 0xefec05
jmp 0xefec18
leave
invalid
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40596d
pop dword [ebp - 0x20]
mov eax, 0xb896e3f1
add eax, 0x47a9757c
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6a57413a
sub dword [ebp - 0x30], 0x1c04fbef
mov dword [ebp - 0x2c], 0xcd792eaf
add dword [ebp - 0x2c], 0x64ba1d96
mov dword [ebp - 0x28], 0x206cf7ed
add dword [ebp - 0x28], 0x2bdf4c41
mov dword [ebp - 0x24], 0x7086726e
add dword [ebp - 0x24], 0x8f798d92
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xae66b315
add dword [ebp - 0x30], 0xc60bb641
mov dword [ebp - 0x2c], 0x642339c2
sub dword [ebp - 0x2c], 0x22b6d84d
mov dword [ebp - 0x28], 0x3884b3f4
add dword [ebp - 0x28], 0x2aeab878
mov dword [ebp - 0x24], 0x2b13c610
add dword [ebp - 0x24], 0xd4ec39f0
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xb959a43
sub eax, 0xb552943
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3ace3
push 0
call eax
mov ecx, 0x271080ad
sub ecx, 0x27102852
mov edx, eax
mov edi, 0x821351c8
add edi, 0x7e2dae38
add edi, dword [ebp - 0x20]
mov esi, 0x62278ee8
add esi, 0x6f6bf54d
mov dword [ebp - 0x1c], 0xa4b7b7f3
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0x6dab4cb
xor ebx, esi
sub dword [ebp - 4], ecx
mov dword [edx], ebx
xor dword [ebp - 0x14], edx
add edx, 0xc7ba52c7
sub edx, 0xc7ba52c3
add edi, 4
loop 0x405a8a
add eax, 0x74295700
sub eax, 0x742802c1
xor ebx, ebx
add ebx, eax
add eax, 0x5269f2
add eax, 0xffad9613
mov ecx, 0xecd7e2dd
sub ecx, 0xec97e2dd
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x1000dc2c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi], edi
jne 0x1000dd04
push ebx
push edi
push edi
push 0x1000dd0c
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esi], eax
test eax, eax
je 0x1000dce2
lea eax, [esi + 4]
push eax
push 0x1000dd24
push edi
call dword [sym.imp.kernel32.dll_GetModuleHandleExW]
test eax, eax
je 0x1000dce2
mov ebx, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x1000dd40
push dword [esi]
call ebx
mov dword [esi + 8], eax
test eax, eax
je 0x1000dce2
push 0x1000dd54
push dword [esi]
call ebx
mov dword [esi + 0xc], eax
test eax, eax
je 0x1000dce2
push 0x1000dd68
push dword [esi]
call ebx
mov dword [esi + 0x10], eax
test eax, eax
je 0x1000dce2
push 0x1000dd7c
push dword [esi + 4]
call ebx
mov dword [esi + 0x14], eax
test eax, eax
je 0x1000dce2
push 0x1000dd8c
push dword [esi + 4]
call ebx
mov dword [esi + 0x18], eax
test eax, eax
je 0x1000dce2
push 0x1000dda4
push dword [esi + 4]
call ebx
mov dword [esi + 0x1c], eax
test eax, eax
je 0x1000dce2
push 0x1000ddbc
push dword [esi + 4]
call ebx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x1000dd03
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x1000dcfc
and edi, 0xffff
or edi, 0x80070000
test edi, edi
jns 0x1000dd03
call fcn.1000ddd9
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1001a6fd
Capabilities:
Query environment variable

Disassembly:
push 0xc
mov eax, 0x1002f459
call fcn.100036bc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1001a7ec
cmp dword [ebp + 0xc], 0
je 0x1001a7ec
xor esi, esi
push esi
push esi
push ebx
call sub.kernel32.dll_ExpandEnvironmentStringsW
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x14], eax
mul edx
seto cl
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.10003f16
pop ecx
mov edi, eax
jmp 0x1001a754
test edi, edi
jne 0x1001a786
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001a77f
test byte [eax + 0x1c], 1
je 0x1001a77f
push dword [ebp - 0x14]
push reloc.advapi32.dll_UnregisterTraceGuids
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
mov esi, 0x8007000e
jmp 0x1001a7e8
push dword [ebp - 0x14]
push edi
push ebx
call sub.kernel32.dll_ExpandEnvironmentStringsW
test eax, eax
jne 0x1001a7d2
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001a7c3
test byte [eax + 0x1c], 1
je 0x1001a7c3
call sub.kernel32.dll_GetLastError
push eax
mov eax, dword [0x100320c8]
push reloc.advapi32.dll_UnregisterTraceGuids
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
call sub.kernel32.dll_GetLastError
push eax
call fcn.10003f16
mov esi, eax
jmp 0x1001a7dd
mov ecx, dword [ebp + 0xc]
push edi
call fcn.10003f16
mov edi, esi
test edi, edi
je 0x1001a7e8
push edi
call fcn.10003f16
pop ecx
mov eax, esi
jmp 0x1001a815
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1001a810
test byte [eax + 0x1c], 1
je 0x1001a810
push reloc.advapi32.dll_UnregisterTraceGuids
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
mov eax, 0x80070057
call fcn.10005952
ret 8
Function at 0x10023e87
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x28]
push ebx
xor edi, edi
call sub.kernel32.dll_EnterCriticalSection
cmp dword [esi + 4], edi
jne 0x10023ec9
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023ec2
test byte [eax + 0x1c], 1
je 0x10023ec2
push 0x1000c0b0
push reloc.advapi32.dll_GetTraceEnableFlags
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
mov edi, 0x8000ffff
jmp 0x10023f46
cmp dword [esi + 8], edi
jne 0x10023f46
cmp dword [esi + 0x14], edi
jbe 0x10023f46
push dword [esi + 0x40]
call sub.kernel32.dll_ResetEvent
push dword [esi + 0x44]
call sub.kernel32.dll_ResetEvent
cmp dword [esi + 0x48], edi
je 0x10023ef0
push dword [esi + 0x48]
call sub.kernel32.dll_CloseHandle
lea eax, [esi + 0x4c]
push eax
push edi
push esi
push 0x100281e1
push edi
push edi
call sub.kernel32.dll_CreateThread
mov dword [esi + 0x48], eax
test eax, eax
jne 0x10023f3f
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10023f38
test byte [eax + 0x1c], 1
je 0x10023f38
call sub.kernel32.dll_GetLastError
push eax
mov eax, dword [0x100320c8]
push 0x1000c0b0
push reloc.advapi32.dll_GetTraceEnableLevel
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
mov edi, 0x80004005
jmp 0x10023f46
mov dword [esi + 8], 1
push ebx
call sub.kernel32.dll_LeaveCriticalSection
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10029fb4
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x21c
mov eax, 0x1002ff54
call fcn.1002b85a
mov eax, dword [ebp + 8]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, reloc.advapi32.dll_TraceMessage
push edi
push eax
mov esi, edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push 0x108
push edi
push 0x10006bd0
push 0x80000002
mov dword [ebp - reloc.advapi32.dll_TraceMessage], edi
mov dword [ebp - reloc.advapi32.dll_TraceMessage], edi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002a034
mov esi, eax
jle 0x1002a1ad
and esi, 0xffff
or esi, 0x80070000
jmp 0x1002a1ad
mov ebx, edi
push edi
push edi
push edi
push edi
lea eax, reloc.advapi32.dll_TraceMessage
push eax
lea eax, reloc.advapi32.dll_TraceMessage
push eax
push ebx
push dword [ebp - 0x21c]
mov dword [ebp - reloc.advapi32.dll_TraceMessage], 0x104
call dword [sym.imp.advapi32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1002a1ad
test eax, eax
jne 0x1002a177
lea eax, reloc.advapi32.dll_TraceMessage
push eax
call fcn.10003f16
push 0xc
call fcn.10003f16
pop ecx
mov dword [ebp - reloc.advapi32.dll_TraceMessage], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x1002a09c
mov ecx, eax
call fcn.10004f6b
mov edi, eax
or dword [ebp - 4], reloc.advapi32.dll_TraceMessage
mov dword [ebp - reloc.advapi32.dll_TraceMessage], edi
test edi, edi
je 0x1002a139
lea eax, reloc.advapi32.dll_TraceMessage
push eax
mov ecx, edi
call fcn.1000503e
mov esi, eax
test esi, esi
js 0x1002a10b
mov ecx, dword [ebp - reloc.advapi32.dll_TraceMessage]
lea eax, reloc.advapi32.dll_TraceMessage
push eax
call fcn.1000f2a1
mov esi, eax
test esi, esi
js 0x1002a0ef
inc ebx
push 0
pop edi
cmp ebx, 0x1f4
jae 0x1002a1ad
jmp 0x1002a036
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
push 0x1000c1d4
push 0x15
jmp 0x1002a158
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
lea ecx, reloc.advapi32.dll_TraceMessage
push ecx
push 0x1000c1d4
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
jmp 0x1002a163
mov esi, 0x8007000e
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
push 0x1000c1d4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
test edi, edi
je 0x1002a1ad
mov ecx, edi
call fcn.10004fde
push edi
call fcn.10003f16
pop ecx
jmp 0x1002a1ad
mov esi, eax
jle 0x1002a187
and esi, 0xffff
or esi, 0x80070000
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a1ad
test byte [eax + 0x1c], 1
je 0x1002a1ad
push esi
push ebx
push 0x1000c1d4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003f16
cmp dword [ebp - reloc.advapi32.dll_TraceMessage], 0
je 0x1002a1c2
push dword [ebp - 0x21c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
call fcn.1002b897
ret 4
Function at 0x1001b130
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.10045960
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.10045960
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001b131
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001b148
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x1001b15b
mov edi, 0xfff80000
mov eax, dword [0x101ca9a4]
mov ecx, dword [0x101ca9b0]
test eax, eax
jne 0x1001b175
test ecx, ecx
je 0x1001b188
mov eax, ecx
mov dword [0x101ca9a4], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x1001b188
cmp edx, ebx
jb 0x1001b188
cmp edx, edi
jbe 0x1001b20e
mov eax, ecx
mov dword [0x101ca9a4], eax
test ecx, ecx
je 0x1001b1b2
test eax, eax
je 0x1001b1a6
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001b1a6
cmp ecx, ebx
jb 0x1001b1a6
cmp ecx, edi
jbe 0x1001b20e
mov eax, dword [eax + 4]
mov dword [0x101ca9a4], eax
test eax, eax
jne 0x1001b197
movzx eax, si
mov ecx, ebx
sub esi, eax
mov edx, esi
call fcn.10045960
test eax, eax
jne 0x1001b1d1
mov edx, edi
mov ecx, esi
call fcn.10045960
test eax, eax
je 0x1001b235
mov dword [eax], 0x52727464
xor edx, edx
mov dword [eax + 8], 0
mov esi, 0x2a7
mov ecx, dword [0x101ca9b0]
mov dword [eax + 4], ecx
lea ecx, [eax + 0xff60]
mov dword [0x101ca9a4], eax
mov dword [0x101ca9b0], eax
mov edi, edi
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x60
dec esi
jne 0x1001b200
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x1001b235
cmp esi, edi
ja 0x1001b235
mov ecx, dword [esi + 0x40]
push 0x60
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.1011e040
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x1001b270
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov ecx, dword [0x101ca9b0]
push ebx
mov ebx, 0x101ca9b0
test ecx, ecx
je 0x1001b2dc
push esi
push edi
cmp dword [ecx], 0x52727464
jne 0x1001b2d1
lea edi, [ecx + 0x10000]
xor edx, edx
lea esi, [ecx + 0xa0]
mov eax, dword [esi]
test eax, eax
je 0x1001b2a6
cmp eax, ecx
jb 0x1001b2d1
cmp eax, edi
jae 0x1001b2d1
inc edx
add esi, 0x60
cmp edx, 0x2a9
jb 0x1001b298
mov eax, dword [ecx + 4]
push 0x8000
push 0
push ecx
mov dword [ebx], eax
call dword [sym.imp.kernel32.dll_VirtualFree]
mov dword [0x101ca9a4], 0
jmp 0x1001b2d4
lea ebx, [ecx + 4]
mov ecx, dword [ebx]
test ecx, ecx
jne 0x1001b282
pop edi
pop esi
pop ebx
ret

Function at 0x1001b760
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101ca9b8]
push edi
mov edi, ecx
test eax, eax
jne 0x1001b7d5
call dword [sym.imp.kernel32.dll_GetCurrentThread]
cmp edi, eax
jne 0x1001b77a
xor eax, eax
pop edi
ret
push esi
push 8
call fcn.10045960
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001b790
lea edi, [eax + 8]
jmp 0x1001b7ad
push edi
call dword [sym.imp.kernel32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001b7c2
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10115871
add esp, 4
pop esi
mov dword [0x101ca9b8], edi
mov eax, edi
mov dword [0x101ca99c], 0
pop edi
ret
mov eax, dword [0x101ca9a0]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
mov dword [0x101ca9a0], esi
pop esi
pop edi
ret
Function at 0x10022b50
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x101bb518]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101cb288], 0
je 0x10022b95
mov eax, dword [0x101cb284]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x11c
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.1011e040
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
lea eax, [ebp - 0x160]
movdqa xmmword [ebp - 0x160], xmm0
push eax
movdqa xmmword [ebp - 0x150], xmm0
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
push dword [ebp - 0x160]
mov edx, dword [ebp - 0x120]
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x124]
push dword [ebp - 0xe]
push dword [ebp - 0x118]
call fcn.10045960
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov dword [0x101cb284], eax
mov dword [0x101cb288], 1
call fcn.10115876
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10036760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10036791
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10036780
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1003b200
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10136cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x101bb518]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0xc]
push eax
call fcn.10045960
mov dword [esp + 0x30], 0
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10045960
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x1003b26a
push dword [esp + 0xc]
call fcn.10115871
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc