joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ee914
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5eeac4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5eeaa3
mov dl, 1
mov eax, dword [0x4851a4]
call fcn.004b1a04
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a224
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5eea92
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.00554f7c
test al, al
je 0x5eea85
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5eead4
lea eax, [ebp - 0x394]
call fcn.00427338
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5eea85
xor eax, eax
push ebp
push 0x5eea7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5eeb44
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5eea65
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040af78
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5eea65
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.0040af78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eea85
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5ee985
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b192c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eeacb
lea eax, [ebp - 0x3a0]
call fcn.0040a224
pop eax
jmp eax

Function at 0x5ef6dc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x7c9c18]
cmp byte [eax + 0xc5], 0
jne 0x5ef74e
cmp dword [0x7c9c3c], 0
jne 0x5ef70e
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6f577c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7c9c3c], eax
cmp dword [0x7c9c38], 0
jne 0x5ef729
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x7c9c38], eax
cmp dword [0x7c9c40], 0
jne 0x5ef74e
push esp
push 0
push 0
mov eax, dword [0x6f5778]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x7c9c40], eax
pop edx
ret
Function at 0x5efb48
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5efb5f
add esp, 0xfffffff0
call fcn.00408a64
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c3f94
mov eax, dword [0x7c1be0]
cmp byte [eax], 0
jne 0x5efb8c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x7c21a0]
cmp word [eax + 2], 0
jne 0x5efba6
mov eax, dword [0x7c21a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f200c
mov eax, dword [0x7c2394]
cmp word [eax + 2], 0
jne 0x5efbc0
mov eax, dword [0x7c2394]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005f2424
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50dff4]
call fcn.00514d14
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5f29d0
mov dl, 1
mov eax, dword [0x481458]
call fcn.00408440
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x481458]
call fcn.00408440
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x513164]
call fcn.0051f2ac
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5efdb0
mov eax, dword [0x7c1f74]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0051f7c8
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5f2cbc
mov dl, 1
mov eax, dword [0x481458]
call fcn.00408440
mov dword [ebx + 0xb0], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7c1f74]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00427138
test eax, eax
je 0x5efcd3
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00426f90
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042711c
test eax, eax
je 0x5efceb
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.0040af78
push ebx
push 0x5f19e0
call fcn.005e42a0
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x7c1be0]
cmp byte [eax], 0
jne 0x5efd3c
mov eax, ebx
call fcn.005eff78
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005f3064
mov eax, ebx
call fcn.005f3d1c
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5efda7
call fcn.00408abc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f02a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5f034a
cmp dword [ebx + 0xac], 0
jne 0x5f0344
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5f01e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5f0344
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5f030a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5f0344
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004ac7dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5f0319
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5f068c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x7c9c18]
cmp dword [eax + 0x190], 0
je 0x5f07f5
test bl, bl
jne 0x5f0748
cmp dword [esi + 0xb4], 0
jne 0x5f073d
mov eax, esi
call fcn.005f3b6c
push eax
push 0x5f058c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5f070e
mov eax, dword [0x7c9c18]
cmp byte [eax + 0xeb], 0
je 0x5f070e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f06ef
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f070e
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f06f7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f073d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac7dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f071d
inc dword [esi + 0xb4]
jmp 0x5f07f5
cmp dword [esi + 0xb4], 0
jle 0x5f07f5
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5f07f5
cmp dword [esi + 0x58], 0
je 0x5f07aa
mov eax, dword [0x7c9c18]
cmp byte [eax + 0xeb], 0
je 0x5f07aa
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5f078b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5f07aa
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5f0793
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5f07d9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac7dc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5f07b9
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5e0740]
call fcn.0040d328
pop edi
pop esi
pop ebx
ret
Function at 0x5f15ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5f1649
cmp byte [ebx + 0xeb], 0
jne 0x5f1649
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a3bc
mov eax, dword [esi]
test eax, eax
je 0x5f1636
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5f1656
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a614
jmp 0x5f1656
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a614
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5f3278
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5f32e9
mov eax, esi
call fcn.0054ea54
test al, al
je 0x5f32e9
mov eax, dword [ebx + 0x98]
call fcn.0054e5ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5f32e9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5f32da
push 0
mov eax, dword [ebx + 0x98]
call fcn.0054e5ec
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00544924
jmp 0x5f32e9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005f3084
pop esi
pop ebx
ret
Function at 0x612270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x6123e2
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x6123b3
mov eax, edi
call fcn.00610d68
test al, al
jne 0x6123b3
mov ecx, 0x65
mov eax, ebx
cdq
idiv ecx
mov ebx, edx
mov dword [ebp - 0x114], ebx
fild dword [ebp - 0x114]
fdiv dword [0x6123f0]
fstp qword [ebp - 0x10]
wait
fldz
fld qword [ebp - 0x10]
fucompp
wait
fnstsw ax
sahf
jp 0x6122e1
jbe 0x612320
xor ebx, ebx
lea esi, [ebp - 0x110]
mov dword [ebp - 0x114], ebx
fild dword [ebp - 0x114]
mov eax, 0xff
sub eax, ebx
mov dword [ebp - 0x118], eax
fild dword [ebp - 0x118]
fmul qword [ebp - 0x10]
faddp st(1)
call fcn.00407b10
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x6122e9
jmp 0x612356
xor ebx, ebx
lea esi, [ebp - 0x110]
mov dword [ebp - 0x114], ebx
fild dword [ebp - 0x114]
mov dword [ebp - 0x118], ebx
fild dword [ebp - 0x118]
fmul qword [ebp - 0x10]
faddp st(1)
call fcn.00407b10
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x612328
lea edx, [ebp - 4]
mov eax, dword [edi + 0x18]
call fcn.0060ee70
mov eax, dword [ebp - 4]
call fcn.0040ce38
test eax, eax
jl 0x61238b
inc eax
xor ebx, ebx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx*4 + 1]
movzx edx, byte [ebp + edx - 0x110]
mov ecx, dword [ebp - 4]
mov byte [ecx + ebx*4 + 1], dl
inc ebx
dec eax
jne 0x612370
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.0060eeb8
mov edx, dword [ebp - 0x11c]
lea eax, [edi + 0x18]
mov ecx, dword [0x609538]
call fcn.0040d36c
mov eax, edi
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6123e9
lea eax, [ebp - 0x11c]
mov edx, dword [0x609538]
call fcn.0040d328
lea eax, [ebp - 4]
mov edx, dword [0x60b4fc]
call fcn.0040d328
pop eax
jmp eax

Function at 0x633358
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, eax
mov eax, edi
call fcn.0040ac2c
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x6333ad
mov eax, edi
call fcn.0040a734
test eax, eax
jle 0x633395
movzx edx, byte [esi]
movzx edx, byte [edx + 0x7eb4c8]
add ebx, edx
mov edx, ebx
shl edx, 0xa
add ebx, edx
mov edx, ebx
shr edx, 6
xor ebx, edx
inc esi
dec eax
jne 0x633377
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
add ebx, eax
mov eax, ebx
shr eax, 0xb
xor ebx, eax
mov eax, ebx
shl eax, 0xf
add ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x6333b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ecx, ecx
test edx, edx
jle 0x6333d2
movzx ebx, byte [eax]
add ecx, ebx
mov ebx, ecx
shl ebx, 0xa
add ecx, ebx
mov ebx, ecx
shr ebx, 6
xor ecx, ebx
inc eax
dec edx
jne 0x6333bb
mov eax, ecx
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add ecx, eax
mov eax, ecx
pop ebx
ret
Function at 0x6512f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7ebd34], 0
jne 0x65130f
call fcn.006512b4
mov eax, edi
dec eax
test eax, eax
jl 0x651337
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7eb934]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x651319
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x654390
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x6543c1
dec al
je 0x6543fc
dec al
je 0x654440
dec al
je 0x6544b2
jmp 0x65454d
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x65454d
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6543d1
jmp 0x65454d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x65454d
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x65440c
jmp 0x65454d
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x65454d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x654473
xor edx, edx
mov dword [esp + 4], edx
jmp 0x654488
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x6544a0
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x654450
jmp 0x65454d
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x65454d
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x654519
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.00651340
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6544ce
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x65c01c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x65c2b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0065c8dc
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x6f6cec], eax
mov eax, dword [ebp - 0xc]
mov dword [0x6f6cf0], eax
mov eax, dword [ebp - 0x24]
mov dword [0x6f6cf4], eax
call fcn.0042de5c
cmp eax, 2
sete byte [0x6f64c5]
push 0x65c2c4
call sub.kernel32.dll_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.0065c7e4
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x6f64c5], 0
jne 0x65c0ab
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0065c814
test al, al
je 0x65c0ab
mov eax, dword [ebp - 0x4c]
mov dword [0x7ebd54], eax
jmp 0x65c0b2
xor eax, eax
mov dword [0x7ebd54], eax
call fcn.0065b314
and eax, 0x7f
cmp eax, 0x1e
ja case.0x65c0c3.0
jmp dword [eax*4 + 0x65c0ca]
mov byte [0x6f64c0], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c1], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c2], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c3], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c4], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c6], 1
mov byte [0x6f64c7], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c6], 1
mov byte [0x6f64c8], 1
jmp case.0x65c0c3.0
mov byte [0x6f64c6], 1
mov byte [0x6f64c8], 1
mov byte [0x6f64c9], 1
jmp case.0x65c0c3.0
mov byte [0x6f64ca], 1
jmp case.0x65c0c3.0
mov byte [0x6f64cb], 1
jmp case.0x65c0c3.0
mov byte [0x6f64cc], 1
jmp case.0x65c0c3.0
mov byte [0x6f64cd], 1
jmp case.0x65c0c3.0
mov byte [0x6f64ce], 1
jmp case.0x65c0c3.0
mov byte [0x6f64cf], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d0], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d1], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d2], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d3], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d4], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d5], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d6], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d7], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d8], 1
jmp case.0x65c0c3.0
mov byte [0x6f64d9], 1
jmp case.0x65c0c3.0
mov byte [0x6f64da], 1
jmp case.0x65c0c3.0
mov byte [0x6f64db], 1
jmp case.0x65c0c3.0
mov byte [0x6f64dc], 1
jmp case.0x65c0c3.0
mov byte [0x6f64dd], 1
jmp case.0x65c0c3.0
mov byte [0x6f64de], 1
jmp case.0x65c0c3.0
mov byte [0x6f64df], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65c2bf
lea eax, [ebp - 4]
call fcn.0040a224
pop eax
jmp eax
Function at 0x65c814
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x65c8c8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040aec4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x65c8b0
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040b050
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040aec4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x65c8b0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x65c8d8
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x65c8b0
cmp dword [ebp - 0xc], 0x34
jne 0x65c8b0
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65c8cf
lea eax, [ebp - 4]
call fcn.0040a224
pop eax
jmp eax

Function at 0x65d4ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x65d512
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040af78
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00426408
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65d519
lea eax, [ebp - 0x14]
call fcn.0040a224
pop eax
jmp eax

Function at 0x65e1c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65e260
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0042de5c
cmp eax, 2
jne 0x65e208
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x65e240
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040ad80
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040a9cc
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040ac2c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65e267
lea eax, [ebp - 8]
call fcn.0040a26c
lea eax, [ebp - 4]
call fcn.0040a248
pop eax
jmp eax
Function at 0x65e608
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040aec4
mov edx, eax
mov eax, ebx
call fcn.0065e02c
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.0065e10c
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x65e67a
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040aec4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x6632f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x663322
mov eax, ebx
call fcn.00663db0
cmp dword [ebx + 0x40], 0
je 0x66331b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x663393
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x663385
cmp dword [ebx + 8], 0
je 0x663344
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x663356
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x663385
cmp dword [ebx + 8], 0
je 0x663337
cmp eax, 3
je 0x663369
dec eax
jne 0x663337
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x663337
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x663337
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x6633b1
cmp dword [ebx + 0x14], 0xcc
je 0x6633b1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.006633bc
pop ebx
ret