joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019ee40
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x2b4
call fcn.101e1c60
mov eax, dword [0x1035eca0]
xor eax, esp
mov dword [esp + 0x2b0], eax
push ebx
mov ebx, dword [esp + 0x2c0]
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
mov esi, dword [esp + 0x2d4]
push edi
mov edi, dword [esp + 0x2c8]
lea eax, [esp + 0x88]
push eax
call fcn.10111af0
push 0x20
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.10112990
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x214]
push eax
call fcn.10112240
movzx ecx, byte [esp + 0x237]
and byte [esp + 0x218], 0xf8
and cl, 0x3f
lea edx, [esp + 0xa0]
or cl, 0x40
push edx
mov byte [esp + 0x23b], cl
call fcn.10111af0
push 0x20
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10112990
mov edx, dword [esp + 0x2f8]
push edx
lea eax, [esp + 0xb4]
push ebx
push eax
call fcn.10112990
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x278]
push edx
call fcn.10112240
lea esi, [esp + 0x27c]
call fcn.10198a60
lea eax, [esp + 0x19c]
push eax
mov ecx, esi
call fcn.101972c0
lea ecx, [esp + 0x50]
add esp, 0x40
push ecx
lea ecx, [esp + 0x1b4]
call fcn.101948a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x16c]
call fcn.101925e0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x19c]
call fcn.101925e0
push edi
lea ecx, [esp + 0x78]
call fcn.10192340
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.10192340
movzx ecx, byte [esp + 0x2c]
shl cl, 7
xor byte [edi + 0x1f], cl
lea edx, [esp + 0xa4]
push edx
call fcn.10111af0
push 0x20
lea eax, [esp + 0xac]
push edi
push eax
call fcn.10112990
push 0x20
lea ecx, [esp + 0xb8]
push ebp
push ecx
call fcn.10112990
mov edx, dword [esp + 0x308]
push edx
lea eax, [esp + 0xc4]
push ebx
push eax
call fcn.10112990
add esp, 0x44
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x284]
push edx
call fcn.10112240
lea esi, [esp + 0x288]
call fcn.10198a60
mov eax, esi
push eax
add edi, 0x20
push edi
lea edx, [esp + 0x250]
lea ecx, [esp + 0x210]
call fcn.1019ab20
lea ecx, [esp + 0x98]
push 0xd8
push ecx
call fcn.100efe10
lea edx, [esp + 0x258]
push 0x40
push edx
call fcn.100efe10
lea eax, [esp + 0x220]
push 0x40
push eax
call fcn.100efe10
mov ecx, dword [esp + 0x2e8]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.101e425c
add esp, 0x2b4
ret
Function at 0x1019f3e0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x15c
call fcn.101e1c60
mov eax, dword [0x1035eca0]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x164]
push esi
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0x11c]
push ecx
push 0x20
push eax
call fcn.10112ac0
mov dl, byte [esp + 0x147]
and byte [esp + 0x128], 0xf8
and dl, 0x3f
lea eax, [esp + 0x88]
or dl, 0x40
push eax
lea ecx, [esp + 0x12c]
mov byte [esp + 0x14b], dl
call fcn.101972c0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xe0]
call fcn.101948a0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x98]
call fcn.101925e0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xc8]
call fcn.101925e0
push esi
lea ecx, [esp + 0x7c]
call fcn.10192340
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.10192340
mov cl, byte [esp + 0x30]
lea edx, [esp + 0x148]
shl cl, 7
xor byte [esi + 0x1f], cl
push 0x40
push edx
call fcn.100efe10
mov ecx, dword [esp + 0x190]
add esp, 0x34
pop esi
xor ecx, esp
call fcn.101e425c
add esp, 0x15c
ret
Function at 0x1019f500
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x140
call fcn.101e1c60
mov eax, dword [0x1035eca0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
push edi
mov ecx, 8
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x148]
and byte [esp + 0x12c], 0xf8
shr ecx, 0x18
and cl, 0x3f
or cl, 0x40
lea edx, [esp + 0x3c]
mov byte [esp + 0x14b], cl
push edx
lea ecx, [esp + 0x130]
mov dword [esp + 0x14], eax
call fcn.101972c0
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
add ecx, eax
sub eax, dword [esp + 0x68]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x94]
add edx, ecx
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x98]
add esi, edx
mov dword [esp + 0xe8], esi
mov esi, dword [esp + 0x9c]
add edi, esi
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xec], edi
mov edi, dword [esp + 0xa0]
add ebx, edi
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0xa4]
add ebx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x70]
sub esi, dword [esp + 0x74]
sub edi, dword [esp + 0x78]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa4]
sub eax, dword [esp + 0x7c]
mov dword [esp + 0xf4], ebx
mov ebx, dword [esp + 0xa8]
add ebx, dword [esp + 0x80]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x80]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0xac]
add ebx, dword [esp + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0x84]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0xb0]
add ebx, dword [esp + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xb0]
sub eax, dword [esp + 0x88]
mov dword [esp + 0x100], ebx
mov ebx, dword [esp + 0xb4]
add ebp, ebx
sub ebx, dword [esp + 0x8c]
mov dword [esp + 0x128], eax
mov dword [esp + 0x104], ebp
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x12c], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10c]
call fcn.101948a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xe8]
push edx
mov ecx, edx
call fcn.101925e0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
call fcn.10192340
lea ecx, [esp + 0x140]
push 0x20
push ecx
call fcn.100efe10
mov ecx, dword [esp + 0x168]
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101e425c
add esp, 0x140
ret
Function at 0x101a95c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x101a95d9
mov esi, edi
mov edi, eax
jmp 0x101a95db
mov esi, eax
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call fcn.1010e870
add esp, 8
test eax, eax
jne 0x101a95f4
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x101a9615
jmp 0x101a9600
mov ecx, dword [edi]
mov edx, dword [esi]
mov ecx, dword [ecx + eax*4]
xor ecx, dword [edx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x101a9600
cmp eax, dword [esi + 4]
jge 0x101a9630
lea ebx, [ebx]
mov ecx, dword [esi]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esi + 4]
jl 0x101a9620
mov edx, dword [esi + 4]
push ebx
mov dword [ebx + 4], edx
call fcn.1010e300
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x101a9880
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, 4
call fcn.101e1c60
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor ebp, ebp
push ebx
mov dword [esp + 0x10], ebp
call fcn.1013db10
push ebx
call fcn.1013dba0
mov esi, eax
add esp, 8
test esi, esi
je 0x101a9a82
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
add eax, eax
push eax
push esi
call fcn.1010e870
add esp, 8
test eax, eax
je 0x101a9a81
mov ecx, dword [edi + 4]
dec ecx
js 0x101a9a57
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
shr edx, 1
and edx, 0x8000
mov ebp, eax
and ebp, 0x20000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x80000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x100000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x200000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x400000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x800000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x1000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x2000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x4000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x8000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x10000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x20000000
or edx, ebp
shr edx, 1
mov ebp, eax
and ebp, 0x40000000
or edx, ebp
shr edx, 1
and eax, reloc.WS2_32.dll_accept
or edx, eax
mov eax, dword [esi]
shr edx, 1
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [edi]
mov eax, dword [edx + ecx*4]
mov edx, eax
and edx, 0x8000
add edx, edx
mov ebp, eax
and ebp, 0x4000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x2000
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 0x1000
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x800
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x400
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x200
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x100
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x80
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x40
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x20
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 0x10
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 8
or edx, ebp
add edx, edx
mov ebp, eax
and ebp, 4
or edx, ebp
mov ebp, eax
add edx, edx
and ebp, 2
or edx, ebp
and eax, 1
add edx, edx
or edx, eax
dec ecx
mov eax, dword [esi]
mov dword [eax + ecx*8 + 8], edx
jns 0x101a98d6
mov ebp, dword [esp + 0x10]
mov ecx, dword [edi + 4]
add ecx, ecx
push esi
mov dword [esi + 4], ecx
call fcn.1010e300
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push edx
push esi
push eax
call fcn.101a9650
add esp, 0x10
test eax, eax
je 0x101a9a81
mov ebp, 1
pop edi
push ebx
call fcn.1013db60
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x101b83e0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x101b8427
mov edi, dword [esp + 0x10]
push edi
call fcn.10200c5b
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.101e350f
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x101b845b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x101b845b
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x101b8445
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x101b845b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.101b8520
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x101b848e
cmp edi, 0x5a
jle 0x101b848e
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x101b848e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x101b84bd
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x101b8503
cmp ebx, 1
jge 0x101b8503
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x101b8503
mov al, byte [esi + 0x1d]
test al, al
jne 0x101b8503
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x101b8503
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x101b8503
mov al, byte [esi + 0x1d]
test al, al
je 0x101b84e3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.101b8520
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x101b96f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
mov al, byte [ebp + 0x24]
test al, al
jne 0x101b9717
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push 1
push edx
call fcn.101e350f
add esp, 0x10
pop ebp
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.101e3983
mov ebx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
push esi
push eax
push 1
push ebx
call fcn.101e350f
mov esi, eax
add esp, 0x14
test esi, esi
jbe 0x101b974b
push esi
push ebx
push edi
mov ecx, ebp
call fcn.101b9910
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x101b9760
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10396f8c]
xor edx, edx
cmp eax, edx
jne 0x101b9786
xor eax, eax
mov byte [eax + 0x10396e8c], al
inc eax
cmp eax, 0x100
jl 0x101b976e
mov dword [0x10396f8c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10396e8c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x101b9817
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x101b97ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x101b97b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x101b9890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x101b98e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x101b98ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101c0280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10210ede
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.101c0ba0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1030ee3c
call fcn.10200c5b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x101c0313
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10200c5b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x101c030c
push 0
mov ecx, eax
call fcn.101b73a0
mov dword [esi + 0xc], eax
jmp 0x101c0315
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x101c0315
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x101d079a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x101d08bb
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x101d089f
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x101d07f1
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x101d07cf
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x101d1303
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x101d135a
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x101d135a
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x101d135a
xor eax, eax
inc eax
jmp 0x101d135c
xor eax, eax
leave
ret 0x10
Function at 0x101d1385
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x101d13f3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10312c6c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101d13ea
cmp dword [ebp - 0xc], 4
jne 0x101d13ea
cmp dword [ebp - 0x10], edi
je 0x101d13ea
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x10355970], edi
xor eax, eax
jmp 0x101d1432
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10355970], edi
jge 0x101d142d
lea eax, [ebp - 0x34]
push eax
mov dword [0x10355970], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x101d142d
cmp word [ebp - 0x14], 5
jb 0x101d142d
call fcn.101d1360
test eax, eax
je 0x101d142d
emms
mov dword [0x10355970], 1
mov eax, dword [0x10355970]
pop edi
leave
ret

Function at 0x101e425c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1035eca0]
jne 0x101e4266
repz ret
jmp fcn.101f4e30
Function at 0x101fb391
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1035eca0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.101e9414
and dword [ebp - 0x14], 0
cmp dword [0x103abf80], 0
mov dword [ebp - 0x18], eax
jne 0x101fb444
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x101fb4ec
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x103278bc
push ebx
call edi
test eax, eax
je 0x101fb4ec
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x103278ac
push ebx
mov dword [0x103abf80], eax
call edi
push eax
call esi
push 0x10327898
push ebx
mov dword [0x103abf84], eax
call edi
push eax
call esi
push 0x1032787c
push ebx
mov dword [0x103abf88], eax
call edi
push eax
call esi
mov dword [0x103abf90], eax
test eax, eax
je 0x101fb444
push 0x10327864
push ebx
call edi
push eax
call esi
mov dword [0x103abf8c], eax
mov eax, dword [0x103abf8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x101fb49d
cmp dword [0x103abf90], ecx
je 0x101fb49d
push eax
call esi
push dword [0x103abf90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x101fb49d
test ebx, ebx
je 0x101fb49d
call edi
test eax, eax
je 0x101fb494
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x101fb494
test byte [ebp - 8], 1
jne 0x101fb49d
or dword [ebp + 0x10], 0x200000
jmp 0x101fb4d0
mov eax, dword [0x103abf84]
cmp eax, dword [ebp - 0x18]
je 0x101fb4d0
push eax
call esi
test eax, eax
je 0x101fb4d0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x101fb4d0
mov eax, dword [0x103abf88]
cmp eax, dword [ebp - 0x18]
je 0x101fb4d0
push eax
call esi
test eax, eax
je 0x101fb4d0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x103abf80]
call esi
test eax, eax
je 0x101fb4ec
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x101fb4ee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e425c
leave
ret

Function at 0x102032d0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10203308
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10201375
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1020134d
jmp 0x10203314
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x10204ac7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10204b09
call fcn.1020af15
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10204b09
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10204b00
xor eax, eax
jmp 0x10204b11
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10204b17
pop edi
pop esi
pop ebx
ret 4

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