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

Disassembly:
xor eax, eax
test edi, edi
push ebp
mov ebp, dword [esp + 8]
jle 0x10019a56
jmp 0x10019a30
mov ecx, eax
and ecx, 0xf
movzx edx, byte [ecx + ebp]
xor byte [eax + esi], dl
mov dl, byte [eax + esi]
add ecx, ebp
movzx ecx, byte [ecx]
mov cl, byte [ecx + 0x10055258]
xor cl, dl
mov byte [eax + esi], cl
add eax, 1
cmp eax, edi
jl 0x10019a30
pop ebp
ret
Function at 0x10019c90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x418]
push 0x3ff
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.10024c80
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10019cd0
sub eax, edx
add eax, 0xffffffff
js 0x10019cf2
mov cl, byte [esi + eax]
cmp cl, 0x5c
je 0x10019cf2
cmp cl, 0x2f
je 0x10019cf2
sub eax, 1
jns 0x10019ce0
lea ebx, [esi + eax + 1]
call fcn.10019bc0
test eax, eax
mov dword [esp + 0xc], eax
je 0x10019d17
mov ebp, dword [0x100619d0]
push 0
push eax
push ebp
call fcn.10026035
add esp, 0xc
jmp 0x10019d27
push 0x10044548
push esi
call fcn.100255d7
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x10019d78
push ebp
push 1
lea ecx, [esp + 0x18]
push 3
push ecx
call fcn.10025cc8
movzx eax, byte [esp + 0x20]
add esp, 0x10
sub eax, 0x44
jne 0x10019d5b
movzx eax, byte [esp + 0x11]
sub eax, 0x54
jne 0x10019d5b
movzx eax, byte [esp + 0x12]
sub eax, 0x53
je 0x10019d69
test eax, eax
mov ecx, 1
jg 0x10019d6b
or ecx, 0xffffffff
jmp 0x10019d6b
xor ecx, ecx
test ecx, ecx
je 0x10019d92
push ebp
call fcn.10025497
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.10024c3b
add esp, 0x408
ret
push 0x11c
call fcn.10025639
mov esi, eax
add esp, 4
test esi, esi
je 0x10019d6f
mov dword [esi], ebp
mov dx, word [esp + 0x10]
mov word [esi + 4], dx
mov al, byte [esp + 0x12]
lea edx, [esi + 7]
mov byte [esi + 6], al
mov dword [esi + 0x104], 3
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10019dc8
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10019de0
push edi
push ebp
push 1
lea ecx, [esp + 0x1c]
sub eax, edx
add dword [esi + 0x104], eax
push 1
push ecx
call fcn.10025cc8
movzx edx, byte [esp + 0x24]
mov eax, dword [esi + 0x104]
push ebp
push 1
push edx
lea ecx, [eax + esi + 4]
push ecx
call fcn.10025cc8
mov edi, dword [esi + 0x104]
add edi, 1
lea ebx, [edi + esi + 4]
push ebx
call fcn.100267b7
mov eax, ebx
fstp dword [esi + 0x110]
add esp, 0x24
lea ecx, [eax + 1]
jmp 0x10019e40
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10019e40
sub eax, ecx
add eax, edi
lea edx, [eax + esi + 6]
push edx
call fcn.100267b7
fstp dword [esi + 0x114]
movzx eax, byte [esp + 0x18]
add dword [esi + 0x104], eax
movzx ecx, byte [esp + 0x18]
push ebp
push 1
lea edx, [esp + 0x20]
add ecx, 8
push 4
push edx
mov dword [esi + 0x10c], ecx
call fcn.10025cc8
add esp, 0x14
lea ecx, [esp + 0x14]
call fcn.10019800
mov ecx, dword [esp + 0x414]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x118], eax
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10024c3b
add esp, 0x408
ret
Function at 0x1003c520
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov ebx, 0x100
push edi
or esi, ebx
mov eax, esi
shr eax, 7
add ebp, ebp
and eax, 1
mov ecx, ebx
and ecx, ebp
mov edx, esi
push eax
mov eax, dword [esp + 0x1c]
shr edx, 8
add ecx, ebx
add edx, ecx
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x18]
call fcn.1003c480
add esi, esi
mov ecx, esi
xor ecx, ebp
not ecx
and ebx, ecx
cmp esi, 0x10000
jb 0x1003c531
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x1003c5d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x1003c5e0
pop edi
pop ebx
ret

Function at 0x1003c610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x1003c620
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1003c6f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, 1
shl ebx, cl
xor eax, eax
or edx, ebx
cmp edx, 1
je 0x1003c723
mov ecx, edx
and edx, 1
shr ecx, 1
movzx ebx, word [edi + ecx*2]
neg edx
sar edx, 4
and edx, 0x7f
shr ebx, 4
xor ebx, edx
add eax, dword [esi + ebx*4]
mov edx, ecx
cmp edx, 1
jne 0x1003c701
pop ebx
ret

Function at 0x1003c730
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x1003c772
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x1003c741
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x10042560
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
xor edx, edx
or ecx, 0xffffffff
push esi
mov dword [eax + 0x34], edx
mov byte [eax + 0x1f], dl
mov dword [eax + 0x24], edx
mov dword [eax + 0x468], ecx
mov dword [eax + 0x46c], ecx
call fcn.10042540
lea esi, [eax + 0x60]
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
add edx, 1
add esi, 4
cmp edx, 0x100
jb 0x10042585
pop esi
ret

Function at 0x10043680
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.10043904
add esp, 0x18
push eax
mov dword [esi], eax
call fcn.10043620
pop esi
ret 4
Function at 0x402e48
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ea1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402ce4
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ce4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e8b
inc ebx
jmp 0x402e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ea8
lea eax, [ebp - 8]
call fcn.00404a1c
ret

Function at 0x402eb0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a1c
test esi, esi
jne 0x402ee7
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.00404b0c
jmp 0x402f08
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ce4
mov dword [esp], eax
test esi, esi
je 0x402f08
cmp dword [ebx], 0
je 0x402f08
dec esi
jmp 0x402eef
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403a80
Capabilities:
Query or enumerate registry value

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

Function at 0x404814
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45a048], 0
je 0x404875
cmp word [0x45a21c], 0xd7b2
jne 0x40483d
cmp dword [0x45a224], 0
jbe 0x40483d
mov eax, 0x45a218
call dword [0x45a234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x458070
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 0x40489c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x458030], 0
jne 0x404891
push 0
push 0x458068
push 0x458070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4049d0
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.00402a78
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x45a049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404998
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4066e4
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 0x40674a
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.00404c8c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004034dc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406734
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406751
lea eax, [ebp - 0x10]
call fcn.00404a1c
ret

Function at 0x40ba70
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 0x40baa9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b0c
jmp 0x40bab2
mov eax, ebx
mov edx, esi
call fcn.00404a70
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c174
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bfdc
mov eax, dword [0x45912c]
cmp byte [eax], 0
je 0x40c1f0
mov eax, dword [0x458f20]
call fcn.004032f0
call fcn.00402c04
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.00409160
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 0x40c238
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c226
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x458ed0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45a664]
call fcn.00405b50
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 0x40ca94
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 0x40cb6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ab4
lea eax, [ebp - 8]
call fcn.00404f2c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404edc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cb54
mov eax, ebx
call fcn.00402a78
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cb4d
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.00404edc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cb37
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cb7c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cb37
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 0x40cb54
mov eax, dword [ebp - 0x10]
call fcn.00402aa8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb71
lea eax, [ebp - 8]
call fcn.00404a1c
ret

Function at 0x40d0d8
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 0x40d13c
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.00404c8c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c1c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d143
lea eax, [ebp - 0xc]
call fcn.00404a1c
ret

Function at 0x41b404
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 0x41b451
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.0041b25c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b469
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41b470
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.0041b25c
dec esi
jne 0x41b492
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41cbf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45a888
cmp dword [edi], 0
jne 0x41cc70
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45a884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4583f0
mov ecx, 2
call fcn.00402ca4
mov edx, 0x41cbcc
lea eax, [esi + 5]
call fcn.0041cbec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041cbec
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 0x41cc45
mov dword [0x45a884], 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 0x41e2c4
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 0x41e2ca
ret

Function at 0x420790
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 0x4207e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4207c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4207b8
jmp 0x4207e1
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 0x4207c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4292fc
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.00404ecc
xor eax, eax
push ebp
push 0x42942a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4293fd
xor eax, eax
push ebp
push 0x4293f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cdc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4293cb
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 0x4293ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cdc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404edc
mov edx, ebx
pop ecx
call fcn.00402ca4
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 0x4293c1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x458e74]
mov dl, 1
mov eax, dword [0x407aa4]
call fcn.0040c2f8
call fcn.004043ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429431
lea eax, [ebp - 4]
call fcn.00404a1c
ret
Function at 0x429438
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 0x4295e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004050cc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x429600
call fcn.00404d28
mov eax, ebx
call fcn.0041bb68
mov edi, eax
dec edi
test edi, edi
jl 0x4294f0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041bb3c
mov edx, dword [0x42cae0]
call fcn.00403da4
test al, al
je 0x4294ec
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041bb3c
lea edx, [ebp - 0x14]
call fcn.00433e24
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004050cc
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d9c
inc esi
dec edi
jne 0x42949e
mov al, byte [0x429604]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x429610
mov eax, dword [ebp - 0xc]
call fcn.0040d6b4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ab4
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.00433e24
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x429600
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.00433e24
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x429600
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, 0x429600
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, 0x42961c
call fcn.004098ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4295f0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a40
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a40
lea eax, [ebp - 0x14]
call fcn.00404a1c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a40
ret

Function at 0x42e994
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42e8e0
call sub.user32.dll_EnumWindows
ret