joyce8/EMBER2024-capa huggingface dataset:
Function at 0x11f7c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x11f7c2b
mov ebx, dword [esp + 0x18]
cmp eax, 1
jne 0x11f7c33
mov word [ebx], 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ecx, word [ebx + 4]
add word [ebx], cx
cmp eax, 3
jl 0x11f7ccb
mov edx, 2
mov ecx, 2
sub ecx, eax
mov dword [esp], ecx
xor edi, edi
mov ebx, 1
jmp 0x11f7c79
movzx ebp, word [esi + edi*4]
add word [esi + ebx*4], bp
mov word [esi + edi*4], bx
inc edi
mov ecx, dword [esp]
add ecx, ebx
inc ecx
inc ebx
cmp ecx, 1
je 0x11f7cda
mov esi, dword [esp + 0x18]
movzx ecx, word [esi + edi*4]
cmp edx, eax
jge 0x11f7c8e
movzx ebp, word [esi + edx*4]
cmp cx, bp
jae 0x11f7ca0
mov word [esi + ebx*4], cx
mov word [esi + edi*4], bx
inc edi
cmp edx, eax
jge 0x11f7c60
jmp 0x11f7ca9
inc edx
mov word [esi + ebx*4], bp
cmp edx, eax
jge 0x11f7c60
cmp edi, ebx
jge 0x11f7cc0
movzx ebp, word [esi + edi*4]
movzx ecx, word [esi + edx*4]
cmp bp, cx
jb 0x11f7c64
jmp 0x11f7cc4
movzx ecx, word [esi + edx*4]
inc edx
add word [esi + ebx*4], cx
jmp 0x11f7c6d
lea edx, [eax - 2]
mov word [ebx + eax*4 - 8], 0
jmp 0x11f7d62
lea edx, [eax - 2]
mov ebx, dword [esp + 0x18]
mov word [ebx + eax*4 - 8], 0
cmp eax, 3
jl 0x11f7d62
lea edi, [eax - 3]
mov ebp, ebx
mov ebx, eax
and ebx, 3
xor ebx, 2
mov esi, edi
je 0x11f7d14
mov esi, edi
movzx ecx, word [ebp + esi*4]
movzx ecx, word [ebp + ecx*4]
inc ecx
mov word [ebp + esi*4], cx
dec esi
dec ebx
jne 0x11f7d00
mov ebx, dword [esp + 0x18]
cmp edi, 3
jb 0x11f7d62
nop
nop
nop
movzx ecx, word [ebx + esi*4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4], cx
movzx ecx, word [ebx + esi*4 - 4]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 4], cx
movzx ecx, word [ebx + esi*4 - 8]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 8], cx
movzx ecx, word [ebx + esi*4 - 0xc]
movzx ecx, word [ebx + ecx*4]
inc ecx
mov word [ebx + esi*4 - 0xc], cx
add esi, 0xfffffffc
cmp esi, 0xffffffff
jne 0x11f7d20
dec eax
mov ecx, 1
xor esi, esi
jmp 0x11f7d7c
lea ecx, [edi + edi]
inc esi
test edi, edi
je 0x11f7c2b
test edx, edx
mov dword [esp], ecx
js 0x11f7db0
lea edi, [edx + 1]
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [ebx + edx*4]
cmp esi, ecx
jne 0x11f7dc0
inc ebp
dec edx
cmp edi, ebp
jne 0x11f7d90
mov edx, 0xffffffff
jmp 0x11f7dc2
xor edi, edi
jmp 0x11f7dc5
mov edi, ebp
mov ecx, dword [esp]
mov ebp, ecx
sub ebp, edi
jle 0x11f7d70
and ebp, 3
je 0x11f7df8
lea ecx, [ebx + eax*4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], si
inc ebx
add ecx, 0xfffffffc
cmp ebp, ebx
jne 0x11f7de0
mov ebp, dword [esp]
sub ebp, ebx
sub eax, ebx
mov ebx, dword [esp + 0x18]
jmp 0x11f7dfa
mov ebp, ecx
mov ecx, edi
sub ecx, dword [esp]
cmp ecx, 0xfffffffc
ja 0x11f7d70
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx + eax*4], si
mov word [ebx + eax*4 - 4], si
mov word [ebx + eax*4 - 8], si
mov word [ebx + eax*4 - 0xc], si
add eax, 0xfffffffc
add ebp, 0xfffffffc
cmp ebp, edi
jg 0x11f7e10
jmp 0x11f7d70
Function at 0x11f8610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x1235bd8]
cmp eax, 0x270
jne 0x11f866f
mov eax, 0xfffff640
mov edx, dword [0x1235bdc]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x12365a0]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x1236bd0]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x1236f5c], esi
add eax, 4
jne 0x11f8630
mov eax, 0x270
jmp 0x11f8685
cmp eax, 0x4e0
jb 0x11f8685
mov ecx, 0x1235bd8
call fcn.011f8910
mov eax, dword [0x1235bd8]
lea ecx, [eax + 1]
mov dword [0x1235bd8], ecx
mov eax, dword [eax*4 + 0x1235bdc]
mov edx, eax
shr edx, 0xb
and edx, dword [0x1236f5c]
xor edx, eax
mov ecx, edx
shl ecx, 7
and ecx, 0x9d2c5680
xor ecx, edx
mov edx, ecx
shl edx, 0xf
and edx, 0xefc40000
xor edx, ecx
shr edx, 0x12
lea eax, [edx + ecx]
and edx, ecx
add edx, edx
sub eax, edx
and eax, 0x7fff
pop esi
ret

Function at 0x11f8910
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
and edi, 0x80000000
mov edx, dword [ecx + eax*4 - 0x630]
mov ebx, edx
and ebx, 0x7ffffffe
or ebx, edi
shr ebx, 1
mov esi, edx
and esi, 1
neg esi
and esi, 0x9908b0df
mov edi, ebx
and edi, esi
add esi, ebx
add edi, edi
sub esi, edi
xor esi, dword [ecx + eax*4]
mov edi, edx
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
jne 0x11f8920
mov esi, dword [ecx + 0xd50]
mov eax, 0xe4
mov edx, 0x1c6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ebx, [eax - 1]
mov edi, dword [ecx + eax*4 + 0x9c4]
xor ebx, 0x270
mov ebp, edx
and ebp, 0x31e
sub ebp, ebx
mov ebx, ebp
and ebx, 0x18d
xor ebp, 0x18d
lea ebx, [ebx*2]
add ebx, ebp
mov ebp, edi
and ebp, 1
neg ebp
and ebp, 0x9908b0df
xor ebp, dword [ecx + ebx*4 + 4]
mov ebx, edi
and esi, 0x80000000
and ebx, 0x7ffffffe
or ebx, esi
shr ebx, 1
xor ebp, ebx
mov dword [ecx + eax*4], ebp
mov esi, edi
inc eax
add edx, 2
cmp eax, 0x270
jne 0x11f8980
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x11f9950
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c4
push eax
sub esp, 0x7c
mov dword [ebp - 0x40], esp
sub esp, 0x100
mov eax, esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
push eax
mov ebx, esp
push eax
mov dword [ebp - 0x2c], esp
sub esp, 0x6c
mov dword [ebp - 0x14], esp
sub esp, 0x24
mov dword [ebp - 0x38], esp
sub esp, 8
mov dword [ebp - 0x3c], esp
sub esp, 0x40
mov dword [ebp - 0x28], esp
sub esp, 0x80
mov dword [ebp - 0x34], esp
mov esi, dword [0x1236fb8]
mov dword [ebp - 0x1c], 0x244c2c4b
xor edx, edx
mov al, 1
nop
nop
nop
nop
nop
nop
movzx edi, word [ebp + edx*2 - 0x1c]
lea ecx, [edx + 0xa2f3733]
and ecx, 0xa083317
add ecx, 0xfb7f7fc0
xor ecx, edi
add ecx, 0xd3c26967
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
mov word [ebp + edx*2 - 0x1c], cx
mov edx, 1
xor ecx, ecx
test al, 1
mov eax, 0
jne 0x11f99b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1d0], 0x77527757
mov dword [ebp - 0x1cc], 0x777c7710
mov dword [ebp - 0x1c8], 0x77177717
mov dword [ebp - 0x1c4], 0x77437708
mov dword [ebp - 0x1c0], 0x77457744
mov word [ebp - 0x1bc], 0x772a
nop
nop
nop
lea edx, [ecx + 0x4620]
xor dx, word [ebp + ecx*2 - 0x1d0]
add edx, 0xffffcf00
mov word [ebp + ecx*2 - 0x1d0], dx
inc ecx
cmp ecx, 0xb
jne 0x11f9a30
lea edi, [ebp - 0x1d0]
push eax
push 0
push edi
call esi
mov ecx, 0x1236fbc
push eax
call 0x1229230
movzx eax, al
mov eax, dword [eax*4 + 0x1231310]
mov ecx, 0xd6b78ddf
xor ecx, dword [0x1231318]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx
Function at 0x120a020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x18], 0x18e31827
mov dword [esp + 0x1c], 0x18e418f9
mov dword [esp + 0x20], 0x180d18e2
mov eax, 0x4a48
mov ecx, 0xab1cb5b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + eax*2 - 0x9478]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
lea esi, [edx + edx]
not esi
add esi, edx
add esi, 0x58e5adbf
mov edi, esi
and edi, 1
and esi, 0xfffe
and edx, 1
or edx, esi
xor edx, 1
lea edx, [edx + edi*2]
mov word [esp + eax*2 - 0x9478], dx
inc eax
dec ecx
cmp eax, 0x4a4e
jne 0x120a060
mov dword [esp + 0x30], 0xf8cdf8d0
mov dword [esp + 0x34], 0xf8cbf8ce
mov dword [esp + 0x38], 0xf712f706
mov dword [esp + 0x3c], 0xf8d3f711
mov dword [esp + 0x40], 0xf922f92f
mov dword [esp + 0x44], 0xf92ff923
mov dword [esp + 0x48], 0xf92af92c
mov dword [esp + 0x4c], 0xf933f935
mov dword [esp + 0x50], 0xf6c9f6f2
xor eax, eax
nop
nop
lea ecx, [eax + 0x70f8]
xor cx, word [esp + eax*2 + 0x30]
add ecx, 0x7840
mov word [esp + eax*2 + 0x30], cx
inc eax
cmp eax, 0x12
jne 0x120a0f0
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x15c]
test cx, cx
je 0x120a143
lea edx, [esp + 0x32]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x120a130
jmp 0x120a146
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x120a171
lea edx, [esi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x120a160
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x120a1a1
lea edx, [esp + 0x1a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x120a190
mov word [eax], 0
mov edi, dword [ebx]
mov dword [esp + 0x30], 0x5cd0520
mov word [esp + 0x34], 0x7e2c
mov eax, 0xf1fa
mov ecx, 0xe05
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [esp + eax*2 - 0x1e3c4]
mov esi, edx
not esi
or esi, ecx
or edx, eax
and edx, esi
add edx, 0x7030
mov word [esp + eax*2 - 0x1e3c4], dx
inc eax
dec ecx
cmp eax, 0xf1fd
jne 0x120a1d0
movzx eax, byte [esp + 0x30]
test al, al
je 0x120a21b
lea ecx, [esp + 0x31]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x120a210
mov dword [esp + 0x10], edi
mov byte [edi], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x2c]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.011fad10
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x1232580]
mov ecx, 0xf7d41967
xor ecx, dword [0x1232588]
add eax, ecx
inc eax
jmp eax
Function at 0x1500b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov dword [esp], 0xeeffee2e
xor eax, eax
mov cl, 1
movzx edi, word [esp + eax*2]
mov edx, eax
or edx, 0x596e3a8e
lea ebx, [edi + edi]
not ebx
add ebx, edi
mov ebp, eax
xor ebp, 1
mov esi, 0xc571
sub esi, eax
or esi, ebp
and esi, edi
not edi
or edi, ebx
and edi, edx
or esi, edi
mov ebx, esi
not ebx
lea edi, [esi + ebx*2]
mov edx, 0xfffffffe
sub edx, edi
mov ebp, edx
xor ebp, 0xd470
mov edi, edx
or edi, 0x2b8f
and edi, ebp
lea esi, [esi + ebx*2]
inc esi
mov ebx, esi
not ebx
and esi, 0xc315
and edx, 0x3cea
or edx, esi
xor edx, 0xe89a
and ebx, 0x2b8f
or ebx, edx
lea edx, [ebx + edi]
inc edx
mov word [esp + eax*2], dx
mov eax, 1
test cl, 1
mov ecx, 0
jne 0x1500b40
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1500f90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x3c]
movzx ecx, word [eax]
mov dword [esp + 4], 0x1d827b5c
xor edx, edx
mov bl, 1
nop
nop
nop
nop
nop
nop
movzx esi, word [esp + edx*2 + 4]
lea eax, [edx + edx*2]
mov edi, eax
xor edi, 0xac7e03c9
lea ebp, [esi + esi]
not ebp
add ebp, esi
and ebp, edi
xor eax, 0xfc36
and eax, esi
or eax, ebp
mov esi, eax
not esi
lea eax, [eax + esi*2]
mov esi, 0xffffe1b6
sub esi, eax
mov word [esp + edx*2 + 4], si
mov edx, 1
xor eax, eax
test bl, 1
mov ebx, 0
jne 0x1500fb0
xor edx, edx
cmp dword [esp + 4], ecx
setne dl
jmp dword [edx*4 + 0x1235b48]

Function at 0x15019c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x785d785e
xor esi, esi
mov dl, 1
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + esi*2]
mov ebx, 0x6366
sub ebx, esi
mov eax, esi
add eax, 0x5d6e9c99
xor ebx, eax
and ebx, ecx
xor ebx, eax
mov eax, ebx
mov ecx, ebx
xor ecx, 0x148b1b37
add ecx, ebx
and ebx, 0x140a1b37
and eax, 0x4964e4c8
sub ecx, eax
mov eax, ecx
and eax, ebx
xor ecx, ebx
lea eax, [ecx + eax*2]
inc eax
mov word [esp + esi*2], ax
mov esi, 1
test dl, 1
mov edx, 0
jne 0x15019e0
mov eax, dword [esp]
mov edx, dword [0x12382e0]
test edx, edx
je 0x1501a88
xor ebx, ebx
mov ecx, dword [0x12382e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x1501a60
inc ebx
cmp edx, ebx
jne 0x1501a50
jmp 0x1501a88
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x1501a88
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x12382e8]
call fcn.014ff2c0
add esp, 0x20
test edi, edi
je 0x1501a92
mov ecx, dword [esp + 8]
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1501aa1
cmp byte [esp + 0x15], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1501e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x1501e40
sar ebx, 1
mov ebp, ebx
and ebp, 0xfffd
mov ecx, ebx
and ecx, 2
or ebx, 2
imul ebx, ecx
xor ecx, 2
imul ecx, ebp
lea ebp, [ecx + ebx]
mov word [esp + 4], bp
add ecx, ebx
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0x785d785e
xor eax, eax
mov bl, 1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, word [esp + eax*2]
mov edi, 0x6366
sub edi, eax
mov ebp, eax
add ebp, 0x5d6e9c99
xor edi, ebp
and edi, ecx
xor edi, ebp
mov ecx, edi
mov ebp, edi
xor ebp, 0x148b1b37
add ebp, edi
and edi, 0x140a1b37
and ecx, 0x4964e4c8
sub ebp, ecx
mov ecx, ebp
and ecx, edi
xor ebp, edi
lea ecx, [ecx*2 + 1]
add ecx, ebp
mov word [esp + eax*2], cx
mov eax, 1
test bl, 1
mov ebx, 0
jne 0x1501ec0
mov eax, dword [esp]
mov edi, dword [0x12382e0]
test edi, edi
je 0x1501f65
xor ebx, ebx
mov ebp, dword [0x12382e4]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x1501f41
inc ebx
cmp edi, ebx
jne 0x1501f30
jmp 0x1501f65
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x1501f65
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 0x10
push edi
push dword [0x12382e8]
call fcn.014ff2c0
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x105d9a8c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10687b10]
jne 0x105d9a96
repz ret
jmp fcn.105d9d3d

Function at 0x105da090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.105da090]
mov ecx, dword [0x10687ae4]
sub ecx, 0xaa7
mov dword [0x10687ae4], ecx
mov dword [ebp - 8], eax
mov eax, dword [0x10687ae8]
add eax, 0x26d2
mov dword [0x10687ae4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x105da0e7
jmp 0x105da0fb
mov dword [ebp - 4], 0
jmp 0x105da122
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x105da122
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
cmp dword [ecx + eax], 0x4550
je 0x105da0df
jmp 0x105da0fb
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x10687ae4]
sub eax, 0x136a
mov dword [0x10687ae4], eax
mov al, 1
test al, 1
jne 0x105da0c0
jmp 0x105da0d6
mov eax, dword [ebp - 4]
add esp, 0xc
pop ebp
ret
Function at 0x105da370
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10687ae8]
sub eax, 0x940
mov dword [0x10687ae8], eax
mov dword [ebp - 8], 0
mov dword [0x10687ae4], 0x1950
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [0x10687ae4], 0x1e00
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
add eax, 0x38
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x10687ae8]
sub ecx, 0x491
mov dword [0x10687ae8], ecx
mov dword [ebp - 0x10], 0
jmp 0x105da483
mov dword [0x10687ae4], 0x1a97
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x105da4e2
jmp 0x105da545
jmp 0x105da47c
mov dword [0x10687ae8], 0x26ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x105da537
jmp 0x105da540
mov dword [ebp - 4], 0
jmp 0x105da54c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x105da50c
jmp 0x105da40a
jmp 0x105da48e
jmp 0x105da49b
mov dword [0x10687ae4], 0x1ab8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
cmp eax, 0
je 0x105da457
jmp 0x105da455
jmp 0x105da545
jmp 0x105da40a
cmp dword [ebp - 0x10], 0x104
jl 0x105da459
jmp 0x105da49b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x105da483
mov eax, dword [0x10687ae8]
sub eax, 0xeef
mov dword [0x10687ae4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x105da431
mov dword [0x10687ae4], 0x125d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x105da3e5
jmp 0x105da547
mov eax, dword [0x10687ae4]
sub eax, 0x1403
mov dword [0x10687ae8], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x105da43d
jmp 0x105da47c
mov dword [0x10687ae8], 0x2262
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x6c
je 0x105da40c
jmp 0x105da481
mov dword [ebp - 4], 1
jmp 0x105da54c
jmp 0x105da481
jmp 0x105da547
jmp 0x105da431
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret
Function at 0x105dab00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [0x10687ae8], 0xdfc
mov dword [0x10687aec], 0
mov dword [0x10687af0], 0
mov dword [0x10687afc], 0
mov dword [ebp - 0x20], 0
mov dword [0x10687ae8], 0x2542
mov dword [ebp - 0x24], 0
mov dword [0x10687ae4], 0x98b
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x10]
jae 0x105dacf5
mov eax, 0x100
mov dword [0x10687ae8], 0x189c
mov ecx, dword [0x10687aec]
add ecx, 1
mov dword [ebp - 0x28], eax
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x28]
idiv ecx
mov dword [0x10687aec], edx
mov dword [0x10687ae4], 0xe08
mov edx, dword [0x10687af0]
mov esi, dword [0x10687aec]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10687af0], edx
mov dword [0x10687ae8], 0xbbe
mov edx, dword [0x10687aec]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov byte [0x10687af4], bl
mov dword [0x10687ae4], 0xcff
mov edx, dword [0x10687af0]
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + edx]
mov edx, dword [0x10687aec]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov dword [0x10687ae4], 0x1da2
mov edx, dword [0x10687ae4]
add edx, 0x1b50
mov dword [0x10687ae8], edx
mov bl, byte [0x10687af4]
mov edx, dword [0x10687af0]
mov esi, dword [ebp - 0x1c]
mov byte [esi + edx], bl
mov edx, dword [0x10687ae8]
add edx, 0x1cfe
mov dword [0x10687ae4], edx
mov edx, dword [0x10687aec]
mov esi, dword [ebp - 0x1c]
movzx edx, byte [esi + edx]
mov esi, dword [0x10687af0]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
add edx, esi
mov dword [ebp - 0x20], edx
mov edx, dword [0x10687ae8]
add edx, 0x970
mov dword [0x10687ae4], edx
mov dword [0x10687ae4], 0x359
mov edx, dword [ebp - 0x20]
mov eax, edx
cdq
idiv ecx
mov dword [0x10687afc], edx
mov edx, dword [0x10687ae8]
sub edx, 0x28d
mov dword [0x10687ae4], edx
mov dword [0x10687ae8], 0xe9b
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
mov esi, dword [0x10687afc]
mov edi, dword [ebp - 0x1c]
movzx esi, byte [edi + esi]
xor edx, esi
mov bl, dl
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], bl
mov dword [0x10687ae4], 0xeba
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x105dab72
mov dword [0x10687ae8], 0x2467
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402bb8
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403010
Capabilities:
Query or enumerate registry value

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

Function at 0x403d6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x489048], 0
je 0x403dcd
cmp word [0x48921c], 0xd7b2
jne 0x403d95
cmp dword [0x489224], 0
jbe 0x403d95
mov eax, 0x489218
call dword [0x489234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x486070
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 0x403df4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x486034], 0
jne 0x403de9
push 0
push 0x486068
push 0x486070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret