joyce8/EMBER2024-capa huggingface dataset:
Function at 0xea8c44
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0xea8c68
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xea8c50
add dl, dl
jne 0xea8c73
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xea8cc4
xor eax, eax
add dl, dl
jne 0xea8c80
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xea8d61
add dl, dl
jne 0xea8c8f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xea8c9a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xea8ca5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xea8cb0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xea8cba
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xea8c5f
mov eax, 1
add dl, dl
jne 0xea8cd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xea8cdd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xea8cc9
sub eax, ebx
mov ebx, 1
jne 0xea8d10
mov ecx, 1
add dl, dl
jne 0xea8cf6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xea8d01
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xea8ced
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xea8c5f
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xea8d27
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xea8d32
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xea8d1e
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xea8c5f
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xea8d82
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 0xea8c5f
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0xea92f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, 6
lodsd eax, dword [esi]
bswap eax
ror eax, 0xd
mov edx, eax
not edx
lodsd eax, dword [esi]
rol eax, 0xb
bswap eax
xor eax, edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 9
bswap eax
mov edx, eax
not edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 7
bswap eax
xor eax, edx
mov edx, eax
not edx
stosd dword es:[edi], eax
rol eax, 5
xor eax, edx
stosd dword es:[edi], eax
lea esi, [edi - 0x10]
dec ebx
test ebx, ebx
jne 0xea9305
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0xea9348
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfffefdfc
mov ecx, 0x40
mov ebx, dword [ebp + 0x10]
mov dword [ebx + ecx*4 - 4], eax
sub eax, 0x4040404
dec ecx
jne 0xea935b
mov edi, dword [ebp + 0xc]
mov esi, 0x40
xor ebx, ebx
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0xea9375
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x20
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0xea93ae
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov esi, 0x40
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0xea93e7
pop ebp
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0xea941c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0xea9468
push ebp
mov ebp, dword [ebp + 0x10]
mov dl, byte [ebp + ecx]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
mov dl, byte [ebp + edx]
inc dl
mov al, byte [ebp + edx]
xor byte [edi], al
mov dl, byte [ebp + ebx]
xchg byte [ebp + ecx], dl
mov byte [ebp + ebx], dl
inc cl
inc edi
dec esi
test esi, esi
jne 0xea9439
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10001890
Capabilities:
Read file on windows

Disassembly:
test esi, esi
jne 0x100018a0
test edi, edi
je 0x1000189a
mov dword [edi], esi
mov eax, 1
ret
mov eax, dword [esp + 4]
push ebp
push 0
push edi
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
test ebp, ebp
jne 0x100018d8
push esi
push eax
push ebx
call fcn.100155b0
add esp, 0xc
test edi, edi
je 0x100018c8
mov dword [edi], esi
mov ecx, dword [esp + 8]
push 1
push 0
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, ebp
pop ebp
ret

Function at 0x10001a10
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x10026da0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10031c30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
xor ebx, ebx
push edx
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.1000764f
mov edi, eax
cmp edi, ebx
je 0x10001b29
call fcn.10006927
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x10001a7d
push 0x80004005
call fcn.10001690
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 1
mov eax, dword [eax]
push ecx
push eax
call fcn.100072fd
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001ad5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
add esi, 0x30
push esi
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x10001afb
cmp dword [esi], ebx
jne 0x10001b01
mov dword [esi], 0x200
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10001b29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x10001c00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, eax
mov ebx, ecx
test edi, edi
jne 0x10001c1f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
push 0
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 4]
push eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x10001c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10001c13
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push 0
push eax
push ecx
push edx
call fcn.10026230
mov esi, eax
test esi, esi
jbe 0x10001c78
mov eax, dword [ebp + 0x30]
sub eax, esi
mov esi, eax
cmp eax, edi
jb 0x10001c78
mov esi, edi
mov ecx, dword [ebp + 0x30]
sub edi, esi
xor edx, edx
mov eax, edi
div ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test esi, esi
jbe 0x10001cbd
mov eax, dword [ebp + 4]
push eax
lea edi, [esp + 0x30]
call fcn.10001890
add esp, 4
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x10001cb7
test eax, eax
je 0x10001c13
add ebx, eax
mov dword [esp + 0x10], eax
mov eax, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], eax
jb 0x10001d30
lea esp, [esp]
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 4]
test esi, esi
je 0x10001d93
push 0
lea ecx, [esp + 0x30]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10001d13
push esi
push eax
push ebx
call fcn.100155b0
add esp, 0xc
push 1
push 0
push esi
push edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
jmp 0x10001d1b
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10001d93
add dword [esp + 0x10], eax
add ebx, eax
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jbe 0x10001cd0
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x10001d93
mov ebp, dword [ebp + 4]
push 0
lea edx, [esp + 0x30]
push edx
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10001d84
mov esi, dword [esp + 0x1c]
push esi
push eax
push ebx
call fcn.100155b0
add esp, 0xc
push 1
push 0
push esi
push ebp
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
cmp dword [esp + 0x2c], 0
je 0x10001d93
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x10002100
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 8]
push esi
push 0
mov esi, ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.10006fc1
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10002131
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10007bcb
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
pop esi
ret 8

Function at 0x100026e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 4], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
xor eax, eax
xor byte [esp + eax], 0x79
inc eax
cmp eax, 0x18
jb 0x10002716
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push eax
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.10002750
mov esp, ebp
pop ebp
ret 4

Function at 0x100028d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100028e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002924
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10002920
lea ebx, [ebx]
cmp esi, eax
jae 0x10002924
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10002910
cmp esi, eax
jb 0x1000292a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x1000302f
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x100310e8]
mov ecx, dword fs:[0x30]
mov ecx, dword [ecx + 0xc]
add ecx, 0xc
mov edx, ecx
jmp 0x10003055
xor edi, edi
cmp edi, eax
je 0x100030a9
mov edx, dword [edx]
cmp edx, ecx
je 0x1000309d
mov dword [esp + 8], 0
mov esi, dword [edx + 0x30]
movzx ebx, word [esi]
test bx, bx
je 0x1000304f
add esi, 2
xor edi, edi
jmp 0x1000308f
movzx ebx, bx
add edi, ebx
movzx ebx, word [esi]
add esi, 2
test bx, bx
je 0x10003051
lea ebp, [ebx - 0x41]
cmp bp, 0x1a
jae 0x1000307f
add ebx, 0x20
jmp 0x1000307f
mov dword [esp + 8], 0
xor ebx, ebx
jmp 0x100030ac
mov ebx, dword [edx + 0x18]
mov eax, dword [0x100310f8]
mov ecx, dword [0x100310e0]
mov dword [esp + 4], ecx
mov ecx, dword [0x10031128]
mov edx, dword [ebx + 0x3c]
add edx, ebx
mov ecx, dword [edx + ecx*8 + 0x78]
mov edx, dword [ebx + ecx + 0x18]
mov dword [esp + 0x14], edx
test edx, edx
mov dword [esp], ebx
je 0x10003183
mov esi, dword [ebx + ecx + 0x20]
add esi, ebx
mov edx, dword [ebx + ecx + 0x1c]
add edx, ebx
mov dword [esp + 8], edx
mov ecx, dword [ebx + ecx + 0x24]
add ecx, ebx
mov dword [esp + 0x10], ecx
xor edi, edi
nop
nop
nop
nop
nop
nop
Function at 0x10006160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10026bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x10031c30]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.10003720
mov ecx, dword [esp + 0x34]
push ecx
lea ebx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.100060f0
or ecx, 0xffffffff
cmp eax, ecx
je 0x100061f9
cmp dword [esp + 0x18], 0x10
jb 0x100061f9
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esp + 8], vtable.CExtraFieldDataEntry.0
call fcn.1000afb3
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret 4
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 8], vtable.CExtraFieldDataEntry.0
call fcn.1000afb3
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret 4

Function at 0x10013f34
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10031c30]
jne 0x10013f3e
repz ret
jmp fcn.10017bb1
Function at 0x10020a6a
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.1001a02a
and dword [ebp - 4], 0
cmp dword [0x10035be0], 0
mov ebx, eax
jne 0x10020b1b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10020bcc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10020bcc
push eax
call fcn.10019fb8
mov dword [esp], 0x1002b4c8
push edi
mov dword [0x10035be0], eax
call esi
push eax
call fcn.10019fb8
mov dword [esp], 0x1002b4b4
push edi
mov dword [0x10035be4], eax
call esi
push eax
call fcn.10019fb8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10035be8], eax
call esi
push eax
call fcn.10019fb8
pop ecx
mov dword [0x10035bf0], eax
test eax, eax
je 0x10020b1b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10019fb8
pop ecx
mov dword [0x10035bec], eax
mov eax, dword [0x10035bec]
cmp eax, ebx
je 0x10020b73
cmp dword [0x10035bf0], ebx
je 0x10020b73
push eax
call fcn.1001a033
push dword [0x10035bf0]
mov esi, eax
call fcn.1001a033
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10020b73
test edi, edi
je 0x10020b73
call esi
test eax, eax
je 0x10020b6a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10020b6a
test byte [ebp - 0xc], 1
jne 0x10020b73
or dword [ebp + 0x10], 0x200000
jmp 0x10020bac
mov eax, dword [0x10035be4]
cmp eax, ebx
je 0x10020bac
push eax
call fcn.1001a033
pop ecx
test eax, eax
je 0x10020bac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10020bac
mov eax, dword [0x10035be8]
cmp eax, ebx
je 0x10020bac
push eax
call fcn.1001a033
pop ecx
test eax, eax
je 0x10020bac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10035be0]
call fcn.1001a033
pop ecx
test eax, eax
je 0x10020bcc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10020bce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6fdb4326
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x36d6adc
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x53dd9c
push eax
push dword fs:[0]
push ebx
add byte [eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xe7
mov dword [0x98c0ec09], eax
mov eax, dword [0xf6a8b15c]
jecxz 0x401003
xor dword [ecx], ecx
iretd
ljmp 0x2bdb:0xc41a7522
jne 0x40109c
invalid
mov ch, byte [edx + 0x477bf67f]
jle 0x4010d4
salc
rcr cl, 1
cwde
add al, 0x60
sub byte [ecx + 0x485b75a6], bh
adc byte [eax], cl
xor eax, 0x4156615a
clc
or edi, dword [esi + 0x54]
xchg byte [ebx + 0x456a3141], bl
adc dword [edx + 0x30], ecx
jno 0x401110
sbb ebx, edi
cmp al, 0x6e
jae 0x40107e
out dx, al
aad 0x69
sub dword [edi + 0x33], ebx
retf
push ebp
mov cs, edx
mov bl, byte [edx + 0x3812e7a7]
adc eax, 0x31bdc80d
movsd dword es:[edi], dword [esi]
fild qword [eax]
add ch, al
cmpsd dword [esi], dword es:[edi]
dec eax
ret
Function at 0x401000
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
jmp loc.00441b06
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call fcn.00401000
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4043b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x120
push ebp
push esi
push edi
push 0xff
xor esi, esi
lea eax, [esp + 0x31]
push esi
push eax
xor edi, edi
call fcn.0040b3c0
mov eax, dword [0x43d3d0]
mov ecx, dword [0x43d3cc]
add esp, 0xc
push eax
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
call sub.wsnmp32.dll_Ordinal_320
mov ebp, dword [0x43d3cc]
test eax, eax
jne 0x4043fb
lea edx, [ebp + 1]
mov dword [esp + 0x14], edx
cmp dword [0x43d3d0], esi
je 0x4044f4
cmp dword [0x43d3d8], esi
je 0x4044f4
cmp dword [esp + 0x134], esi
jle 0x4044f4
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x13c]
mov al, bl
sub al, cl
dec al
mov byte [esp + 0x13], al
lea eax, [esp + ecx + 0x14]
mov dword [esp + 0x1c], eax
mov edi, edi
mov ecx, dword [esp + 0x134]
mov dl, byte [esi + ecx]
mov eax, dword [0x43d3c4]
mov ecx, dword [0x43d3c0]
push eax
push ecx
push 0x14
push ebp
mov byte [esp + 0x22], dl
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [0x43d3cc]
mov ebp, ebx
sub ebp, ecx
mov eax, edi
cdq
add ebp, 4
idiv ebp
push 0x100
lea edx, [esp + 0x34]
push edx
imul byte [esp + 0x1b]
xor al, byte [esp + 0x1a]
mov byte [esp + ecx + 0x1c], al
mov eax, dword [0x43d3d4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x43d3d4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x134]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [0x43d3cc]
mov byte [ebp], al
test ebx, ebx
je 0x4044c8
mov dl, byte [esp + ecx + 0x14]
jmp 0x4044cb
mov dl, byte [ecx + ebp]
mov byte [esi + eax], dl
mov ebp, dword [0x43d3cc]
lea eax, [ebx + 2]
imul edi, eax
inc edi
imul edi, ebx
sub edi, ebp
sub edi, dword [esp + 0x18]
inc esi
inc edi
cmp esi, dword [esp + 0x138]
jl 0x404440
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x120
ret 0xc
Function at 0x40f0e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c534]
jne 0x40f0ea
repz ret
jmp fcn.0041e880