joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f4a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42f577
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4f19f0], bl
mov eax, 0x4f19f4
mov edx, esi
call fcn.004049fc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov dl, bl
mov eax, dword [0x42e3fc]
call fcn.00416b38
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x42f58c
call fcn.0040a8ac
push 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00424098
mov eax, dword [ebp - 4]
call fcn.00404e84
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x4f19fc], 0
je 0x42f559
cmp bl, 5
jne 0x42f559
push 0x242010
push 0x42f5b4
mov eax, esi
call fcn.00404e84
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f57e
lea eax, [ebp - 0x18]
call fcn.004049a8
lea eax, [ebp - 4]
call fcn.004049a8
ret

Function at 0x42f6cc
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x42f718
push esp
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00403340
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4f19e4]
call fcn.00404e84
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
add esp, 0x54
ret
Function at 0x42f8e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42fa58
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x42e49c]
call fcn.0042f734
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42fa3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp word [ebp - 4], 0x5a4d
jne 0x42fa25
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041d724
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 8], 0
je 0x42fa25
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041d724
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 0xc], 0x4550
jne 0x42fa25
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0xc]
test byte [ebp - 0x15], 0x20
je 0x42fa21
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0042f77c
mov eax, dword [ebp - 0x2c]
call fcn.00404e84
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42fa1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x42fa68
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42f9ff
push 0xa
push 0x42fa74
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x42f9ff
mov byte [ebp - 1], 2
jmp 0x42fa03
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa25
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fa42
mov eax, dword [ebp - 0x10]
call fcn.00403ad4
ret
Function at 0x42fb48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x42fb51
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42fd6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004049a8
mov eax, esi
call fcn.004049a8
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404e84
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x42fd50
mov eax, dword [ebp - 4]
call fcn.00402858
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x42fd49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00404e84
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x42fd30
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x42fd7c
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x42fc7a
push 0x42fda0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409594
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409594
push dword [ebp - 0x24]
push 0x42fdbc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404d44
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404e84
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x42fc7a
cmp dword [ebp - 0xc], 1
jbe 0x42fc7a
mov eax, dword [ebp - 0x18]
call fcn.0040a1d0
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404a98
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x42fdd0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x42fd30
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00407c30
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00407c30
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.00409480
push dword [ebp - 0x28]
push 0x42fddc
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.00409480
push dword [ebp - 0x2c]
push 0x42fddc
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.00409480
push dword [ebp - 0x30]
push 0x42fddc
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.00409480
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00404d44
mov eax, dword [esi]
mov edx, 0x42fde8
call fcn.00404dd0
jne 0x42fd30
mov eax, esi
call fcn.004049a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fd50
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402878
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fd72
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.004049cc
ret
Function at 0x430258
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7fc
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e74
xor eax, eax
push ebp
push 0x430307
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4302dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404e84
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404e84
push eax
mov eax, esi
call fcn.00404e84
push eax
mov eax, ebx
call fcn.00404e84
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x804]
mov eax, dword [ebp + 8]
call fcn.00404a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4302f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43030e
lea eax, [ebp - 4]
call fcn.004049a8
ret

Function at 0x430f44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov edx, esp
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
xor edx, edx
mov dl, byte [esp]
mov eax, ebx
call fcn.00402d5c
xor ecx, ecx
mov cl, byte [esp]
lea edx, [ebx + 1]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x430f87
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x430f80
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x432f84
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x432f4c
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret
Function at 0x4351cc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x80c], ecx
mov esi, edx
lea edi, [ebp - 0x808]
mov ecx, 0x201
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xor eax, eax
push ebp
push 0x435287
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x80c]
mov ecx, esi
mov edx, 0x4352a0
call fcn.00404cd0
mov eax, dword [ebp - 0x80c]
call fcn.00404e84
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x43526e
push 0
lea eax, [ebp - 4]
push eax
push 0x804
lea eax, [ebp - 0x808]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x435262
cmp dword [ebp - 4], 0x804
je 0x435266
xor ebx, ebx
jmp 0x435268
mov bl, 1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43528e
lea eax, [ebp - 0x80c]
call fcn.004049a8
ret

Function at 0x43793c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4e8944], 0
jne 0x437989
xor esi, esi
mov edx, 0x4f1cc4
mov eax, esi
mov ebx, 8
test al, 1
je 0x43796f
shr eax, 1
xor eax, 0xedb88320
jmp 0x437971
shr eax, 1
dec ebx
jne 0x437962
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x43795b
mov byte [0x4e8944], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x4379b6
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4f1cc4]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x437995
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x438104
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00404e84
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404a98
add esp, 0x800
pop ebx
ret
Function at 0x439ac4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404c18
add esp, 0x104
pop ebx
ret

Function at 0x439d14
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e74
mov eax, dword [ebp - 8]
call fcn.00404e74
mov eax, dword [ebp - 0xc]
call fcn.00404e74
xor eax, eax
push ebp
push 0x439f00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x439f18
mov eax, 0x80000000
call fcn.00423f8c
lea eax, [ebp - 0x14]
call fcn.00438104
lea eax, [ebp - 0x74]
push eax
xor ecx, ecx
mov edx, 0x439f3c
mov eax, dword [ebp - 0xc]
call fcn.0042edbc
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0xc]
call fcn.00404a40
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x44
call fcn.00403340
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x10
call fcn.00403340
mov dword [ebp - 0x60], 0x44
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f19d0]
mov edx, 0x439f48
call fcn.00404cd0
cmp dword [0x4f1a14], 0
je 0x439e00
push dword [ebp - 0x1c]
push 0x439f58
push 0x439f58
push 0x439f58
push dword [0x4f1a14]
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404d44
push 0x439f64
push dword [ebp - 4]
push 0x439f74
push dword [ebp - 8]
push 0x439f88
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov edx, 7
call fcn.00404d44
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x439f98
mov eax, dword [ebp - 0x14]
call fcn.0042edbc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404e84
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x439ec1
push 0x2710
mov eax, dword [ebp - 0x70]
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x68]
call fcn.00432f84
mov esi, eax
test esi, esi
je 0x439ead
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.user32.dll_SetWindowPos
push 3
push esi
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x439ed8
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x78]
call fcn.0040ce80
mov edx, dword [ebp - 0x78]
mov al, 4
call fcn.0042f4a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439f07
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004049cc
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004049cc
ret
Function at 0x43a2ac
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a38c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43ab84
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43abf8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x43ac04]
call fcn.00402df0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040956c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x43ac10
call fcn.00404cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43abff
lea eax, [ebp - 0x24]
call fcn.004049a8
ret

Function at 0x43ac14
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ac88
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x43ac94]
call fcn.00402df0
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040956c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x43aca0
call fcn.00404cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ac8f
lea eax, [ebp - 0x24]
call fcn.004049a8
ret
Function at 0x43d0ac
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
mov eax, esi
call fcn.00404c84
mov ebx, eax
inc ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.00432f84
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x43d184
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d15e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43d14d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404e84
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00402b30
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d154
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x43dddc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43ded8
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x43deab
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404c18
lea eax, [ebp - 0x10c]
call fcn.0043dd98
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408f90
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.004091e0
mov edx, dword [ebp - 4]
mov eax, 0x43def0
call fcn.00404fc8
test eax, eax
jle 0x43deb2
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x43deb2
mov eax, dword [esi]
call fcn.00404c84
mov edi, eax
test edi, edi
jbe 0x43deb2
mov ebx, 1
mov eax, esi
call fcn.00404edc
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x43de99
jmp 0x43deb2
mov eax, esi
call fcn.004049a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dedf
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004049cc
lea eax, [ebp - 4]
call fcn.004049a8
ret

Function at 0x440b9c
Capabilities:
Terminate thread

Disassembly:
call fcn.004246ec
test al, al
jne 0x440bf5
cmp dword [0x4f19b0], 0
je 0x440bf5
mov eax, dword [0x4f19b0]
call fcn.00421af4
mov eax, dword [0x4ef7b8]
cmp byte [eax], 0
jne 0x440bd4
push 0xffffffffffffffff
mov eax, dword [0x4f19b0]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x440be4
push 1
mov eax, dword [0x4f19b0]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4f19b0]
call fcn.00403ad4
xor eax, eax
mov dword [0x4f19b0], eax
ret
Function at 0x440ea4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
lea edi, [ebp - 8]
call fcn.00430188
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ebx, dword [edi]
dec ebx
jmp 0x440ec5
dec ebx
test ebx, ebx
jl 0x440ed2
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8], 0
je 0x440ec4
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8]
test eax, eax
je 0x440f11
mov dword [0x4f1958], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8]
call fcn.00440d54
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [esi + ebx*8]
call fcn.00440d54
mov dword [0x4f1980], eax
mov eax, 0x440e78
mov edx, dword [0x4f1980]
mov dword [edx], eax
mov ebx, dword [edi]
dec ebx
jmp 0x440f17
dec ebx
test ebx, ebx
jl 0x440f25
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x440f16
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8 + 4]
test eax, eax
je 0x440f55
mov dword [0x4f195c], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8 + 4]
call fcn.00440d54
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x440e94
mov dword [esi + ebx*8 + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443110
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 0x443116
ret

Function at 0x445778
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 0x4457c9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4457b0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4457a0
jmp 0x4457c9
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 0x4457b1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fd40
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.00404e74
xor eax, eax
push ebp
push 0x44fe6e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x44fe41
xor eax, eax
push ebp
push 0x44fe3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c84
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44fe0f
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 0x44fdfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c84
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404e84
mov edx, ebx
pop ecx
call fcn.00402b30
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 0x44fe05
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ef870]
mov dl, 1
mov eax, dword [0x4082a0]
call fcn.0040d774
call fcn.00404324
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe75
lea eax, [ebp - 4]
call fcn.004049a8
ret