joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef50a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4ef51a
xor eax, eax
jmp 0x4ef6e3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4ef69b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x511a0c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4ef523
cmp dword [ebp + 0x10], 0
je 0x4ef6dd
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x511a0c]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x4ef6a1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4f8e90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x50f028
cmp edx, dword [eax]
je 0x4f8eb2
add eax, 8
inc ecx
cmp eax, 0x50f0b8
jl 0x4f8ea3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x50f028]
jne 0x4f8fe0
mov eax, dword [0x513d38]
cmp eax, 1
je 0x4f8fba
test eax, eax
jne 0x4f8ee3
cmp dword [0x50ed64], 1
je 0x4f8fba
cmp edx, 0xfc
je 0x4f8fe0
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4f8f1a
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004f6ef0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004f7010
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4f8f5d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004f7010
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x512e24
push edi
call fcn.004f7090
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004f6ef0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004f6f00
lea eax, [ebp - 0xa0]
push 0x512e04
push eax
call fcn.004f6f00
push dword [esi + 0x50f02c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004f6f00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004fb458
add esp, 0x2c
pop edi
jmp 0x4f8fe0
lea eax, [ebp + 8]
lea esi, [esi + 0x50f02c]
push 0
push eax
push dword [esi]
call fcn.004f7010
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x8b4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008b41a8
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 0x8b407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b406a
add dl, dl
jne 0x8b4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b40dc
xor eax, eax
add dl, dl
jne 0x8b4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b417d
add dl, dl
jne 0x8b40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8b40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8b4075
mov eax, 1
add dl, dl
jne 0x8b40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b40e1
sub eax, ebx
mov ebx, 1
jne 0x8b4128
mov ecx, 1
add dl, dl
jne 0x8b410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8b413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b4136
cmp eax, 0x7d00
jae 0x8b416d
cmp eax, 0x500
jb 0x8b4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b4075
cmp eax, 0x7f
ja 0x8b4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8b419e
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 0x8b4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x422937
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.00419b87
and dword [ebp - 4], 0
cmp dword [0x42ffe0], 0
mov ebx, eax
jne 0x4229e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422a99
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422a99
push eax
call fcn.00419b15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42ffe0], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42ffe4], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42ffe8], eax
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42fff0], eax
test eax, eax
je 0x4229e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42ffec], eax
mov eax, dword [0x42ffec]
cmp eax, ebx
je 0x422a40
cmp dword [0x42fff0], ebx
je 0x422a40
push eax
call fcn.00419b90
push dword [0x42fff0]
mov esi, eax
call fcn.00419b90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422a40
test edi, edi
je 0x422a40
call esi
test eax, eax
je 0x422a37
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422a37
test byte [ebp - 0xc], 1
jne 0x422a40
or dword [ebp + 0x10], 0x200000
jmp 0x422a79
mov eax, dword [0x42ffe4]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422a79
mov eax, dword [0x42ffe8]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ffe0]
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a99
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422a9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x4b034712
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5fc93527
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x101e087
Capabilities:
Check if file exists
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101e020
and dword [eax], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101e02a
and dword [eax], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e035
mov ebx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, ebx
jb 0x101e053
mov eax, 0x80070057
jmp 0x101e092
mov dword [ebp + 8], 1
test esi, esi
jbe 0x101e07d
cmp word [edi + esi*2 - 2], 0x5c
jne 0x101e078
push edi
dec esi
call fcn.0101deaa
test eax, eax
jne 0x101e078
and dword [ebp + 8], eax
mov word [edi + esi*2], ax
lea edi, [edi + esi*2]
sub ebx, esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101e086
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x101e08f
mov dword [eax], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x101e6c7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
cmp ecx, ebx
je 0x101e8c5
cmp dword [ebp + 0xc], ebx
je 0x101e8c5
mov edx, 0x8000
cmp dword [ebp + 0xc], edx
ja 0x101e8c5
push esi
cmp eax, ebx
jne 0x101e732
cmp edi, ebx
jne 0x101e763
mov esi, 0x80070057
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101dba9
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], eax
je 0x101e72a
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
jmp 0x101e8ca
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e735
sub eax, esi
sar eax, 1
mov dword [ebp - 0x21c], eax
cmp eax, edx
jb 0x101e754
mov esi, 0x800700ce
jmp 0x101e6fd
test eax, eax
je 0x101e75f
inc eax
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x101e781
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e768
sub eax, esi
sar eax, 1
mov ebx, eax
cmp ebx, edx
jae 0x101e74d
test ebx, ebx
je 0x101e781
inc ebx
mov eax, dword [ebp - 0x21c]
lea edi, [ebx + eax]
mov eax, 0x104
cmp edi, eax
jbe 0x101e7b3
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x101e7ca
mov esi, 0x8007000e
jmp 0x101e6fd
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov edi, eax
cmp dword [ebp - 0x21c], 0
je 0x101e887
test ebx, ebx
jne 0x101e7e6
push dword [ebp - 0x214]
jmp 0x101e891
mov ebx, dword [ebp - 0x218]
push ebx
call fcn.0101d970
test eax, eax
je 0x101e845
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push dword [ebp - 0x210]
call fcn.0101df7b
mov esi, eax
test esi, esi
jl 0x101e6fd
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x214]
jmp 0x101e898
cmp word [ebx], 0x5c
jne 0x101e884
add ebx, 2
cmp word [ebx], 0x5c
je 0x101e87e
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
push edi
push dword [ebp - 0x210]
call fcn.0101e1b5
jmp 0x101e808
mov ebx, dword [ebp - 0x218]
push ebx
jmp 0x101e891
test ebx, ebx
je 0x101e8a7
push dword [ebp - 0x218]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
push dword [ebp + 0x18]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101e238
mov esi, eax
jmp 0x101e710
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101ce65
leave
ret 0x14
Function at 0x101e760
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
cmp ecx, ebx
je 0x101e8c5
cmp dword [ebp + 0xc], ebx
je 0x101e8c5
mov edx, 0x8000
cmp dword [ebp + 0xc], edx
ja 0x101e8c5
push esi
cmp eax, ebx
jne 0x101e732
cmp edi, ebx
jne 0x101e763
mov esi, 0x80070057
push 0x1001b64
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101dba9
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], eax
je 0x101e72a
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop esi
jmp 0x101e8ca
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e735
sub eax, esi
sar eax, 1
mov dword [ebp - 0x21c], eax
cmp eax, edx
jb 0x101e754
mov esi, 0x800700ce
jmp 0x101e6fd
test eax, eax
je 0x101e75f
inc eax
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x101e781
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101e768
sub eax, esi
sar eax, 1
mov ebx, eax
cmp ebx, edx
jae 0x101e74d
test ebx, ebx
je 0x101e781
inc ebx
mov eax, dword [ebp - 0x21c]
lea edi, [ebx + eax]
mov eax, 0x104
cmp edi, eax
jbe 0x101e7b3
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x101e7ca
mov esi, 0x8007000e
jmp 0x101e6fd
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov edi, eax
cmp dword [ebp - 0x21c], 0
je 0x101e887
test ebx, ebx
jne 0x101e7e6
push dword [ebp - 0x214]
jmp 0x101e891
mov ebx, dword [ebp - 0x218]
push ebx
call fcn.0101d970
test eax, eax
je 0x101e845
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push dword [ebp - 0x210]
call fcn.0101df7b
mov esi, eax
test esi, esi
jl 0x101e6fd
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x214]
jmp 0x101e898
cmp word [ebx], 0x5c
jne 0x101e884
add ebx, 2
cmp word [ebx], 0x5c
je 0x101e87e
push dword [ebp - 0x214]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
push edi
push dword [ebp - 0x210]
call fcn.0101e1b5
jmp 0x101e808
mov ebx, dword [ebp - 0x218]
push ebx
jmp 0x101e891
test ebx, ebx
je 0x101e8a7
push dword [ebp - 0x218]
push edi
push dword [ebp - 0x210]
call fcn.0101dba9
mov esi, eax
test esi, esi
jl 0x101e6fd
push dword [ebp + 0x18]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x220]
call fcn.0101e238
mov esi, eax
jmp 0x101e710
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0101ce65
leave
ret 0x14
Function at 0x68a18058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x68a181a8
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 0x68a1807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x68a1806a
add dl, dl
jne 0x68a18089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x68a180dc
xor eax, eax
add dl, dl
jne 0x68a18096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x68a1817d
add dl, dl
jne 0x68a180a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x68a180b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x68a180bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x68a180c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x68a180d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x68a18075
mov eax, 1
add dl, dl
jne 0x68a180ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x68a180f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x68a180e1
sub eax, ebx
mov ebx, 1
jne 0x68a18128
mov ecx, 1
add dl, dl
jne 0x68a1810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x68a18119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x68a18105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x68a18075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x68a1813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x68a1814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x68a18136
cmp eax, 0x7d00
jae 0x68a1816d
cmp eax, 0x500
jb 0x68a18168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x68a18075
cmp eax, 0x7f
ja 0x68a18170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x68a18075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x68a1819e
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 0x68a18075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x402ee4
pop dword [ebp - 0xc]
mov eax, 0x2f27b39c
add eax, 0xd1187b48
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xaa712145
sub dword [ebp - 0x1c], 0x5c1edbfa
mov dword [ebp - 0x18], 0xd8f2c2a4
add dword [ebp - 0x18], 0x594089a1
mov dword [ebp - 0x14], 0x2000e07c
add dword [ebp - 0x14], 0x2c4b63b2
mov dword [ebp - 0x10], 0x57b1232b
add dword [ebp - 0x10], 0xa84edcd5
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xc40393e6
sub eax, 0xc3c312e2
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x4872777
sub dword [ebp - 0x1c], 0x9014be21
mov dword [ebp - 0x18], 0xc9fcd857
add dword [ebp - 0x18], 0x776f891e
mov dword [ebp - 0x14], 0x479b29a5
sub dword [ebp - 0x14], 0xe42bbd39
mov dword [ebp - 0x10], 0x8befc441
add dword [ebp - 0x10], 0x74103bbf
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37f3f
push 0
call eax
mov ecx, 0x4bab
xor edx, edx
add edx, eax
mov ebx, 0x39a77612
add ebx, 0xc69f6dee
add ebx, dword [ebp - 0xc]
mov edi, 0x2869c91b
sub edi, 0x9364c424
xor dword [ebp - 8], eax
mov esi, dword [ebx]
xor dword [ebp - 4], 0x94287f80
xor esi, edi
mov dword [edx], esi
add edx, 4
add ebx, 4
loop 0x402ffd
add eax, 0xe800184e
add eax, 0x18010931
xor ebx, ebx
add ebx, eax
add eax, 0xcad62327
sub eax, 0xcad62322
mov ecx, 0x8855e3f8
sub ecx, 0x8815e3f8
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x1000b700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x46e0926
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x58b60a8e
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x64265dc2
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x3362637d
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219