joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405cde
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
push str.runprog.exe
lea ecx, [ebp - 0x1c]
call fcn.00408516
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408d8c
mov ecx, eax
call fcn.00408573
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call fcn.00401eb5
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.00401eb5
pop ecx
push 0x409780
lea ecx, [ebp - 0x24]
call fcn.00408516
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x24]
mov ecx, 0x3fb
call fcn.00408f16
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
call fcn.00401eb5
pop ecx
movzx eax, byte [ebp - 9]
test eax, eax
je 0x405d87
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
push 0xa
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x4091d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
call fcn.00401eb5
pop ecx
leave
ret
Function at 0x407c4d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
push 2
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
push 0x200
lea ecx, [ebp - 0xc]
call fcn.004084c7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push 0x200
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 0x4099b0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x407cc1
push 0x103
mov ecx, dword [ebp - 0x24]
call fcn.00402478
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
call fcn.00401eb5
pop ecx
jmp 0x407d0e
push 0x124
push 0x409970
push 0x409980
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x407cf2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.00401eb5
pop ecx
jmp 0x407d0e
push 0x103
mov ecx, dword [ebp - 0x24]
call fcn.00402478
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.00401eb5
pop ecx
leave
ret

Function at 0x408d8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
push 0x104
lea ecx, [ebp - 8]
call fcn.004084c7
xor eax, eax
inc eax
je 0x408e0b
mov dword [ebp - 0xc], 0x103
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408def
push 0
mov ecx, dword [ebp - 0x24]
call fcn.004084c7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.00401eb5
pop ecx
mov eax, dword [ebp - 0x24]
jmp 0x408e29
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x408e07
mov eax, dword [ebp - 8]
shl eax, 1
push eax
lea ecx, [ebp - 8]
call fcn.00408613
jmp 0x408e09
jmp 0x408e0b
jmp 0x408da2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004084ed
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.00401eb5
pop ecx
mov eax, dword [ebp - 0x24]
leave
ret

Function at 0x408ea6
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0x400
lea ecx, [ebp - 8]
call fcn.004084c7
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0
push 0
push dword [ebp - 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x408ef6
push 0x4094b8
mov ecx, dword [ebp - 0x18]
call fcn.00408516
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
call fcn.00401eb5
pop ecx
mov eax, dword [ebp - 0x18]
jmp 0x408f14
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.004084ed
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.00401eb5
pop ecx
mov eax, dword [ebp - 0x18]
leave
ret
Function at 0x408f16
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x408f55
xor al, al
jmp 0x408ff9
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x408f71
xor al, al
jmp 0x408ff9
push dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x408f8a
xor al, al
jmp 0x408ff9
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x408fa0
xor al, al
jmp 0x408ff9
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
push 0
push 2
push 4
push 0
push 1
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
je 0x408fee
xor al, al
jmp 0x408ff9
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret 4
Function at 0x42b6c
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.00045090
test esi, esi
jne 0x42ba2
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.00045180
jmp 0x42bc0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00042a80
mov edi, eax
test esi, esi
je 0x42bc0
cmp dword [ebx], 0
je 0x42bc0
dec esi
jmp 0x42ba9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x43254
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x19a008], 0x8088405
inc edx
mov dword [ebx + 0x19a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x43270
Capabilities:
Read file on windows

Disassembly:
push ebx
xor ecx, ecx
mov ebx, eax
mov cx, word [eax + 4]
sub ecx, 0xd7b1
je 0x43286
sub ecx, 2
jne 0x432a8
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_ReadFile
pop edx
dec eax
jne 0x432af
cmp edx, dword [ebx + 8]
je 0x432b9
mov eax, 0x64
jmp 0x432b4
mov eax, 0x67
jmp 0x432b4
call sub.kernel32.dll_GetLastError
call fcn.00042968
pop ebx
ret

Function at 0x43774
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b2
cmp eax, 1
ja 0x437a7
push 0
mov eax, esp
push 0
push eax
push dword [ebx + 8]
push edx
push dword [ebx]
call sub.kernel32.dll_WriteFile
pop edx
dec eax
jne 0x437ae
cmp edx, dword [ebx + 8]
je 0x437b8
mov eax, 0x65
jmp 0x437b3
mov eax, 5
jmp 0x437b3
call sub.kernel32.dll_GetLastError
call fcn.00042968
mov eax, ebx
pop ebx
ret

Function at 0x440e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x19a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4417c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4415c
xor eax, eax
push ebp
push 0x44155
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 0x44198
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 0x4415c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x19a024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x19a024], ax
mov esp, ebp
pop ebp
ret
Function at 0x44e90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x19f04c], 0
je 0x44ef1
cmp word [0x19f220], 0xd7b2
jne 0x44eb9
cmp dword [0x19f228], 0
jbe 0x44eb9
mov eax, 0x19f21c
call dword [0x19f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x19a0c0
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 0x44f18
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x19a034], 0
jne 0x44f0d
push 0
push 0x19a0b8
push 0x19a0c0
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x45044
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.000427e0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x19f04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4500c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x468ec
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 0x46b1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4696f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46b1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4696f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x46b38
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x469f8
xor eax, eax
push ebp
push 0x469f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00046734
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 0x469d6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x46b58
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x469d6
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 0x469f8
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_lstrcpynA
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 0x46b12
cmp byte [ebp - 0xd], 0
jne 0x46a3f
cmp byte [ebp - 0x12], 0
je 0x46b12
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x46a58
dec ebx
cmp byte [ebx], 0x2e
je 0x46a67
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x46a57
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x46b12
inc ebx
cmp byte [ebp - 0x12], 0
je 0x46aa4
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_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46b12
cmp byte [ebp - 0xd], 0
je 0x46b12
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_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x46b12
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_lstrcpynA
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 0x47218
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4727e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00045300
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.000436a0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x47268
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47285
lea eax, [ebp - 0x10]
call fcn.00045090
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00045550
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4a2fd
test al, 0x10
jne 0x4a301
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4a308
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00045550
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x4a31c
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00045550
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4a33e
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4d61c
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_1
test eax, eax
jle 0x4d655
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00045180
jmp 0x4d65e
mov eax, ebx
mov edx, esi
call fcn.000450e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d668
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 0x4d689
mov al, byte [esp]
jmp 0x4d68b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4e694
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e76a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00045128
lea eax, [ebp - 8]
call fcn.000455a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00045550
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4e754
mov eax, ebx
call fcn.000427e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e74d
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 - 8]
call fcn.00045550
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4e737
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4e77c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4e737
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e754
mov eax, dword [ebp - 0x10]
call fcn.00042800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e771
lea eax, [ebp - 8]
call fcn.00045090
ret

Function at 0x4ed80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4ede4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00045300
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00049e60
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edeb
lea eax, [ebp - 0xc]
call fcn.00045090
ret

Function at 0x6671c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00066574
dec esi
jne 0x6673e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x67880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x19f88c
cmp dword [edi], 0
jne 0x678fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x19f888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x19a624
mov ecx, 2
call fcn.00042a40
mov edx, 0x67858
lea eax, [esi + 5]
call fcn.00067878
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00067878
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 0x678d1
mov dword [0x19f888], 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 0x68f80
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 0x68f86
ret

Function at 0x6b748
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x6b799
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6b780
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6b770
jmp 0x6b799
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6b781
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x77988
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00045540
xor eax, eax
push ebp
push 0x77ab6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x77a89
xor eax, eax
push ebp
push 0x77a82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00045350
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x77a57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x77a46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00045350
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00045550
mov edx, ebx
pop ecx
call fcn.00042a40
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77a4d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x19d838]
mov dl, 1
mov eax, dword [0x489b8]
call fcn.0004deb8
call fcn.00044a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77abd
lea eax, [ebp - 4]
call fcn.00045090
ret
Function at 0x77ac4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x77c75
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00045740
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x77c8c
call fcn.0004539c
mov eax, ebx
call fcn.00066e14
mov edi, eax
dec edi
test edi, edi
jl 0x77b7c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00066de8
mov edx, dword [0x9ad7c]
call fcn.00044408
test al, al
je 0x77b78
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00066de8
lea edx, [ebp - 0x14]
call fcn.000aa2fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00045740
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00045410
inc esi
dec edi
jne 0x77b2a
mov al, byte [0x77c90]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x77c9c
mov eax, dword [ebp - 0xc]
call fcn.0004f358
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00045128
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.000aa2fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x77c8c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.000aa2fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x77c8c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x77c8c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x77ca8
call fcn.0004ae2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x77c7c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.000450b4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.000450b4
lea eax, [ebp - 0x14]
call fcn.00045090
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.000450b4
ret