joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c5f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c6fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x10
call fcn.00414b68
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
sub eax, 0x2e
mov dword [esi + 8], eax
call fcn.00413d80
test eax, 0x80000000
jne 0x43c66e
push 0x410
push esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0043c818
mov eax, dword [ebp - 4]
call fcn.0040a670
push eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0043c818
mov eax, dword [ebp - 8]
call fcn.0040afe8
push eax
push edi
call fcn.00414570
jmp 0x43c6c0
push 0x410
push esi
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0043c818
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.0040ad7c
mov eax, dword [ebp - 0xc]
call fcn.0040a67c
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0043c818
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0
call fcn.0040ad7c
mov eax, dword [ebp - 0x14]
call fcn.0040abd0
push eax
push edi
call fcn.00414568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c702
lea eax, [ebp - 0x18]
call fcn.0040a180
lea eax, [ebp - 0x14]
call fcn.0040a1a4
lea eax, [ebp - 0x10]
call fcn.0040a180
lea eax, [ebp - 0xc]
call fcn.0040a1a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a1e0
ret

Function at 0x44f280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x44f2d9
test eax, edx
je 0x44f2dc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x44f297
movzx eax, word [eax]
sub eax, ecx
jmp 0x44f2be
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x44f2bf
add ecx, 4
js 0x44f2af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x44f2bc
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x44f2be
xor eax, eax
ret
test eax, eax
je 0x44f2e8
test edx, edx
jne 0x44f288
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x457504
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a688
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e338
mov edi, eax
cmp edi, 0x104
jbe 0x4574af
mov eax, edi
add eax, eax
call fcn.00406a6c
mov esi, eax
jmp 0x4574b1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040e338
push esi
call fcn.00414470
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4574ea
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4574d4
mov eax, esp
cmp esi, eax
je 0x4574f7
mov eax, esi
call fcn.00406a88
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x457530
cmp bl, 0
je 0x45752c
cmp bl, 0x41
jl 0x457527
cmp bl, 0x5a
jg 0x457527
or bl, 0x20
xor al, bl
inc esi
jmp 0x45750b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x457470
Function at 0x4f32bc
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
inc ebx
push edi
pop esp
and dword [eax - 0xb], esp
pop ebp
and al, bh
cmpsb byte [esi], byte es:[edi]
loope 0x4f31b3
mov byte [ecx], 0x2e
sub byte [esi + 0x17d1bfb7], ah
mov bh, 0xbf
rcl dword [edi]
add al, 0x26
pop ebp
jb 0x4f328a
sub al, 0xcb
dec ebx
mov ah, 0xa2
scasb al, byte es:[edi]
fisubr word [edi + 0x20]
inc ebx
mov dl, 0xf5
and byte [ebx - 0x4e], al
cmc
in al, dx
push ebx
xor ah, dh
jo 0x4f31b1
sbb edi, dword [ebp - 0x1bca6bfd]
xchg ah, bl
inc esi
inc ebp
add byte [esp + edx*4 + 0x114caa0], 2
mov al, byte [0x20114ca]
fst qword [ecx - 0x54]
mov word [edx + 0x4f8ac0c1], ss
xchg byte [eax + 0x26], cl
fucomp st(0)
push edi
xchg cx, ax
std
test dword [ebp + 0x10], ebx
loope 0x4f31f5
push esi
pop ecx
push ds
insd dword es:[edi], dx
cwde
cmp al, bl
xlatb
leave
jne 0x4f323a
out 0xd6, eax
salc
loopne 0x4f3252
scasb al, byte es:[edi]
cmp eax, 0xcfb2127a
jp 0x4f326c
mov dl, 0xcf
and dh, cl
sbb al, 9
int3
mov dword [edi], ecx
jno 0x4f32e2
pushfd
and ebp, ecx
enter 0xffffffffffffa669, 0xffffffffffffffb8
sub ebx, dword [ebx + edx - 0x1c]
mov ax, word [0xa08b74a2]
loop 0x4f3250
imul esp, dword [esi + 0x135c2bb8], 0xa2a166e4
je 0x4f3215
mov al, byte [0x146ec3e2]
fsub st(6)
and dword [edi - 0x75], esp
das
outsb dx, byte [esi]
adc al, 0xd8
out 0x21, al
mov ebp, dword [bx]
dec esp
js 0x4f3276
mov esp, dword [edi]
mov bh, 0x89
scasb al, byte es:[edi]
rcl byte [0xb73ef35]
inc edx
sahf
add al, 0x86
mov byte [eax - 0x4c9b71ac], bh
pop ds
xor dword [edx*8 - 0x407e8a8], 0x4f57815f
test byte [ebp + 0x53], 0x38
invalid
xor al, 0xd5
pop eax
pop ss
clc
sti
pop edi
adc dword [edi + 0x4f], 0x385345f6
invalid
cmp byte [ecx + 0x4e], al
inc ecx
dec esi
push 0x43
in al, dx
imul eax, dword [edx], 0x68
jo 0x4f327e
dec edx
jbe 0x4f32af
sub al, 0
and edi, 0x75ac1e41
pop edx
add byte [ecx - 0x53e1be19], al
jne 0x4f332e
push esp
shl ah, cl
xchg byte [ecx], ch
cmp byte [si - 0x65], ch
push ss
mov ecx, 0x6a817c75
push edi
push 0x57
sub dword [ecx], 0xcde2cf53
and eax, 0xbfa6dc43
nop
jp 0x4f32cc
pop ebx
pushal
int 0x1f
aaa
pop edx
mov dl, 4
xor eax, 0x1e0a9407
and al, 0xf
mov esp, 0x34065bf1
pop esp
mov edx, 0x577f998
imul esi, dword [edx + 2], 0x3b357cdd
push 0x7eec550
inc byte [edi]
xchg esp, eax
sbb byte cs:[edi - 0x7843714], 0x7d
mov ecx, 0x86cea99a
invalid
mov dword [0xd7551d07], ebx
adc byte [esi + 0x415ce672], 0xf3
jb 0x4f32ef
test al, 0xe0
xchg esi, eax
jmp 0xc830c0c2
Function at 0x40969d
Capabilities:
Encode data using xor

Disassembly:
jno 0x4096c5
adc byte [esi], al
or ch, byte [ebx]
push es
add dword [ecx + eax], eax
xor byte [edi], 0xc
add al, byte [ebx]
xor dword [edx], eax
add byte [eax], 0x30
pop ebp
push es
or ch, byte [ebx]
push es
add dword [ecx + eax], eax
xor byte [edi], 2
add dword [ecx + esi], eax
dec edi
xor byte [ebp + 0x30], cl
sbb byte [esi], al
or ch, byte [ebx]
push es
add dword [ecx + eax], eax
xor byte [edi], 2
add dword [edi], ecx
xor byte [edx], cl
add eax, dword [edx]
add eax, 0xa204a0a0
wrmsr
or al, byte [ebx]
add al, byte [0xa204a0a0]
add al, byte [eax + 0x30313000]
or eax, 0x86600906
dec eax
add dword [ebp + 3], esp
add eax, dword gs:[edx + eax]
add al, 2
add dword [0x69200400], eax
adc dword [ebp + 0x5196b084], ebp
sahf
mov al, byte [0xc642eb36]
mov edi, edi
mov dl, 0x15
mov esi, 0x2d54cb18
pop eax
cld
dec edx
pop ebx
loop 0x409693
jno 0x4096dc
fimul word [edi]
xor byte [ecx + 0x6920048d], al
scasd eax, dword es:[edi]
and cl, byte [eax + 0x7c69d6cb]
jo 0x4096de
xchg edx, eax
invalid
Function at 0x3f16fc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x3f16f4], 0
push esi
mov esi, dword [0x3f16f8]
mov dword [ebp - 8], esi
je 0x3f172d
jmp 0x3f171e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x3f1730
pop esi
leave
ret
mov eax, dword [ebp - 0x28]
dec eax
push eax
push esi
call fcn.003f174f
jmp 0x3f1740
lea eax, [ebp - 4]
push eax
push esi
call fcn.003f1777
jmp 0x3f1764
mov ecx, dword [ebp - 4]
add esp, 0x10
test ecx, ecx
jbe 0x3f17ba
jmp 0x3f17a7
push ebx
push edi
lea edi, [eax + 0xc]
lea esi, [eax + 8]
lea ebx, [eax + 0x24]
mov dword [ebp - 4], ecx
jmp 0x3f1833
and dword [0x3f16f4], 0
jmp 0x3f172d
mov eax, dword [edi]
push dword [esi]
add eax, dword [ebp - 8]
push eax
call fcn.003f174f
jmp 0x3f1825
add esi, 0x28
add ebx, 0x28
add edi, 0x28
dec dword [ebp - 4]
jne 0x3f1833
jmp 0x3f182c
pop ecx
pop ecx
jmp 0x3f17f8
pop edi
pop ebx
jmp 0x3f17ba
test byte [ebx + 3], 0x10
jne 0x3f17f8
jmp 0x3f17e6

Function at 0x3f174f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 0
jne 0x3f1793
jmp 0x3f178f
xor eax, eax
leave
ret
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x3f17d9
test eax, eax
je 0x3f178f
jmp 0x3f180f
mov eax, dword [ebp - 8]
and eax, 0xffffff80
test al, al
mov dword [ebp - 8], eax
jns 0x3f1847
jmp 0x3f1842
xor eax, eax
inc eax
leave
ret
lea ecx, [ebp - 8]
push ecx
or eax, 0x40
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x3f1860
neg eax
sbb eax, eax
neg eax
leave
ret

Function at 0x4107ea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Packed with generic packer

Disassembly:
pushal
pushfd
cld
mov eax, 1
mov ecx, 0xffff
loopne 0x4107f7
dec eax
cmp eax, 0
jne 0x4107f2
push 0x449cb6
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x449cc3
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push eax
mov ecx, esp
push ecx
push 0x40
push 0x5b
push entry0
call eax
mov ecx, esp
push ecx
push 0x40
push 0x19
push 0x449c9d
mov eax, ebx
call eax
add esp, 4
jmp 0x449c9d
Function at 0xb820e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x9fd015
lea edi, [esi - 0x5fc015]
push edi
jmp 0xb820fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb82101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb820f0
mov eax, 1
add ebx, ebx
jne 0xb82113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb82124
jne 0xb82143
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb82143
dec eax
add ebx, ebx
jne 0xb82130
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb82108
add ebx, ebx
jne 0xb8213f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb82195
xor ecx, ecx
sub eax, 3
jb 0xb8215b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb821ca
sar eax, 1
mov ebp, eax
jmp 0xb82166
add ebx, ebx
jne 0xb82166
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb82134
inc ecx
add ebx, ebx
jne 0xb82174
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb82134
add ebx, ebx
jne 0xb82181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb82176
jne 0xb82192
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb82176
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb821b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb821a6
jmp 0xb820f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb821b4
add edi, ecx
jmp 0xb820f6
pop esi
mov edi, esi
mov ecx, 0xc24c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb821d2
cmp byte [edi], 0x25
jne 0xb821d2
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 0xb821d7
lea edi, [esi + 0x77f000]
mov eax, dword [edi]
or eax, eax
je 0xb82246
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x783ae4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x783b64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb82204
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x783b6c]
or eax, eax
je 0xb82240
mov dword [ebx], eax
add ebx, 4
jmp 0xb82221
call dword [esi + 0x783b68]
mov ebp, dword [esi + 0x783b70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0xb8227a
sub esp, 0xffffff80
jmp 0x6193a6
Function at 0x40ce0b
Capabilities:
Parse pe header

Disassembly:
add esp, dword [ebx + eax + 0x65]
add esp, dword [esi + 3]
add ebp, dword [bx + si + 3]
imul eax, dword [ebx], 0x36b036a
insb byte es:[edi], dx
add ebp, dword [ebp + 3]
outsb dx, byte [esi]
add ebp, dword [edi + 3]
jo 0x40ce29
jno 0x40ce2b
jb 0x40ce2d
add esi, dword [ebx + 3]
jae 0x40ce2f
add esi, dword [ebx + eax + 0x75]
je 0x40ce31
add esi, dword [ebp + 3]
jne 0x40ce33
add esi, dword [esi + 3]
jbe 0x40ce35
add esi, dword [edi + 3]
ja 0x40ce37
add edi, dword [eax + 3]
js 0x40ce39
add edi, dword [ecx + 3]
jns 0x40ce3b
add edi, dword [edx + 3]
jp 0x40ce3d
add edi, dword [ebx + 3]
jnp 0x40ce3f
add edi, dword [ebx + eax + 0x7d]
jl 0x40ce41
add edi, dword [ebp + 3]
jge 0x40ce43
add edi, dword [esi + 3]
jle 0x40ce45
add edi, dword [edi + 3]
jg 0x40ce47
add eax, dword [eax - 0x7dfc7efd]
add eax, dword [ebx - 0x7afc7bfd]
add eax, dword [esi - 0x77fc78fd]
add ecx, dword [ecx - 0x74fc75fd]
add ecx, dword [ebx + eax + 0x38e038d]
add byte [ebx], 0x81
add eax, dword [ecx - 0x7cfc7dfd]
add eax, dword [ebx + eax + 0x3860385]
xchg dword [ebx], eax
mov byte [ebx], al
mov dword [ebx], eax
mov al, byte [ebx]
mov eax, dword [ebx]
mov word [ebx], es
lea eax, [ebx]
mov es, word [ebx]
add eax, dword [edx - 0x7bfc7cfd]
add eax, dword [ebp - 0x78fc79fd]
add ecx, dword [eax - 0x75fc76fd]
add ecx, dword [ebx - 0x72fc73fd]
add ecx, dword [esi - 0x6ffc70fd]
pop dword [ebx]
nop
add edx, dword [ecx - 0x6cfc6dfd]
add edx, dword [ebx + eax + 0x3960395]
xchg edi, eax
add ebx, dword [eax - 0x65fc66fd]
add ebx, dword [ebx - 0x62fc63fd]
add ebx, dword [esi - 0x5ffc60fd]
add esp, dword [ecx - 0x5cfc5dfd]
add esp, dword [ebx + eax + 0x3a603a5]
cmpsd dword [esi], dword es:[edi]
add ebp, dword [eax - 0x55fc56fd]
add ebp, dword [ebx - 0x52fc53fd]
add ebp, dword [esi - 0x4ffc50fd]
add esi, dword [ecx - 0x4cfc4dfd]
add esi, dword [ebx + eax + 0x3b603b5]
mov bh, 3
mov eax, 0xba03b903
add edi, dword [ebx - 0x42fc43fd]
add edi, dword [esi - 0x3ffc40fd]
add eax, ecx
add eax, edx
add eax, ebx
add eax, esp
add eax, ebp
add eax, esi
add eax, edi
add ecx, eax
add ecx, ecx
add ecx, edx
add ecx, ebx
add ecx, esp
add ecx, ebp
add ecx, esi
add ecx, edi
add edx, eax
add edx, ecx
add edx, edx
add edx, ebx
add edx, esp
add edx, ebp
add edx, esi
add edx, edi
add ebx, eax
add ebx, ecx
add ebx, edx
add ebx, ebx
add ebx, esp
add ebx, ebp
add ebx, esi
add ebx, edi
add esp, eax
add esp, ecx
add esp, edx
add esp, ebx
add esp, esp
add esp, ebp
add esp, esi
Function at 0x411b0c
Capabilities:
Get number of processors

Disassembly:
cmp byte [ecx], bh
xor dword [0x38323966], ebp
bound esi, qword [esp]
xor dword [esi + 0x61616532], esi
bound esp, qword [edx + 0x2e]
push 0x73
jp 0x411b27
aaa
xor bh, byte [ecx]

Function at 0x411b2a
Capabilities:
Get number of processors

Disassembly:
xor al, 0x33
sub eax, 0x35383964
xor eax, 0x38313635
cmp dword [ecx + 0x63], esp
xor eax, 0x63323565
push 0x73
jp 0x411b44
jp 0x411b44
aaa
xor bh, byte [ecx]
aaa
cmp byte [eax], bh
sub eax, 0x39316437
arpl word [edx + 0x64], sp
cmp byte [ecx], dh
popal
bound esi, qword [ebx]
xor eax, 0x6a2e3733
jae 0x411b8d
jp 0x411b62
aaa
xor esi, dword [eax]
xor dh, byte [edx]
xor bh, byte [ecx]
sub eax, 0x32316564
invalid
aaa
xor dword fs:[eax], esi
xor esp, dword [ebx + 0x33]
arpl word fs:[ebx], si
xor byte [esi], dh
popal
xor byte [0x62633434], dh
xor bh, byte fs:[eax]
invalid

Function at 0x411b30
Capabilities:
Get number of processors

Disassembly:
xor eax, 0x38313635
cmp dword [ecx + 0x63], esp
xor eax, 0x63323565

Function at 0x411b78
Capabilities:
Get number of processors

Disassembly:
push 0x73
jp 0x411b80
jp 0x411b80
aaa
xor esi, dword [ecx]
aaa
cmp byte [edx], dh
sub eax, 0x37646365
cmp byte fs:[eax], dh
xor al, 0x65

Function at 0x411b90
Capabilities:
Get number of processors

Disassembly:
xor al, 0x33
sub eax, 0x35383964
xor eax, 0x38313635
cmp dword [ecx + 0x63], esp
xor eax, 0x63323565
push 0x73
jp 0x411b44
jp 0x411b44
aaa
xor bh, byte [ecx]
aaa
cmp byte [eax], bh
sub eax, 0x39316437
arpl word [edx + 0x64], sp
cmp byte [ecx], dh
popal
bound esi, qword [ebx]
xor eax, 0x6a2e3733
jae 0x411b8d
jp 0x411b62
aaa
xor esi, dword [eax]
xor dh, byte [edx]
xor bh, byte [ecx]
sub eax, 0x32316564
invalid
aaa
xor dword fs:[eax], esi
xor esp, dword [ebx + 0x33]
arpl word fs:[ebx], si
xor byte [esi], dh
popal
xor byte [0x62633434], dh
xor bh, byte fs:[eax]
invalid

Function at 0x411b96
Capabilities:
Get number of processors

Disassembly:
xor al, 0x33
sub eax, 0x35383964
xor eax, 0x38313635
cmp dword [ecx + 0x63], esp
xor eax, 0x63323565
push 0x73
jp 0x411b44
jp 0x411b44
aaa
xor bh, byte [ecx]
aaa
cmp byte [eax], bh
sub eax, 0x39316437
arpl word [edx + 0x64], sp
cmp byte [ecx], dh
popal
bound esi, qword [ebx]
xor eax, 0x6a2e3733
jae 0x411b8d
jp 0x411b62
aaa
xor esi, dword [eax]
xor dh, byte [edx]
xor bh, byte [ecx]
sub eax, 0x32316564
invalid
aaa
xor dword fs:[eax], esi
xor esp, dword [ebx + 0x33]
arpl word fs:[ebx], si
xor byte [esi], dh
popal
xor byte [0x62633434], dh
xor bh, byte fs:[eax]
invalid

Function at 0x401996
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40c010]
test eax, eax
je 0x4019d5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4019d5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4019d5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4019d5
cmp dword [ecx + 0x74], 0xe
jbe 0x4019d5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40bfee
Capabilities:
Encode data using xor

Disassembly:
inc esp
or byte [eax + 0x78], ch
mov ebp, eax
mov dword [esi - 0x5c], esi
out dx, eax
fdivr dword [eax + 0x6a]
outsb dx, byte [esi]
pop esi
aam 0x4d
or al, 0x36
popfd
inc edi
xchg byte [esi + 0x31a76298], bl
inc esp
dec ebx
pop ebx
wait
mov al, byte [0x36da1664]
out 0x88, al
push cs
mov edi, 0xa2b44661
cmpsd dword [esi], dword es:[edi]
imul edi, dword [eax + 0x59], 0x9462e2d1
cmc
cwde
jae 0x40c051
mov byte [0x597869a7], al
shl edx, 1
bound edx, qword [ebp + esi*8 + 0x4e297398]
dec esi
push ebx
xor dword [0x499d1e1e], ebp
pop ecx
mov dword [0xab0ad3c6], eax
insd dword es:[edi], dx
cmp ch, byte [esi - 0x40]
mov bh, ah
xchg ebp, eax
dec esp
inc ebx
jp 0x40c01b
int 0x25
xor dword [ecx], edx
mov bl, bh
sub dword [ebp - 0x5b], ebp
mov edi, 0x4a44803b
push edi
loop 0x40c041
dec ebp
mov cl, 0x26
mov ah, 0xdd
cwde
dec eax
mov dl, 0xd
pop esp
sar dword [eax + 0x47], cl
push 0xfffffffffffffffd
xor ebp, dword [esi + esi*2]
invalid
Function at 0x404948
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00407460
test esi, esi
jne 0x404980
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040759c
jmp 0x40499e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040482c
mov edi, eax
test esi, esi
je 0x40499e
cmp dword [ebx], 0
je 0x40499e
dec esi
jmp 0x404987
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x406730
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x70c050], 0
je 0x406791
cmp word [0x70c32c], 0xd7b2
jne 0x406759
cmp dword [0x70c334], 0
jbe 0x406759
mov eax, 0x70c328
call dword [0x70c344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x4067bc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x6ef030], 0
jne 0x4067ad
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40693c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x6ef038], 0
je 0x406962
mov edx, esi
mov eax, ebx
call dword [0x6ef038]
jmp 0x406971
mov eax, 8
call fcn.004044cc
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x70c051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x406904
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x407f5c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x407f9e
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x407fbe
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00407660
add esp, 0x41c
pop esi
pop ebx
ret
Function at 0x409540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4096a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407460
cmp si, word [0x6ef7e0]
jb 0x4095da
cmp si, word [0x6ef9e0]
ja 0x4095da
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4095da
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x6ef7e0]
jae 0x4095b4
mov edi, ebx
dec edi
jmp 0x4095d5
cmp si, word [ebx*8 + 0x6ef7e0]
jbe 0x4095c4
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4095d5
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x6ef7e4]
call fcn.00409450
jmp 0x4095da
cmp edi, dword [ebp - 0xc]
jae 0x40959e
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x409689
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x409689
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407660
push dword [ebp - 0x164]
push 0x4096c4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00407660
push dword [ebp - 0x168]
push 0x4096d4
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00407660
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00407a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4096ae
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00407458
ret