joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
cmp dword [0x403428], 0
jne 0x401127
cmp word [0x403220], 0
jne 0x401033
mov eax, dword [0x403434]
push 0x104
push 0x403220
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
jmp 0x401040
movzx ecx, word [eax + str.SYSTEMCurrentControlSetServicesEventLogApplication_]
mov word [esp + eax + 8], cx
add eax, 2
test cx, cx
jne 0x401040
mov eax, str.Python_Service
mov edx, eax
jmp 0x401060
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401060
push esi
push edi
lea edi, [esp + 0x10]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401076
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea edx, [esp + 0x2c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40111b
mov eax, 0x403220
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4010c2
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x403220
push 1
push 0
push str.EventMessageFile
push ecx
call esi
mov eax, dword [esp + 8]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0
push str.TypesSupported
push eax
mov dword [esp + 0x24], 7
call esi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov dword [0x403428], 1
pop esi
add esp, 0x210
ret
Function at 0x401130
Capabilities:
Access the windows event log

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x40114c
mov edi, edi
movzx eax, di
cmp dword [ebx + eax*4], 0
je 0x40114c
inc edi
jmp 0x401140
cmp dword [0x40342c], 0
je 0x40120a
movzx eax, word [esp + 0x18]
sub eax, 1
je 0x401182
sub eax, 1
je 0x40117b
sub eax, 2
je 0x401174
mov esi, str.Message
jmp 0x401187
mov esi, str.Info
jmp 0x401187
mov esi, str.Warning
jmp 0x401187
mov esi, str.Error
mov edx, dword [0x403434]
push ebx
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push ebp
push edx
push 0x2900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x4011e0
push ebp
mov ebp, dword [sym.imp.MSVCR90.dll_wprintf]
push esi
push str._s_0x_X___No_message_available_nMessage_inserts_were
call ebp
movzx edi, di
add esp, 0xc
xor esi, esi
test edi, edi
jle 0x401200
mov eax, dword [ebx + esi*4]
push eax
push str._s_
call ebp
inc esi
add esp, 8
cmp esi, edi
jl 0x4011c3
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0xc]
push ecx
push ebp
push esi
push str._s_0x_X____s
call dword [sym.imp.MSVCR90.dll_wprintf]
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
call section..text
push str.Python_Service
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
jne 0x401227
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, dword [esp + 0x18]
push 0
push ebx
push 0
push edi
push 0
push ebp
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x4234a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48d6f8
cmp edx, dword [eax]
je 0x4234c7
add eax, 8
inc ecx
cmp eax, 0x48d788
jl 0x4234b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48d6f8]
jne 0x4235f5
mov eax, dword [0x4914a0]
cmp eax, 1
je 0x4235cf
test eax, eax
jne 0x4234f8
cmp dword [0x48cae4], 1
je 0x4235cf
cmp edx, 0xfc
je 0x4235f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42352f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00423630
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041adf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x423572
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041adf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x47b9c0
push edi
call fcn.00426350
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00423630
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00423640
lea eax, [ebp - 0xa0]
push 0x47b9a0
push eax
call fcn.00423640
push dword [esi + 0x48d6fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00423640
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00427a38
add esp, 0x2c
pop edi
jmp 0x4235f5
lea eax, [ebp + 8]
lea esi, [esi + 0x48d6fc]
push 0
push eax
push dword [esi]
call fcn.0041adf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x431400
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00419e00
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4314cb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4314cb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x43147e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x431489
or bh, 8
and edi, 0x8000000
je 0x4314a4
mov eax, dword [0x49371c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4314cb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402aac
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.00404280
test esi, esi
jne 0x402ae2
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.00404370
jmp 0x402b00
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402960
mov edi, eax
test esi, esi
je 0x402b00
cmp dword [ebx], 0
je 0x402b00
dec esi
jmp 0x402ae9
add esp, 0x108
pop edi
pop esi
pop ebx

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

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

Function at 0x4032dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f4024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403374
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403354
xor eax, eax
push ebp
push 0x40334d
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 0x403390
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 0x403354
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f4024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f4024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404080
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fb04c], 0
je 0x4040e1
cmp word [0x4fb220], 0xd7b2
jne 0x4040a9
cmp dword [0x4fb228], 0
jbe 0x4040a9
mov eax, 0x4fb21c
call dword [0x4fb238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f4070
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 0x404108
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f4034], 0
jne 0x4040fd
push 0
push 0x4f4068
push 0x4f4070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404234
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.00402724
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4fb04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4041fc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405cb0
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 0x405ee0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405d33
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405ee0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405d33
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405efc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405dbc
xor eax, eax
push ebp
push 0x405db5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405af8
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 0x405d9a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405f1c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405d9a
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 0x405dbc
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 0x405ed6
cmp byte [ebp - 0xd], 0
jne 0x405e03
cmp byte [ebp - 0x12], 0
je 0x405ed6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405e1c
dec ebx
cmp byte [ebx], 0x2e
je 0x405e2b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405e1b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405ed6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405e68
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 0x405ed6
cmp byte [ebp - 0xd], 0
je 0x405ed6
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 0x405ed6
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 0x4065a8
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 0x40660e
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.004044f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e34
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406615
lea eax, [ebp - 0x10]
call fcn.00404280
ret

Function at 0x40be98
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bed1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404370
jmp 0x40beda
mov eax, ebx
mov edx, esi
call fcn.004042d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bee4
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 0x40bf05
mov al, byte [esp]
jmp 0x40bf07
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c58c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c404
mov eax, dword [0x4fa4fc]
cmp byte [eax], 0
je 0x40c608
mov eax, dword [0x4fa1fc]
call fcn.00402c48
call fcn.0040288c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409640
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c650
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c63e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4fa190]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4fb668]
call fcn.00405abc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cf10
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 0x40cfe6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404318
lea eax, [ebp - 8]
call fcn.004047ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cfd0
mov eax, ebx
call fcn.00402724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cfc9
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.0040475c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfb3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cff8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfb3
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 0x40cfd0
mov eax, dword [ebp - 0x10]
call fcn.00402744
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cfed
lea eax, [ebp - 8]
call fcn.00404280
ret

Function at 0x40d570
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 0x40d5d4
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.004044f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d5db
lea eax, [ebp - 0xc]
call fcn.00404280
ret

Function at 0x4228a8
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.00422700
dec esi
jne 0x4228ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423a0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4fb88c
cmp dword [edi], 0
jne 0x423a88
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4fb888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f44a8
mov ecx, 2
call fcn.00402920
mov edx, 0x4239e4
lea eax, [esi + 5]
call fcn.00423a04
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423a04
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 0x423a5d
mov dword [0x4fb888], 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 0x42502c
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 0x425032
ret

Function at 0x427764
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 0x4277b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42779c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42778c
jmp 0x4277b5
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 0x42779d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4324a4
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.0040474c
xor eax, eax
push ebp
push 0x4325d2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4325a5
xor eax, eax
push ebp
push 0x43259e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040455c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x432573
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 0x432562
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040455c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040475c
mov edx, ebx
pop ecx
call fcn.00402920
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 0x432569
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4fa0f4]
mov dl, 1
mov eax, dword [0x407cfc]
call fcn.0040c734
call fcn.00403c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4325d9
lea eax, [ebp - 4]
call fcn.00404280
ret
Function at 0x4325e0
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 0x432791
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040494c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4327a8
call fcn.004045a8
mov eax, ebx
call fcn.00422fa0
mov edi, eax
dec edi
test edi, edi
jl 0x432698
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422f74
mov edx, dword [0x44a1a0]
call fcn.004035f8
test al, al
je 0x432694
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00422f74
lea edx, [ebp - 0x14]
call fcn.0045410c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040494c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040461c
inc esi
dec edi
jne 0x432646
mov al, byte [0x4327ac]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4327b8
mov eax, dword [ebp - 0xc]
call fcn.0040db48
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404318
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.0045410c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4327a8
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.0045410c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4327a8
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, 0x4327a8
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, 0x4327c4
call fcn.00409d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432798
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042a4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042a4
lea eax, [ebp - 0x14]
call fcn.00404280
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042a4
ret