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

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x100249d4], edi
mov dword [0x100249e4], 2
je 0x598843
mov ecx, dword [0x100249e0]
push ebx
push ebp
push esi
mov esi, 0x7fff
mov ebx, 0x3ff
movzx eax, byte [ecx + 0x10044ca2]
mov edx, dword [0x100249e8]
and eax, esi
and edx, ebx
mov ebp, ecx
shl edx, 5
xor eax, edx
and ebp, esi
movzx edx, word [eax*2 + 0x10034ca0]
mov dword [0x100249e8], eax
lea eax, [eax*2 + 0x10034ca0]
mov word [ebp*2 + 0x10024ca0], dx
test edx, edx
mov word [eax], cx
je 0x59870b
mov eax, ecx
sub eax, edx
cmp eax, 0x7efa
ja 0x59870b
push edx
call fcn.005981df
mov edi, eax
mov eax, dword [0x100249d4]
cmp edi, eax
pop ecx
jbe 0x598705
mov edi, eax
mov ecx, dword [0x100249e0]
cmp edi, 3
jb 0x5987ac
sub ecx, dword [0x100249dc]
lea eax, [edi - 3]
push eax
push ecx
call fcn.0059ae19
sub dword [0x100249d4], edi
cmp edi, dword [0x100249cc]
pop ecx
mov dword [esp + 0x14], eax
pop ecx
ja 0x59877e
mov ecx, dword [0x100249e0]
dec edi
movzx eax, byte [ecx + 0x10044ca3]
mov edx, dword [0x100249e8]
inc ecx
and edx, ebx
and eax, esi
shl edx, 5
xor eax, edx
mov dword [0x100249e8], eax
mov bp, word [eax*2 + 0x10034ca0]
lea edx, [eax*2 + 0x10034ca0]
mov eax, ecx
and eax, esi
dec edi
mov word [eax*2 + 0x10024ca0], bp
mov word [edx], cx
jne 0x59873f
jmp 0x5987cd
mov ecx, dword [0x100249e0]
add ecx, edi
xor edi, edi
mov dword [0x100249e0], ecx
movzx eax, byte [ecx + 0x10044ca0]
movzx edx, byte [ecx + 0x10044ca1]
and eax, ebx
and edx, esi
shl eax, 5
xor eax, edx
mov dword [0x100249e8], eax
jmp 0x5987d4
movzx eax, byte [ecx + 0x10044ca0]
push eax
push 0
call fcn.0059ae19
dec dword [0x100249d4]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov ecx, dword [0x100249e0]
inc ecx
mov dword [0x100249e0], ecx
cmp dword [esp + 0x10], 0
je 0x598808
mov eax, dword [0x100249ec]
test eax, eax
jl 0x5987ec
lea edx, [eax + 0x10044ca0]
jmp 0x5987ee
xor edx, edx
sub ecx, eax
push 0
push ecx
push edx
call fcn.0059a620
mov ecx, dword [0x100249e0]
add esp, 0xc
mov dword [0x100249ec], ecx
mov ebp, 0x106
cmp dword [0x100249d4], ebp
jae 0x598831
cmp dword [0x100249d8], 0
jne 0x598831
call fcn.0059831c
cmp dword [0x100249d4], ebp
mov ecx, dword [0x100249e0]
jb 0x598815
cmp dword [0x100249d4], 0
jne 0x5986a9
pop esi
pop ebp
pop ebx
jmp 0x598849
mov ecx, dword [0x100249e0]
mov edx, dword [0x100249ec]
pop edi
test edx, edx
jl 0x59885c
lea eax, [edx + 0x10044ca0]
jmp 0x59885e
xor eax, eax
sub ecx, edx
push 1
push ecx
push eax
call fcn.0059a620
add esp, 0x10
ret

Function at 0x59bbde
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x59bbeb
or eax, 0xffffffff
jmp 0x59bc19
cmp dword [esp + 8], 0
mov eax, dword [0x10023328]
je 0x59bc19
push esi
movzx esi, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x10022f28]
xor eax, edx
inc ecx
dec dword [esp + 0xc]
jne 0x59bbf8
pop esi
mov dword [0x10023328], eax
not eax
ret
Function at 0x59bc21
Capabilities:
Read file on windows

Disassembly:
and dword [0x10024a18], 0
push esi
call fcn.005a0fe1
and dword [eax], 0
mov eax, dword [0x10024a18]
mov esi, 0x8000
mov ecx, esi
sub ecx, eax
lea eax, [eax + 0x100694a0]
push ecx
push eax
push dword [0x10024a20]
call fcn.005a43fe
add esp, 0xc
test eax, eax
je 0x59bc7d
cmp eax, 0xffffffff
je 0x59bc7d
mov ecx, dword [0x10024a18]
add ecx, eax
cmp ecx, esi
mov dword [0x10024a18], ecx
jae 0x59bc83
mov eax, esi
sub eax, ecx
push eax
lea eax, [ecx + 0x100694a0]
jmp 0x59bc46
mov ecx, dword [0x10024a18]
test ecx, ecx
pop esi
jne 0x59bc9d
cmp dword [esp + 4], ecx
je 0x59bc92
or eax, 0xffffffff
ret
call fcn.0059bdc3
mov ecx, dword [0x10024a18]
add dword [0x10024c58], ecx
mov dword [0x10024a14], 1
movzx eax, byte [0x100694a0]
ret
Function at 0x402c04
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.00404d68
test esi, esi
jne 0x402c3a
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.00404e58
jmp 0x402c58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402ab8
mov edi, eax
test esi, esi
je 0x402c58
cmp dword [ebx], 0
je 0x402c58
dec esi
jmp 0x402c41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5d4008], 0x8088405
inc edx
mov dword [ebx + 0x5d4008], edx
fld qword [ebx + 0x5d406c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403cbc
Capabilities:
Query or enumerate registry value

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

Function at 0x404b48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5de04c], 0
je 0x404ba9
cmp word [0x5de220], 0xd7b2
jne 0x404b71
cmp dword [0x5de228], 0
jbe 0x404b71
mov eax, 0x5de21c
call dword [0x5de238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x5d407c
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 0x404bd0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5d4034], 0
jne 0x404bc5
push 0
push 0x5d4074
push 0x5d407c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d1c
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.0040287c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x5de04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ce4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406924
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 0x406b54
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4069a7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406b54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4069a7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406b70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406a30
xor eax, eax
push ebp
push 0x406a29
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040676c
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 0x406a0e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406b90
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406a0e
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 0x406a30
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 0x406b4a
cmp byte [ebp - 0xd], 0
jne 0x406a77
cmp byte [ebp - 0x12], 0
je 0x406b4a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406a90
dec ebx
cmp byte [ebx], 0x2e
je 0x406a9f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406a8f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406b4a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406adc
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 0x406b4a
cmp byte [ebp - 0xd], 0
je 0x406b4a
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 0x406b4a
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 0x407294
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 0x4072fa
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.00404fd8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004036e4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4072e4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407301
lea eax, [ebp - 0x10]
call fcn.00404d68
ret

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

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

Function at 0x40db74
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 0x40dbad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e58
jmp 0x40dbb6
mov eax, ebx
mov edx, esi
call fcn.00404dbc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40e268
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e0e0
mov eax, dword [0x5dce9c]
cmp byte [eax], 0
je 0x40e2e4
mov eax, dword [0x5dc8b0]
call fcn.004030e4
call fcn.004029e4
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.0040ab9c
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 0x40e32c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e31a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5dc7d8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5de668]
call fcn.00406730
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 0x40ebf8
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 0x40ecce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404e00
lea eax, [ebp - 8]
call fcn.00405278
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405228
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ecb8
mov eax, ebx
call fcn.0040287c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ecb1
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.00405228
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ec9b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ece0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ec9b
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 0x40ecb8
mov eax, dword [ebp - 0x10]
call fcn.0040289c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ecd5
lea eax, [ebp - 8]
call fcn.00404d68
ret

Function at 0x40f298
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 0x40f2fc
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.00404fd8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040a2a8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f303
lea eax, [ebp - 0xc]
call fcn.00404d68
ret

Function at 0x428668
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4286b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00428494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4286cd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5de88c
cmp dword [edi], 0
jne 0x4298b4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5de888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5d46f8
mov ecx, 2
call fcn.00402a78
mov edx, 0x429810
lea eax, [esi + 5]
call fcn.00429830
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00429830
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 0x429889
mov dword [0x5de888], 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 0x42af28
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 0x42af2e
ret

Function at 0x42d5f4
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 0x42d645
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42d62c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42d61c
jmp 0x42d645
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 0x42d62d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438d2c
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.00405218
xor eax, eax
push ebp
push 0x438e5a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x438e2d
xor eax, eax
push ebp
push 0x438e26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405028
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x438dfb
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 0x438dea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405028
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405228
mov edx, ebx
pop ecx
call fcn.00402a78
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 0x438df1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5dc658]
mov dl, 1
mov eax, dword [0x408c54]
call fcn.0040e41c
call fcn.004046e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438e61
lea eax, [ebp - 4]
call fcn.00404d68
ret
Function at 0x438e68
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 0x439019
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405418
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x439030
call fcn.00405074
mov eax, ebx
call fcn.00428dcc
mov edi, eax
dec edi
test edi, edi
jl 0x438f20
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00428da0
mov edx, dword [0x458568]
call fcn.00403fe0
test al, al
je 0x438f1c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00428da0
lea edx, [ebp - 0x14]
call fcn.00464e9c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405418
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004050e8
inc esi
dec edi
jne 0x438ece
mov al, byte [0x439034]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x439040
mov eax, dword [ebp - 0xc]
call fcn.0040f870
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404e00
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.00464e9c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x439030
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.00464e9c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x439030
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, 0x439030
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, 0x43904c
call fcn.0040b2a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439020
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404d8c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404d8c
lea eax, [ebp - 0x14]
call fcn.00404d68
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404d8c
ret