joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcdc
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0xff
mov esi, 0x48c250
lea edi, [ebp - 0x324]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov byte [eax], 0x23
mov edx, dword [ebp + 8]
mov byte [edx + 1], 0x23
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], 0x23
push dword [ebp + 8]
xor eax, eax
mov al, byte [ebp - 0x315]
push eax
xor edx, edx
mov dl, byte [ebp - 0x316]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x317]
push ecx
xor eax, eax
mov al, byte [ebp - 0x318]
push eax
xor edx, edx
mov dl, byte [ebp - 0x319]
push edx
xor ecx, ecx
mov cl, byte [ebp - 0x31a]
push ecx
xor eax, eax
mov al, byte [ebp - 0x31b]
push eax
xor edx, edx
mov dl, byte [ebp - 0x31c]
push edx
movzx ecx, word [ebp - 0x31e]
push ecx
movzx eax, word [ebp - 0x320]
push eax
push dword [ebp - 0x324]
push str.SYSTEMCURRENTCONTROLSETCONTROLDEVICECLASSES_4.2x__2.2x__2.2x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x_s
lea edx, [ebp - 0x314]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x38
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
lea eax, [ebp - 0x314]
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4017e7
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x114]
push ecx
lea eax, [ebp - 0x10]
push eax
push 0
push str.DeviceInstance
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegQueryValueExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4017e7
lea edx, [ebp - 0x114]
push edx
call fcn.00482bc0
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x114]
push ecx
call fcn.0047d32d
add esp, 8
test eax, eax
je 0x4017e7
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.ADVAPI32.dll_RegCloseKey
mov eax, dword [ebp + 8]
mov byte [eax], 0x5c
mov edx, dword [ebp + 8]
mov byte [edx + 1], 0x5c
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], 0x5c
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4019f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
xor eax, eax
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [0x49b7fc], edx
mov dword [0x49b7f4], edx
mov dword [0x49b7f8], edx
cmp dword [0x48c0cc], 0xffffffff
je 0x401a29
mov eax, 3
jmp 0x401be0
push 0x104
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.0047d0c4
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
push edx
push 0x104
lea ecx, [ebp - 0x124]
push ecx
push str.vid_1c43pid_0400
push dword [ebp - 4]
call fcn.0040180c
add esp, 0x14
cmp eax, 1
jne 0x401a8e
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x124]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [0x48c0cc], eax
jmp 0x401a97
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x7f
jl 0x401a44
cmp dword [0x48c0cc], 0xffffffff
jne 0x401aaa
mov eax, 1
jmp 0x401be0
call fcn.00401c0c
test al, al
jne 0x401ad2
push dword [0x48c0cc]
call sub.KERNEL32.DLL_CloseHandle
mov dword [0x48c0cc], 0xffffffff
mov eax, 2
jmp 0x401be0
push 0x48c0d0
push dword [0x48c0cc]
call fcn.00401be4
add esp, 8
test al, al
jne 0x401b1b
push dword [0x48c0cc]
call sub.KERNEL32.DLL_CloseHandle
push dword [0x48c0d4]
call sub.KERNEL32.DLL_CloseHandle
xor edx, edx
mov dword [0x48c0d4], edx
mov dword [0x48c0cc], 0xffffffff
mov eax, 3
jmp 0x401be0
push 0x32
call sub.KERNEL32.DLL_Sleep
lea edx, [ebp - 0x14]
push edx
push 0x12
lea ecx, [ebp - 0x19c]
push ecx
push 0x409
push 0
push 1
push dword [0x48c0d0]
call dword [0x49b780]
test al, al
jne 0x401b74
mov eax, 4
jmp 0x401be0
test byte [ebp - 0x18], 0x80
je 0x401b63
xor edx, edx
mov dl, byte [ebp - 0x18]
mov dword [0x49b7f0], edx
test byte [ebp - 0x18], 0x80
jne 0x401b74
xor ecx, ecx
mov cl, byte [ebp - 0x18]
mov dword [0x49b7ec], ecx
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x20]
inc dword [ebp - 0x20]
push edx
push 0
push dword [0x48c0d0]
call dword [0x49b794]
test al, al
jne 0x401b52
call fcn.0040227c
test al, al
jne 0x401ba6
call fcn.00402048
mov eax, 5
jmp 0x401be0
call fcn.00402310
test al, al
jne 0x401bbb
call fcn.00402048
mov eax, 6
jmp 0x401be0
mov byte [0x48c0dc], 0
push 0
push 0
push 0x5231
push 0x401690
push 0
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x48c0e0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4032e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, dword [0x4924a2]
mov dword [ebp - 0xc], eax
mov dx, word [0x4924a6]
mov word [ebp - 0xe], dx
mov ecx, dword [0x48c0d8]
sub ecx, 0x33
je 0x4033fd
sub ecx, 0x99
je 0x40331d
jmp 0x4034cb
push 0x25
call fcn.00402dd0
pop ecx
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], 0x55
lea eax, [ebp - 0xc]
push eax
push 2
call fcn.004038e0
add esp, 8
test al, al
jne 0x403345
xor eax, eax
jmp 0x4034cd
xor edx, edx
mov dword [ebp - 4], edx
push 0x3e8
call fcn.00403a30
pop ecx
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0xe], al
cmp byte [0x49c964], 0
je 0x40336c
xor eax, eax
jmp 0x4034cd
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x40334a
mov byte [ebp - 0xb], 0x56
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
xor byte [ebp + ecx - 0xe], 0xff
mov eax, dword [ebp - 4]
xor byte [ebp + eax - 0xe], 0xaa
mov edx, dword [ebp - 4]
mov cl, byte [ebp + edx - 0xe]
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0xa], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x40337e
lea edx, [ebp - 0xc]
push edx
push 4
call fcn.004038e0
add esp, 8
test al, al
jne 0x4033be
xor eax, eax
jmp 0x4034cd
push 0x3e8
call fcn.00403a30
pop ecx
mov byte [ebp - 6], al
cmp byte [0x49c964], 0
je 0x4033dc
xor eax, eax
jmp 0x4034cd
xor edx, edx
mov dl, byte [ebp - 6]
cmp edx, 0x33
jne 0x4034cb
mov byte [0x49c965], 1
mov al, 1
jmp 0x4034cd
push 0x21
call fcn.00402dd0
pop ecx
mov byte [ebp - 0xc], al
mov byte [ebp - 0xb], 0x55
lea edx, [ebp - 0xc]
push edx
push 2
call fcn.004038e0
add esp, 8
test al, al
jne 0x403425
xor eax, eax
jmp 0x4034cd
xor edx, edx
mov dword [ebp - 4], edx
push 0x3e8
call fcn.00403a30
pop ecx
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0xe], al
cmp byte [0x49c964], 0
je 0x40344c
xor eax, eax
jmp 0x4034cd
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x40342a
mov byte [ebp - 0xb], 0x56
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
xor byte [ebp + ecx - 0xe], 0xff
mov eax, dword [ebp - 4]
xor byte [ebp + eax - 0xe], 0x33
mov edx, dword [ebp - 4]
mov cl, byte [ebp + edx - 0xe]
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0xa], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x40345e
lea edx, [ebp - 0xc]
push edx
push 4
call fcn.004038e0
add esp, 8
test al, al
jne 0x40349b
xor eax, eax
jmp 0x4034cd
push 0x3e8
call fcn.00403a30
pop ecx
mov byte [ebp - 6], al
cmp byte [0x49c964], 0
je 0x4034b6
xor eax, eax
jmp 0x4034cd
xor edx, edx
mov dl, byte [ebp - 6]
cmp edx, 0x33
jne 0x4034cb
mov byte [0x49c965], 1
mov al, 1
jmp 0x4034cd
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4038e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc04
push 0x3e8
push 0
lea eax, [ebp - 0x3fc]
push eax
call fcn.0047d0c4
add esp, 0xc
push 0x3e
push dword [ebp + 8]
lea edx, [ebp - 0x10]
push edx
call fcn.00483884
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x403919
inc dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jge 0x40394a
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov al, byte [edx + ecx]
xor al, byte [0x49b7e8]
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x3fc], al
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jl 0x403926
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea edx, [ebp - 0x3fc]
push edx
call fcn.00402128
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x403972
call fcn.004038c4
xor eax, eax
jmp 0x403974
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4137bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49cc54
cmp dword [edi], 0
jne 0x413838
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x49cc50]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x493154
mov ecx, 2
call fcn.00420f8c
mov edx, 0x413794
lea eax, [esi + 5]
call fcn.004137b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004137b4
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 0x41380d
mov dword [0x49cc50], 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 0x414854
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.00422b7c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x4148ac
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x49b354]
mov dl, 1
mov eax, dword [0x414360]
call fcn.00419b3c
call fcn.0042233c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00414468
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 0x415ce4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x415d36
test eax, edx
je 0x415d39
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x415cf9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x415d1f
add ecx, 4
js 0x415d0f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x415d1c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x415d45
test edx, edx
jne 0x415cec
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41676c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00422b7c
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x41678a
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4167ab
cmp ebx, 3
je 0x4167ab
cmp ebx, 0x7b
je 0x4167ab
mov eax, esi
call fcn.0041672c
test al, al
jne 0x4167af
xor eax, eax
jmp 0x4167b1
mov al, 1
pop esi
pop ebx
ret

Function at 0x41927c
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4192b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004227dc
jmp 0x4192be
mov eax, ebx
mov edx, esi
call fcn.00422740
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4192c8
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
test eax, eax
jle 0x4192ea
movzx eax, byte [esp]
jmp 0x4192ec
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41997c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4197f4
mov eax, dword [0x49b534]
cmp byte [eax], 0
je 0x4199f8
mov eax, dword [0x49b538]
call fcn.0042127c
call fcn.00420ef8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.USER32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004169a0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x419a40
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x419a2e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49b3e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49b764]
call fcn.00423844
push eax
call sub.USER32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0x444
ret
Function at 0x41a2b8
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 0x41a38e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00422784
lea eax, [ebp - 4]
call fcn.00422bd4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00422b7c
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x41a378
mov eax, ebx
call fcn.00420d2c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41a371
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.00422b7c
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41a35b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41a3a0
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41a35b
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 0x41a378
mov eax, dword [ebp - 0x10]
call fcn.00420d48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a395
lea eax, [ebp - 4]
call fcn.004226ec
ret

Function at 0x421188
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004226ec
test esi, esi
jne 0x4211be
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004227dc
jmp 0x4211dc
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0042108c
mov edi, eax
test esi, esi
je 0x4211dc
cmp dword [ebx], 0
je 0x4211dc
dec esi
jmp 0x4211c5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4218e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4934b0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x421980
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x421960
xor eax, eax
push ebp
push 0x421959
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x42199c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421960
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
movzx eax, word [0x4934b0]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4934b0], ax
mov esp, ebp
pop ebp
ret
Function at 0x42256c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49ee80], 0
je 0x4225cd
cmp word [0x49f054], 0xd7b2
jne 0x422595
cmp dword [0x49f05c], 0
jbe 0x422595
mov eax, 0x49f050
call dword [0x49f06c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4225f4
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4934bc], 0
jne 0x4225e9
push 0
push 0x493be0
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret
Function at 0x423a60
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 0xf0019
push 0
push 0x423c90
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x423ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x423c90
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x423ae3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x423cac
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x423b6c
xor eax, eax
push ebp
push 0x423b65
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0042389c
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 0x423b4a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x423ccc
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x423b4a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423b6c
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyn
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 0x423c86
cmp byte [ebp - 0xd], 0
jne 0x423bb3
cmp byte [ebp - 0x12], 0
je 0x423c86
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlen
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x423bcc
dec ebx
cmp byte [ebx], 0x2e
je 0x423bdb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x423bcb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x423c86
inc ebx
cmp byte [ebp - 0x12], 0
je 0x423c18
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x423c86
cmp byte [ebp - 0xd], 0
je 0x423c86
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyn
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x423c86
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyn
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 0x42fe64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004226ec
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.USER32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42feb2
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0042295c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434f94
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4350c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.USER32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x4143c0]
call fcn.00414490
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43509d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00414530
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.0042295c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4350dc
call fcn.00422a04
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00414594
lea ecx, [ebp - 4]
mov edx, 0x435118
mov eax, dword [ebp - 0xc]
call fcn.004147dc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041b564
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x435080
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x435124
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4942cc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435087
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret

Function at 0x435174
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4351bb
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x43519e
add bx, 0x2000
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x4351af
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4351bb
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44060c
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 0x440612
ret