joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103ca058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.103ca1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x103ca07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103ca06a
add dl, dl
jne 0x103ca089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103ca0dc
xor eax, eax
add dl, dl
jne 0x103ca096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x103ca17d
add dl, dl
jne 0x103ca0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103ca0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103ca0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103ca0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x103ca0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x103ca075
mov eax, 1
add dl, dl
jne 0x103ca0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x103ca0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103ca0e1
sub eax, ebx
mov ebx, 1
jne 0x103ca128
mov ecx, 1
add dl, dl
jne 0x103ca10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103ca119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103ca105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103ca075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x103ca13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x103ca14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x103ca136
cmp eax, 0x7d00
jae 0x103ca16d
cmp eax, 0x500
jb 0x103ca168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103ca075
cmp eax, 0x7f
ja 0x103ca170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103ca075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x103ca19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x103ca075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1001107d
Capabilities:
Terminate process

Disassembly:
jmp 0x10026690
jmp fcn.10027830
cmp ecx, dword [0x1002f0d8]
jne 0x1002669a
repz ret
jmp 0x100111a4

Function at 0x10023770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002377f
pop dword [ebp - 0x3c]
mov eax, 0x1002377f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x13e0df57
add dword [ebp - 0x4c], 0x3a7165f4
mov dword [ebp - 0x48], 0xd8fd2bef
sub dword [ebp - 0x48], 0xa6c9dfaa
mov dword [ebp - 0x44], 0xcf2cfb95
sub dword [ebp - 0x44], 0x82e0b767
mov dword [ebp - 0x40], 0x6a5c612c
sub dword [ebp - 0x40], 0x6a5c612c
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x9ddf33a4
sub eax, 0x8ddc30dc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xd2438d27
add dword [ebp - 0x4c], 0xa22edc2f
mov dword [ebp - 0x48], 0xda1bdaa1
add dword [ebp - 0x48], 0x675086d4
mov dword [ebp - 0x44], 0xbc6a333
sub dword [ebp - 0x44], 0xa85736c7
mov dword [ebp - 0x40], 0x7d15334f
add dword [ebp - 0x40], 0x82eaccb1
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xbe857b22
sub eax, 0xae827856
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a93c
push 0
call eax
mov ecx, 0x5198
mov edi, eax
mov esi, 0xfb6572cf
add esi, 0x149dbf31
add esi, dword [ebp - 0x3c]
mov ebx, 0x41de0900
sub ebx, 0x393f3760
add dword [ebp - 0x30], 0x2508d0ce
mov edx, dword [esi]
add dword [ebp - 8], 0xa4c2240a
add edx, ebx
xor dword [ebp - 0x14], 0xeaf9e3e1
mov dword [edi], edx
sub dword [ebp - 0x34], 0x4e5fd6dc
add edi, 4
add esi, 0x6f889a29
add esi, 0x907765db
loop 0x10023896
add eax, 0x872a3dd2
add eax, 0x78d6fb61
mov ebx, eax
add eax, 5
mov ecx, 0xd821b45c
add ecx, 0x37de4ba4
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x4ecae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x89000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x9a531b29
push eax
push edi
jmp 0x4ecb0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ecb11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecb00
mov eax, 1
add ebx, ebx
jne 0x4ecb23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ecb34
jne 0x4ecb53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecb53
dec eax
add ebx, ebx
jne 0x4ecb40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ecb18
add ebx, ebx
jne 0x4ecb4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ecba5
xor ecx, ecx
sub eax, 3
jb 0x4ecb6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ecbda
sar eax, 1
mov ebp, eax
jmp 0x4ecb76
add ebx, ebx
jne 0x4ecb76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecb44
inc ecx
add ebx, ebx
jne 0x4ecb84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ecb44
add ebx, ebx
jne 0x4ecb91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ecb86
jne 0x4ecba2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ecb86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ecbc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ecbb6
jmp 0x4ecb06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ecbc4
add edi, ecx
jmp 0x4ecb06
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ecbe6
cmp byte [edi], 0x11
jne 0x4ecbe6
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ecbeb
lea edi, [esi + 0xe5000]
mov eax, dword [edi]
or eax, eax
je 0x4ecc63
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xee62c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xee7d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ecc18
mov ecx, edi
jns 0x4ecc47
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xee7d8]
or eax, eax
je 0x4ecc5d
mov dword [ebx], eax
add ebx, 4
jmp 0x4ecc35
call dword [esi + 0xee7d4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ecc94
cmp al, 0xef
ja 0x4ecc87
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ecc69
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ecc76
mov ebp, dword [esi + 0xee7dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4eccc8
sub esp, 0xffffff80
jmp 0x420577
Function at 0x402d20
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402d5d
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402d7d
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405000
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402fcc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404d90
test esi, esi
jne 0x403003
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.00404e80
jmp 0x403024
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402e68
mov dword [esp], eax
test esi, esi
je 0x403024
cmp dword [ebx], 0
je 0x403024
dec esi
jmp 0x40300b
add esp, 0x10c
pop esi
pop ebx
ret

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

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

Function at 0x403dec
Capabilities:
Query or enumerate registry value

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

Function at 0x404b88
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4db04c], 0
je 0x404be9
cmp word [0x4db220], 0xd7b2
jne 0x404bb1
cmp dword [0x4db228], 0
jbe 0x404bb1
mov eax, 0x4db21c
call dword [0x4db238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4cf094
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 0x404c10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4cf034], 0
jne 0x404c05
push 0
push 0x4cf08c
push 0x4cf094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404d44
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.00402ae8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4db04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d0c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406ea8
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 0x406f0e
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.00405000
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004037c0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406ef8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f15
lea eax, [ebp - 0x10]
call fcn.00404d90
ret

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

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

Function at 0x40a120
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405250
push eax
call sub.kernel32.dll_GetFileAttributesA
pop ebx
ret

Function at 0x40a134
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00405250
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x40a156
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40d640
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 0x40d679
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404e80
jmp 0x40d682
mov eax, ebx
mov edx, esi
call fcn.00404de4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d68c
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 0x40d6ad
mov al, byte [esp]
jmp 0x40d6af
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40dd44
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40dbac
mov eax, dword [0x4da654]
cmp byte [eax], 0
je 0x40ddc0
mov eax, dword [0x4da3e4]
call fcn.0040347c
call fcn.00402c74
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.0040a750
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 0x40de08
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ddf6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4da37c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4db668]
call fcn.004062d4
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 0x40e6ac
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 0x40e782
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404e28
lea eax, [ebp - 8]
call fcn.004052a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405250
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40e76c
mov eax, ebx
call fcn.00402ae8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40e765
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.00405250
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40e74f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40e794
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40e74f
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 0x40e76c
mov eax, dword [ebp - 0x10]
call fcn.00402b18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e789
lea eax, [ebp - 8]
call fcn.00404d90
ret

Function at 0x40eee8
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 0x40ef4c
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.00405000
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409ae8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ef53
lea eax, [ebp - 0xc]
call fcn.00404d90
ret
Function at 0x42160c
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.00421464
dec esi
jne 0x42162e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x422788
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x4db88c
cmp dword [esi], 0
jne 0x42282e
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x4db888]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4cf538
mov ecx, 2
call fcn.00402e28
mov edx, 0x422760
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422780
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00422780
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4227f5
mov eax, dword [ebp - 8]
mov dword [0x4db888], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423e24
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 0x423e2a
ret

Function at 0x426798
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 0x4267e9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4267d0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4267c0
jmp 0x4267e9
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 0x4267d1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438478
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x438638
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00449cf8
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x43861d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x4384db
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404d90
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4385ac
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x4da7a8]
and eax, 0xff
bt dword [edx], eax
jae 0x43856e
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.0044adbc
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4385ec
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404f78
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00404f78
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00405110
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4385ec
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404f78
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00405058
jmp 0x4385ec
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00405050
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004052f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00405050
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040e818
cmp al, 2
je 0x43858c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00405050
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004052f0
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00405050
test eax, eax
jle 0x438606
push ebp
call fcn.00438394
pop ecx
jmp 0x43861d
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.00404188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43863f
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404db4
ret
Function at 0x43cbd0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x43cd00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43ccd3
xor eax, eax
push ebp
push 0x43cccc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405050
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43cca1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43cc90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405050
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405250
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402e28
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 0x43cc97
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4da2f0]
mov dl, 1
mov eax, dword [0x408490]
call fcn.0040dec8
call fcn.00404720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cd07
lea eax, [ebp - 4]
call fcn.00404d90
ret