joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ae18
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00494794
xor eax, eax
push ebp
push 0x44af6d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x44af40
xor eax, eax
push ebp
push 0x44af39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44ae71
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44af0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x44aefd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44aec2
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
call fcn.004947a4
mov ecx, dword [ebp - 0x18]
inc ecx
mov edx, dword [ebp - 0x10]
call fcn.00492b5c
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44af04
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4dcc5c]
mov dl, 1
mov eax, dword [0x4809bc]
call fcn.0048607c
call fcn.00493f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44af74
lea eax, [ebp - 8]
call fcn.004942e0
ret
Function at 0x44af7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44b146
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
mov edx, 0x1b
mov al, 0x2d
call fcn.00494ad8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, 0x44b15c
call fcn.004945f0
mov eax, dword [ebp - 4]
call fcn.0047ae5c
dec eax
test eax, eax
jl 0x44b041
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047ae1c
mov edx, dword [0x417634]
call fcn.00493868
test al, al
je 0x44b039
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047ae1c
lea edx, [ebp - 0x20]
call fcn.00452fc0
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov edx, 3
mov al, 0x20
call fcn.00494ad8
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00494664
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x44afe7
mov al, byte [0x44b160]
push eax
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x44b16c
mov eax, dword [ebp - 0x10]
call fcn.004878b0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00494378
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00452fc0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, 0x44b15c
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.00452fc0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, 0x44b15c
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, 0x44b15c
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x78]
mov ecx, 9
mov eax, 0x44b178
call fcn.00483060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b14d
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00494304
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00494304
lea eax, [ebp - 0x20]
call fcn.004942e0
lea eax, [ebp - 0x1c]
call fcn.004942e0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00494304
ret
Function at 0x44fbfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4dcf38], 0
je 0x44fd51
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4dc7c8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44fd51
mov eax, dword [0x4dcf3c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4dcf38]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x44fd20
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4dcf38]
call fcn.00472ab4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44fd14
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44fd14
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44fd14
mov eax, dword [ebp - 0x14]
call fcn.0045cde8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44fd14
push ebp
call fcn.0044fbb0
pop ecx
test al, al
jne 0x44fd14
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004938d8
test al, al
je 0x44fd14
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004938d8
cmp byte [ebp - 1], 0
je 0x44fd14
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44fd14
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4dcf3c]
call fcn.0044efe0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x44fc68
mov eax, dword [0x4dcf3c]
cmp dword [eax + 8], 0
jle 0x44fd38
mov eax, dword [0x4dcf3c]
call fcn.0044f0bc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44fd51
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044f9ec
pop ecx
test al, al
jne 0x44fd51
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45937c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.USER32.DLL_GetMessagePos
call fcn.004806bc
mov dword [ebp - 0x19], eax
movsx eax, word [ebp - 0x19]
mov dword [ebp - 0x21], eax
movsx eax, word [ebp - 0x17]
mov dword [ebp - 0x1d], eax
lea ecx, [ebp - 0x15]
lea edx, [ebp - 0x21]
mov eax, dword [ebp - 4]
call fcn.00452918
cmp dword [ebp - 0xc], 0
jne 0x4593d1
push 0
push 0
lea edx, [ebp - 0x15]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00459290
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4594cd
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x459403
mov eax, dword [ebp - 0x15]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x40]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x11]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x44]
mov dword [ebp - 0x134], eax
jmp 0x459415
mov eax, dword [ebp - 0x15]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x11]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
cmp eax, 0x201
jge 0x459454
add eax, 0xffffff5f
sub eax, 2
jb 0x45946c
dec eax
sub eax, 2
jb 0x45947e
dec eax
sub eax, 2
jb 0x459475
jmp 0x459487
add eax, 0xfffffdff
sub eax, 2
jb 0x45946c
dec eax
sub eax, 2
jb 0x45947e
dec eax
sub eax, 2
jb 0x459475
jmp 0x459487
mov byte [ebp - 0x12c], 0
jmp 0x45948e
mov byte [ebp - 0x12c], 2
jmp 0x45948e
mov byte [ebp - 0x12c], 1
jmp 0x45948e
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x121]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [ebp - 0x121]
call fcn.00435df4
mov byte [ebp - 0x12b], al
lea eax, [ebp - 0x138]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, dword [ebp - 0xc]
call fcn.004548bc
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov byte [ebp - 0xd], 1
jmp 0x4594d1
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x45a2fc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x240], 0
je 0x45a31d
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x45a352
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x45a342
mov eax, dword [ebp - 4]
call fcn.00458174
test eax, eax
jne 0x45a342
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45a47c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00459c28
jmp 0x45a47c
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x45a475
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045cde8
push eax
call sub.USER32.DLL_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004548bc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045a2fc
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045cde8
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a47c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x46382c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4dc8c0]
cmp byte [eax + 0xc], 0
je 0x46399e
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x463997
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dcf48], 0
jne 0x463885
push 0x4639a4
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 4], eax
push 0x4639ac
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf48], eax
cmp dword [0x4d4e50], 0
jne 0x463980
push 0x4639bc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d4e50], eax
cmp dword [0x4d4e50], 0
je 0x463980
push 0x4639c8
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf4c], eax
push 0x4639d8
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf50], eax
push 0x4639ec
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf54], eax
push 0x463a04
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf58], eax
push 0x463a1c
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf5c], eax
push 0x463a30
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf60], eax
push 0x463a48
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf64], eax
push 0x463a60
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf68], eax
push 0x463a7c
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf6c], eax
push 0x463a88
mov eax, dword [0x4d4e50]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4dcf70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46399e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x46de50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
cmp byte [0x4d4f48], 0
jne 0x46df2b
mov byte [0x4d4f48], 1
xor eax, eax
mov dword [0x4d4f44], eax
mov dword [ebp - 0xac], 0x94
lea eax, [ebp - 0xac]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [ebp - 0xa8], 3
ja 0x46dea5
cmp dword [ebp - 0xa8], 3
jne 0x46df01
cmp dword [ebp - 0xa4], 0x33
jbe 0x46df01
mov dword [ebp - 8], 9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x46df30
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x46df2b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x11]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x46df60
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x46df2b
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
cmp byte [ebp - 0x11], 0x31
jne 0x46df2b
cmp byte [ebp - 0x10], 0
jne 0x46df2b
jmp 0x46df16
push 0
push 0x46df60
push 0x46df68
call sub.KERNEL32.DLL_GetProfileIntA
test eax, eax
je 0x46df2b
mov eax, dword [0x4d4f40]
call fcn.004947a4
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d4f44], eax
mov esp, ebp
pop ebp
ret

Function at 0x47686c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x4768a2
push ebp
call fcn.004767cc
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x4768c8
push ebp
call fcn.004767cc
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.KERNEL32.DLL_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.00476414
mov esp, ebp
pop ebp
ret 8
Function at 0x47bd00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x4dd1a0], 0
jne 0x47bdad
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 8], eax
mov eax, dword [0x4dd19c]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4d4fa4
mov ecx, 2
call fcn.00492b5c
mov edx, 0x47bcbc
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0047bcdc
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0047bcdc
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x4dd1a0]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4dd1a0], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x47bd67
mov eax, dword [ebp - 8]
mov dword [0x4dd19c], eax
mov eax, dword [0x4dd1a0]
mov dword [ebp - 4], eax
mov eax, dword [0x4dd1a0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x4dd1a0], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x47e8a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00493020
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004947a4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0047e26c
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x47ea0c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.0047e21c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004947a4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x47ea74
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x4dc88c]
mov dl, 1
mov eax, dword [0x47e08c]
call fcn.004860c4
call fcn.00493f30
mov esp, ebp
pop ebp
ret 8
Function at 0x47ea7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004947a4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x47eade
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x4dc888]
mov dl, 1
mov eax, dword [0x47e08c]
call fcn.004860c4
call fcn.00493f30
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0047e26c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x4816ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x48173c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x48173c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4816ef
test edx, 3
jne 0x4816de
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4816e9
jmp 0x4816ef
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4816ef
cmp dword [ecx - 8], 1
je 0x4816f9
mov edx, ebx
or edx, 3
call fcn.00494a74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x48170b
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004942e0

Function at 0x481748
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4817d8
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4817d8
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x48178b
test edx, 3
jne 0x48177a
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x481785
jmp 0x48178b
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x48178b
cmp dword [ecx - 8], 1
je 0x481795
mov edx, ebx
or edx, 3
call fcn.00494a74
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4817a7
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004942e0
Function at 0x482498
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4824c9
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4824d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x482501
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004947a4
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x482582
test byte [ebp - 0xc], 0x10
je 0x482586
xor eax, eax
jmp 0x482588
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x4856b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4856f8
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.004943d0
jmp 0x485703
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00494334
mov esp, ebp
pop ebp
ret 4

Function at 0x48570c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x48573a
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x485740
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret