joyce8/EMBER2024-capa huggingface dataset:
Function at 0x572f00
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x572f1c
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x572f15
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x572f39
push eax
call fcn.00570efb
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x572f4f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404090
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x572f65
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x572f80
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404090
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x572f96
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x572fb1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404090
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x572fc7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x572fe2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404090
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x572ff8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x573012
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00404090
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x573031
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x574650
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x57468e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x57468e
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x590aa4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00590923

Function at 0x5952b4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00594f74
Function at 0x79bf1497
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
lea ebx, [eax + edi + 0x78]
mov eax, dword [ebx]
test eax, eax
je 0x79bf1546
cmp dword [ebx + 4], 0x28
jb 0x79bf1546
lea esi, [eax + edi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x79bf1546
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x79bf1546
lea edx, [edx + ecx*4]
mov ecx, dword [ebx + 4]
add ecx, eax
cmp ecx, edx
jb 0x79bf1546
mov eax, dword [esi + 0x20]
and dword [ebp + 8], 0
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1c]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x24]
add eax, edi
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x79bf1546
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
ja 0x79bf153b
mov eax, dword [eax]
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebx]
mov ecx, dword [ebp - 8]
add edx, dword [ebx + 4]
lea eax, [eax + ecx + 1]
cmp eax, edx
ja 0x79bf153b
push dword [ebp + 0xc]
lea eax, [ecx + edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x79bf154d
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x79bf14fd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x14], ecx
jbe 0x79bf1546
mov esi, dword [esi + 0x1c]
mov eax, dword [ebx]
cmp esi, eax
jb 0x79bf1546
lea edx, [esi + ecx*4 + 4]
mov esi, dword [ebx + 4]
add esi, eax
cmp esi, edx
jb 0x79bf1546
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
jmp 0x79bf1548

Function at 0x79bf161d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x40
mov edi, 0x101000
push edi
push dword [esp + 0x14]
push 0
call esi
test eax, eax
jne 0x79bf1643
push 4
push edi
push dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
ret
Function at 0x79bf1d62
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
test edi, edi
jne 0x79bf1dab
mov ecx, dword [eax + 4]
push edi
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x79bf1da7
cmp dword [ebp - 8], ebx
je 0x79bf1ddc
xor eax, eax
jmp 0x79bf1ddf
mov esi, dword [esi + 8]
mov edx, ebx
xor ecx, ecx
add edx, dword [eax]
adc ecx, dword [eax + 4]
xor ebx, ebx
cmp ebx, ecx
jg 0x79bf1dcd
jl 0x79bf1dc3
cmp esi, edx
jae 0x79bf1dcd
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x79bf1da7
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, edi
call fcn.79bf1658
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x79bf1de4
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [eax + 0x38], ebx
jne 0x79bf1e01
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x79bf1f89
mov ecx, dword [ebp + 0xc]
push edi
lea edi, [eax + 0x30]
push 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov eax, edi
call fcn.79bf1d62
add esp, 0xc
test eax, eax
je 0x79bf1e37
push dword [ebp - 0x14]
call fcn.79bf161d
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x79bf1e3e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x79bf1f88
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ecx, dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
add eax, 0xc
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
adc edi, ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
call fcn.79bf1d62
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
add esp, 0xc
push ebx
push eax
push ebx
push 0x40
push ebx
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x79bf1e94
push ebx
push dword [ebp - 8]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call edi
mov esi, eax
cmp esi, ebx
je 0x79bf1ebf
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x79bf1eca
push ebx
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
jne 0x79bf1eca
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.79bf1646
pop ecx
jmp 0x79bf1f33
cmp dword [ebp - 0x10], ebx
jne 0x79bf1ede
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, edi
call fcn.79bf1658
jmp 0x79bf1eed
push dword [ebp - 0x18]
push edi
push dword [ebp - 4]
call fcn.79bf23e0
add esp, 0xc
push dword [ebp - 4]
call fcn.79bf1646
mov eax, dword [edi + 0x3c]
pop ecx
cmp edi, dword [eax + edi + 0x34]
je 0x79bf1f3d
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edi, eax
cmp edi, ebx
jne 0x79bf1f3d
push ebx
push ebx
push ebx
push ebx
push 0x26
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov edi, eax
cmp edi, ebx
jne 0x79bf1f3d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x79bf1f81
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x10], bl
je 0x79bf1f58
push dword [ebp - 0x18]
push edi
call fcn.79bf1914
pop ecx
pop ecx
test al, al
je 0x79bf1f7a
mov eax, dword [edi + 0x3c]
lea esi, [eax + edi + 0x18]
mov eax, edi
sub eax, dword [esi + 0x1c]
push eax
call fcn.79bf166c
push dword [esi + 0x68]
push esi
call fcn.79bf1742
add esp, 0xc
test al, al
jne 0x79bf1f85
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
jmp 0x79bf1f87
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x79bf23e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x79bf2411
cmp bl, 0xd7
je 0x79bf2411
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x79bf2439
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x79bf2403
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.79bf245e
cmp bl, 0xd8
jne 0x79bf2439
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x79bf2439
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x79bf2430
pop esi
pop ebx
ret
Function at 0x402c20
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403078
Capabilities:
Query or enumerate registry value

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

Function at 0x403ddc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a104c], 0
je 0x403e3d
cmp word [0x4a1220], 0xd7b2
jne 0x403e05
cmp dword [0x4a1228], 0
jbe 0x403e05
mov eax, 0x4a121c
call dword [0x4a1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49e070
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 0x403e64
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49e034], 0
jne 0x403e59
push 0
push 0x49e068
push 0x49e070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f90
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.0040275c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f58
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40605c
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 0x4060c2
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.0040424c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c3c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4060ac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4060c9
lea eax, [ebp - 0x10]
call fcn.00403fdc
ret

Function at 0x40b8fc
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 0x40b935
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040cc
jmp 0x40b93e
mov eax, ebx
mov edx, esi
call fcn.00404030
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bff0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40be68
mov eax, dword [0x4a0714]
cmp byte [eax], 0
je 0x40c06c
mov eax, dword [0x4a0394]
call fcn.00402a50
call fcn.004028c4
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.00408f14
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 0x40c0b4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c0a2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a0304]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a1668]
call fcn.00405570
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 0x40c950
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 0x40ca26
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404074
lea eax, [ebp - 8]
call fcn.004044ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040449c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ca10
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ca09
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.0040449c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c9f3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ca38
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c9f3
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 0x40ca10
mov eax, dword [ebp - 0x10]
call fcn.0040277c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ca2d
lea eax, [ebp - 8]
call fcn.00403fdc
ret

Function at 0x40cfac
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 0x40d010
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.0040424c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004088bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d017
lea eax, [ebp - 0xc]
call fcn.00403fdc
ret

Function at 0x420dac
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.00420c04
dec esi
jne 0x420dce
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x421f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a188c
cmp dword [edi], 0
jne 0x421f8c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a1888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49e50c
mov ecx, 2
call fcn.00402958
mov edx, 0x421ee8
lea eax, [esi + 5]
call fcn.00421f08
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421f08
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 0x421f61
mov dword [0x4a1888], 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 0x423558
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 0x42355e
ret

Function at 0x425b5c
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 0x425bad
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425b94
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425b84
jmp 0x425bad
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 0x425b95
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f9a8
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.0040448c
xor eax, eax
push ebp
push 0x42fad6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42faa9
xor eax, eax
push ebp
push 0x42faa2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040429c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42fa77
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 0x42fa66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040429c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040449c
mov edx, ebx
pop ecx
call fcn.00402958
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 0x42fa6d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a023c]
mov dl, 1
mov eax, dword [0x40758c]
call fcn.0040c174
call fcn.00403994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fadd
lea eax, [ebp - 4]
call fcn.00403fdc
ret
Function at 0x42fae4
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 0x42fc95
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040468c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42fcac
call fcn.004042e8
mov eax, ebx
call fcn.004214a4
mov edi, eax
dec edi
test edi, edi
jl 0x42fb9c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421478
mov edx, dword [0x43a9f0]
call fcn.00403394
test al, al
je 0x42fb98
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421478
lea edx, [ebp - 0x14]
call fcn.00447160
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040468c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040435c
inc esi
dec edi
jne 0x42fb4a
mov al, byte [0x42fcb0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42fcbc
mov eax, dword [ebp - 0xc]
call fcn.0040d584
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404074
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.00447160
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42fcac
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.00447160
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42fcac
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, 0x42fcac
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, 0x42fcc8
call fcn.004095dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fc9c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404000
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404000
lea eax, [ebp - 0x14]
call fcn.00403fdc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404000
ret