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

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid

Function at 0x77ba1cc6
Capabilities:
Encode data using xor

Disassembly:
add dword [eax], eax
add byte [eax], al
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 8]
test ax, ax
je 0x77ba1c51
cmp dword [ebx*4 + 0x77ba45a0], 0
jne 0x77ba1c60
push 0x1c
push 0x40
call dword [0x77ba1030]
xor ecx, ecx
cmp eax, ecx
je 0x77ba1c66
cmp esi, ecx
mov word [ebp + 0x7f0cc67f], sp
xchg ebp, eax
sbb ah, dh
ljmp 0xb87c
jle 0x77ba1bd3
leave
rcl byte [ebx]
xchg ecx, eax
sub edx, dword [ebx]
mov dl, 0x46
fsubr dword [0x28d51b6a]
sar dword [eax + ecx*4 + 0x3c3c66f6], cl
mul byte [esi + 0x3c]
cmp al, 0x2b
cmp al, 0x40
cmp al, 0x3c
sub edi, dword [eax + eax*2]
mov bh, 0xa5
dec esi
test bl, dl
loope 0x77ba1c41
mov edx, 0x435a482c
inc ebx
mov byte [0xbeb43c94], al
mov ah, 0xb3
shl dword [ecx], cl
pop ss
pop ecx
ficomp word [esi + 0x3c]
cmp al, 0xdc
cld
xchg edx, eax
sub byte [ebp + 0x75], ch
mov esp, 0x9c4ae102
shr dword [esi + 0x2339a848], cl
push ds
outsb dx, byte [esi]
jae 0x77ba1c56
mov word [ebx], ss
test dword [edx], ebp
cmp al, 0x3c
cmp al, 0x3c
js 0x77ba1cd7
mov bh, 0xd7
jl 0x77ba1c77
enter 0xffffffffffffaf3f, 0xffffffffffffffd5
adc dword [esi + 0x280448b2], esp
xchg ebx, eax
jge 0x77ba1cca
dec ecx
les eax, [ecx + 0x37]
inc eax
xchg edi, eax
xrelease xchg dword [eax + ecx*2], edi
ror dword [edx - 0x3b], cl
cmp eax, 0xd63c3c3c
int 0xf0
fcmovnbe st(0), st(3)
retf 0xda37
lcall 0xccd0, 0xad83ca03
lodsd eax, dword [esi]
ror ah, 1
je 0x77ba1c54
and edi, dword [ebx - 0x6f2edf89]
nop
scasd eax, dword es:[edi]
stosd dword es:[edi], eax
add al, 0x33
cmp al, 0x3c
insb byte es:[edi], dx
xchg edx, eax
mov dword [edi - 0xd], 0xcdd8d42b
out 0xa9, eax
push esi
popfd
pushfd
cwde
or ch, byte [eax - 0x5eff1730]
push edx
xchg ebp, eax
adc al, 0x3c
cmp al, 0x3c
mov esp, 0xbe329166
test eax, 0x5cd286cf
add bh, byte [eax]
or al, byte [eax]
aaa
mov dh, 0x6b
invalid

Function at 0x77ba33bd
Capabilities:
Encode data using xor

Disassembly:
dec eax
mov word [esi + 0x47], cs
test al, 0x9c
pushfd
pushfd
mov al, byte [0xc14faf00]
xor byte [ebx + 0x3b553cb2], dl
aad 0x56
pop edi
lodsb al, byte [esi]
and eax, 0xf8cb9c3e
pop ds
dec edx
cmp dl, byte [ebx + ecx*4 - 0x156992cf]
aas
lahf
les ecx, [edx - 0x40]
inc eax
sahf
jae 0x77ba33b7
cmp eax, 0x2228c700
mov byte [0xd74403f2], al
dec esi
popfd
aas
or byte [0x9bd61a7c], ch
cmc
loope 0x77ba33f9
jmp [esp + esi*4]
sub al, 0xb4
rol dl, cl
add byte [eax - 0x40], cl
and ch, byte [eax]
and edi, dword [0xc0bffca8]
sub byte [ecx], ah
out 0xcc, eax
mov ss, ebx
movsd dword es:[edi], dword [esi]
dec eax
aaa
rcr edx, 0xa2
sub cl, byte [edi + 0x3c]
cmp al, 0xaf
dec ecx
sub edx, ecx
int3
Function at 0x4145d3
Capabilities:
Parse pe header

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

Function at 0x4269d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4269fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4269fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1081e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1081e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1081e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1081e06a
add dl, dl
jne 0x1081e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1081e0dc
xor eax, eax
add dl, dl
jne 0x1081e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1081e17d
add dl, dl
jne 0x1081e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1081e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1081e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1081e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1081e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1081e075
mov eax, 1
add dl, dl
jne 0x1081e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1081e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1081e0e1
sub eax, ebx
mov ebx, 1
jne 0x1081e128
mov ecx, 1
add dl, dl
jne 0x1081e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1081e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1081e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1081e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1081e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1081e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1081e136
cmp eax, 0x7d00
jae 0x1081e16d
cmp eax, 0x500
jb 0x1081e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1081e075
cmp eax, 0x7f
ja 0x1081e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1081e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1081e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1081e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x930630
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [0x9455bc], 6
jl 0x93064a
vmovd xmm0, ecx
vpinsrd xmm0, xmm0, edx, 1
vcvtqq2pd xmm0, xmm0
ret
movd xmm0, ecx
orps xmm0, xmmword [0x93d520]
subsd xmm0, qword [0x93d520]
test edx, edx
je 0x930671
cvtsi2sd xmm1, edx
mulsd xmm1, qword [0x93d540]
addsd xmm0, xmm1
ret

Function at 0x93108e
Capabilities:
Parse pe header

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

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10007965
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100f0144], 0x1d89
mov dword [0x100f014c], 0
mov dword [0x100f0150], 0
mov dword [0x100f0158], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10007ac0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x100f014c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100f0150], edx
mov dword [0x100f0148], 0x1d83
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100f0154], cl
mov dword [0x100f0144], 0xc7
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x100f0148], 0x734
mov cl, byte [0x100f0154]
mov edx, dword [0x100f0150]
mov byte [edi + edx], cl
mov dword [0x100f0144], 0x1354
mov edx, dword [0x100f014c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x100f0150]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x100f0158], ebx
mov dword [0x100f0144], 0x486
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10007ac0
mov eax, dword [0x100f014c]
mov ecx, dword [0x100f0150]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x100079c8
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007b48
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x100f0144], 0x1a8e
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10007bbf
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10007bab
jmp 0x10007c45
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x10007bbf
jmp 0x10007bd5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10007bf3
jmp 0x10007c45
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x10007b92
mov eax, dword [ebp - 0x1c]
mov dword [0x100f0148], 0x257
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x10007b7e
jmp 0x10007c45
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10007c45
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10007c45
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x6c
jne 0x10007c45
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x10007c4c
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10007c4c
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10007ea8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov dword [0x100f0144], 0x58f
mov dword [ebp - 0x10], eax
call fcn.10007809
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10007eee
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x100f0144], 0x1d5a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10008028
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x34], eax
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x100f0144], 0x4fb
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x10007fc1
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], ch
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x4c], ecx
jne 0x10007f63
jmp 0x10007fc1
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10007fff
jmp 0x10007fca
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
xor eax, eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x10007f3f
jmp 0x10008028
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [ebp - 0x68], ecx
mov dword [0x100f0148], 0x1e47
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x68]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008033
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100f0150], 0
mov dword [0x100f0144], 0xd6c
mov byte [0x100f0154], 0
mov dword [0x100f014c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x100f0144], 0x1944
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100f014c]
add eax, 1
mov dword [0x100f014c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10008078
xor eax, eax
mov ecx, dword [0x100f0144]
add ecx, 0xc08
mov dword [0x100f0144], ecx
mov dword [0x100f014c], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add ecx, 0x1475
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x100f0150]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x100f0150], edx
mov dword [0x100f0144], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x100f0154], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov cl, byte [0x100f0154]
mov edx, dword [0x100f0150]
mov byte [ebx + edx], cl
mov edx, dword [0x100f014c]
add edx, 1
mov dword [0x100f014c], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x10008175
mov eax, dword [0x100f0144]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x100080cc
mov dword [0x100f0144], 0xd26
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008386
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
mov dword [0x100f0148], 0x2322
mov dword [0x100f0144], 0x1434
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10008969
lea ecx, [0x10008208]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x58], edx
mov edx, dword [0x100f0144]
add edx, 0x19c5
mov dword [0x100f0144], edx
mov dword [esp + 0x38], 0x15a200
mov edx, dword [0x100f0130]
mov dword [esp + 0x30], edx
mov edx, dword [0x100f0134]
mov dword [esp + 0x6c], edx
mov edx, dword [0x100f0138]
mov dword [esp + 0x74], edx
mov edx, dword [0x100f013c]
mov dword [esp + 0x48], edx
mov edx, dword [0x100f0140]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10008430
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000841e
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1000841e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [0x100f0148]
add ecx, 0xffffecf6
mov dword [0x100f0144], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x24], edx
call fcn.10007b48
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x100084b8
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10008820
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10008820
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x100f0144], 0x1b3d
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100e3f34]
mov dh, byte [eax + 0x100e3f05]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10008842
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
call fcn.1000859b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100086a0
mov dword [0x100f0144], 0x133d
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10008946
mov eax, dword [ebp - 0x38]
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 dword [0x100f0144], 0xa63
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007d78
xor eax, eax
mov dword [0x100f0148], 0x1971
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x100f0144], 0x1f86
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x44], ecx
add ecx, 0x1d18
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1000893d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10008969
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x170
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x100f0144], 0x1b9d
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10008a00
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x13c], eax
call fcn.1000859b
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.100086a0
mov ecx, eax
mov dword [0x100f015c], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x10008aa1
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x50
mov edi, edx
add edi, esi
add edi, 0x1c
mov esi, dword [edi]
imul edi, eax, 0x50
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x237
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10008a00
xor eax, eax
mov dword [0x100f0144], 0x1b3d
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100e3f34]
mov dh, byte [eax + 0x100e3f05]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x150], ecx
je 0x1000899a
jmp 0x10008a6b
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x50
mov edi, edx
add edi, esi
add edi, 0x1c
mov esi, dword [edi]
imul edi, eax, 0x50
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x50
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10007c6e
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x237
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
jne 0x10008aa1
lea eax, [0x100e3f13]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov esi, dword [ebp - 0x144]
add esi, 0x3590a
mov edi, dword [0x100f0148]
mov ebx, dword [ebp - 0x144]
add ebx, 0x3ade5
add edi, 0xffffe57b
mov dword [0x100f0144], edi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x16c], esi
call fcn.10008033
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10007965
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x160]
mov dword [ecx], edx
mov dword [ecx + 4], 0x15a200
mov edx, dword [ebp - 0x16c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0x2010
add esp, 0x170
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x572c80
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret