joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
test byte [eax + 8], 1
je 0x406e4d
mov ecx, dword [eax]
add eax, 0xc
mov dword [ebp + 8], ecx
push dword [eax - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00408c00
add esp, 0x10
test eax, eax
jne 0x406e49
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
je 0x406e5e
xor eax, eax
jmp 0x406e7e
push dword [eax]
add eax, 0xc
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
test byte [eax + 8], 2
je 0x406e7b
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
mov edx, eax
dec eax
test edx, edx
je 0x406e7b
inc eax
xor byte [ecx], 0xea
inc ecx
dec eax
jne 0x406e74
mov eax, dword [ebp + 0xc]
pop esi
pop ebp
ret

Function at 0x406f7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_time]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_srand]
call dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
mov eax, dword [ebp + 8]
and edi, 0x7f
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 8]
add edi, 0x20
and edi, 0xfffffffc
add esi, edi
lea eax, [esi + 0xc]
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x407039
push 0x10
mov dword [ebx + 4], 2
pop eax
mov word [ebx + 0xc], di
cmp edi, eax
mov dword [ebx + 8], esi
mov dword [ebp + 0xc], eax
jbe 0x406ff2
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
mov byte [ecx + ebx], al
jb 0x406fde
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 8], eax
jbe 0x40700e
add edi, ebx
mov edx, dword [eax + ecx]
xor edx, esi
mov dword [edi + eax], edx
add eax, 4
cmp eax, dword [ecx + 8]
jb 0x406ffe
push 4
push 0x40d358
push ebx
call sub.MSVCRT.dll_memcpy
push 0xc
lea eax, [ebx + esi]
push ebx
push eax
call sub.MSVCRT.dll_memcpy
push 4
push 0x40d350
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0x24
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407051
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x18
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x407116
mov eax, dword [esp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], 1
je 0x407087
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x407097
push esi
call dword [sym.imp.MSVCRT.dll_free]
jmp 0x407115
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x4070b6
push 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
je 0x4070fb
push 0x40d364
push 0x40d360
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4070e0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4070e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi], eax
push esi
call fcn.0040711b
test eax, eax
pop ecx
je 0x4070fb
push dword [esi]
call fcn.00406cc2
test eax, eax
pop ecx
je 0x4070fb
mov eax, esi
jmp 0x407118
cmp dword [esi + 0xc], 0
mov edi, dword [sym.imp.MSVCRT.dll_free]
je 0x40710c
push dword [esi]
call edi
pop ecx
push dword [esi + 4]
call edi
push esi
call edi
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
ret

Function at 0x40711b
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [ebx]
test edi, edi
je 0x407177
push 4
push 0x40d350
push edi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x407177
movzx ebp, word [edi + 0xc]
mov esi, dword [edi + 8]
sub esi, ebp
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebx], eax
je 0x40717a
push 1
xor ecx, ecx
pop edx
test esi, esi
mov dword [ebx + 0xc], edx
jbe 0x407173
lea ebx, [edi + ebp]
mov ebp, dword [ebx + ecx]
xor ebp, dword [edi + 8]
mov dword [ecx + eax], ebp
add ecx, 4
cmp ecx, esi
jb 0x407163
mov eax, edx
jmp 0x40717a
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x407547
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004076f5
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407583
xor eax, eax
jmp 0x4076f1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407731
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4075b0
xor eax, eax
jmp 0x4076f1
lea ecx, [ebp - 0x18]
push ecx
push 0x40
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4075d8
xor eax, eax
jmp 0x4076f1
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x4076d2
push str.KERNEL32.dll
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4076c4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
je 0x4076c2
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
and eax, 0x80000000
test eax, eax
jne 0x4076ab
mov dword [ebp - 0x30], str.DisableThreadLibraryCalls
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov cl, byte [eax + 2]
mov byte [ebp - 0x2c], cl
movsx edx, byte [ebp - 0x2c]
cmp edx, 0x44
je 0x407674
movsx eax, byte [ebp - 0x2c]
cmp eax, 0x46
je 0x407674
movsx ecx, byte [ebp - 0x2c]
cmp ecx, 0x47
je 0x407674
movsx edx, byte [ebp - 0x2c]
cmp edx, 0x4c
jne 0x4076ab
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x4076ab
mov ecx, dword [ebp - 0x28]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x4076a0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
mov dword [ebp - 0x30], ecx
jmp 0x407674
mov edx, dword [ebp - 0x20]
add edx, 4
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x40761b
jmp 0x4076d2
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
mov dword [ebp - 0x1c], ecx
jmp 0x4075d8
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x407731
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x407777
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x4077a8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
cmp eax, dword [ebp + 0xc]
ja 0x4077a6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
add edx, dword [eax + 8]
cmp dword [ebp + 0xc], edx
jae 0x4077a6
mov eax, dword [ebp - 8]
jmp 0x4077aa
jmp 0x407765
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x1000e1cb
pop dword [ebp - 0x30]
mov eax, 0xfac25195
add eax, 0x153e9036
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x3aecd
push 0
mov eax, 0x526127b
add eax, 0xadb2de9
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x8014f394
add ecx, 0x7feb5c19
mov edi, eax
mov edx, 0x50620dad
sub edx, 0x406087ad
add edx, dword [ebp - 0x30]
mov esi, 0x5120c8e2
sub esi, 0xa5ab8df7
mov dword [ebp - 0x28], 0x3d9d7b7e
mov ebx, dword [edx]
sub dword [ebp - 0xc], eax
sub ebx, esi
xor dword [ebp - 0x10], 0x21e26a5b
mov dword [edi], ebx
sub dword [ebp - 0x28], 0xdbbfb0b6
add edi, 0x2456ef03
sub edi, 0x2456eeff
add edx, 0xb7cb4eeb
add edx, 0x4834b119
loop 0x1000e22a
add eax, 0x13187
xor ebx, ebx
add ebx, eax
add eax, 0x29a248a3
sub eax, 0x29a2489e
mov ecx, 0xbb030db9
sub ecx, 0xab030db9
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x402ed4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404c84
test esi, esi
jne 0x402f0b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404d74
jmp 0x402f2c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d70
mov dword [esp], eax
test esi, esi
je 0x402f2c
cmp dword [ebx], 0
je 0x402f2c
dec esi
jmp 0x402f13
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403cc0
Capabilities:
Query or enumerate registry value

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

Function at 0x404a5c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ec04c], 0
je 0x404abd
cmp word [0x4ec220], 0xd7b2
jne 0x404a85
cmp dword [0x4ec228], 0
jbe 0x404a85
mov eax, 0x4ec21c
call dword [0x4ec238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4e5074
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 0x404ae4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e5034], 0
jne 0x404ad9
push 0
push 0x4e506c
push 0x4e5074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c38
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.00402b10
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4ec04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c00
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406e04
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 0x406e6a
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.00404ef4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036ec
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e71
lea eax, [ebp - 0x10]
call fcn.00404c84
ret

Function at 0x40c580
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 0x40c5b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404d74
jmp 0x40c5c2
mov eax, ebx
mov edx, esi
call fcn.00404cd8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40cc84
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40caec
mov eax, dword [0x4eb54c]
cmp byte [eax], 0
je 0x40cd00
mov eax, dword [0x4eb184]
call fcn.00403360
call fcn.00402c9c
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.00409c54
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 0x40cd48
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cd36
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4eb0ec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ec668]
call fcn.00406270
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 0x40d5f8
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 0x40d6ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404d1c
lea eax, [ebp - 8]
call fcn.00405194
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405144
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d6b8
mov eax, ebx
call fcn.00402b10
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d6b1
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.00405144
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d69b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d6e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d69b
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 0x40d6b8
mov eax, dword [ebp - 0x10]
call fcn.00402b40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d6d5
lea eax, [ebp - 8]
call fcn.00404c84
ret

Function at 0x40dcb0
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 0x40dd14
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.00404ef4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dd1b
lea eax, [ebp - 0xc]
call fcn.00404c84
ret

Function at 0x420304
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.0042015c
dec esi
jne 0x420326
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x421468
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ec88c
cmp dword [edi], 0
jne 0x4214e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ec888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e5404
mov ecx, 2
call fcn.00402d30
mov edx, 0x421440
lea eax, [esi + 5]
call fcn.00421460
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421460
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 0x4214b9
mov dword [0x4ec888], 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 0x422b38
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 0x422b3e
ret

Function at 0x425490
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 0x4254e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4254c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4254b8
jmp 0x4254e1
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 0x4254c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42eb94
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.00405134
xor eax, eax
push ebp
push 0x42ecc2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42ec95
xor eax, eax
push ebp
push 0x42ec8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f44
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ec63
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 0x42ec52
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f44
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405144
mov edx, ebx
pop ecx
call fcn.00402d30
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 0x42ec59
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4eb008]
mov dl, 1
mov eax, dword [0x408374]
call fcn.0040ce14
call fcn.004045f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ecc9
lea eax, [ebp - 4]
call fcn.00404c84
ret
Function at 0x42ecd0
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 0x42ee81
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405334
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42ee98
call fcn.00404f90
mov eax, ebx
call fcn.004209fc
mov edi, eax
dec edi
test edi, edi
jl 0x42ed88
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004209d0
mov edx, dword [0x43b6f0]
call fcn.00403fec
test al, al
je 0x42ed84
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004209d0
lea edx, [ebp - 0x14]
call fcn.00445a60
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405334
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405004
inc esi
dec edi
jne 0x42ed36
mov al, byte [0x42ee9c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42eea8
mov eax, dword [ebp - 0xc]
call fcn.0040e28c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404d1c
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.00445a60
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42ee98
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.00445a60
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42ee98
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, 0x42ee98
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, 0x42eeb4
call fcn.0040a374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ee88
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ca8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ca8
lea eax, [ebp - 0x14]
call fcn.00404c84
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ca8
ret