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

Disassembly:
call 0x1c58200
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 0x1c580d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c580c2
add dl, dl
jne 0x1c580e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c58134
xor eax, eax
add dl, dl
jne 0x1c580ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1c581d5
add dl, dl
jne 0x1c580fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c58108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c58113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c5811e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1c5812a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1c580cd
mov eax, 1
add dl, dl
jne 0x1c58142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1c5814d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c58139
sub eax, ebx
mov ebx, 1
jne 0x1c58180
mov ecx, 1
add dl, dl
jne 0x1c58166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c58171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c5815d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c580cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1c58197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1c581a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1c5818e
cmp eax, 0x7d00
jae 0x1c581c5
cmp eax, 0x500
jb 0x1c581c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c580cd
cmp eax, 0x7f
ja 0x1c581c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1c580cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1c581f6
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 0x1c580cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40729d
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
mov ebx, ecx
lea ecx, [ebp - 0x14]
push esi
mov esi, edx
mov dword [ebp - 0x38], ebx
push edi
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.004071e1
mov edi, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add edi, 0x23f
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [0x1a480e4]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x407325
push 0x4011a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1a480e4]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a48128]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x1a48128], eax
mov eax, dword [0x1a48130]
cmove eax, dword [ebp - 0x24]
mov dword [0x1a48130], eax
lea eax, [edi + edx]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x1a4812c], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
cmp dword [0x1a480e4], 0xb03
jne 0x4073fc
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0x4011a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4072ed
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
pop edi
pop esi
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407446
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x407484
cmp dword [0x1a480e4], 0x959
jne 0x407474
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040729d
add edi, 8
dec esi
jne 0x407456
pop edi
pop esi
pop ebp
ret 4
Function at 0x410c5f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4552c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a883
mov dword [ebp - 0x14], eax
cmp dword [0x1a48ec8], esi
jne 0x410d52
push 0x800
push esi
push 0x40516c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410cdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410e32
push esi
push esi
push 0x40516c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410e32
push 0x405184
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410e32
push eax
call ebx
push 0x405190
push edi
mov dword [0x1a48ec8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4051a0
push edi
mov dword [0x1a48ecc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4051b4
push edi
mov dword [0x1a48ed0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a48ed8], eax
test eax, eax
je 0x410d4f
push 0x4051d0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1a48ed4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410d77
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410d6a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410d8c
push 4
pop eax
jmp 0x410e34
cmp dword [ebp - 0x14], esi
je 0x410d8c
push dword [0x1a48ec8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410d71
mov eax, dword [0x1a48ed4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410dea
cmp dword [0x1a48ed8], edi
je 0x410dea
push eax
call ebx
push dword [0x1a48ed8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410dea
test eax, eax
je 0x410dea
call ecx
test eax, eax
je 0x410ddf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410ddf
test byte [ebp - 8], 1
jne 0x410dea
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410e1a
mov eax, dword [0x1a48ecc]
cmp eax, edi
je 0x410e17
push eax
call ebx
test eax, eax
je 0x410e17
call eax
mov esi, eax
test esi, esi
je 0x410e17
mov eax, dword [0x1a48ed0]
cmp eax, edi
je 0x410e17
push eax
call ebx
test eax, eax
je 0x410e17
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1a48ec8]
call ebx
test eax, eax
je 0x410e32
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410e34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e2e
mov esp, ebp
pop ebp
ret
Function at 0x40725b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.0040719f
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add ebx, 0x23f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov esi, dword [ebp - 8]
mov eax, esi
mov ecx, dword [0x7143d4]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4072e6
push 0x401130
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x7143d4]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x714418]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x714418], eax
mov eax, dword [0x714420]
cmove eax, dword [ebp - 0x24]
mov dword [0x714420], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x71441c], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x1c], edx
shl eax, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
mov dword [ebp - 0x14], ebx
dec edi
jne 0x4072ab
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4073c5
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x407403
cmp dword [0x7143d4], 0x959
jne 0x4073f3
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040725b
add edi, 8
dec esi
jne 0x4073d5
pop edi
pop esi
pop ebp
ret 4
Function at 0x410bbf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a7f3
mov dword [ebp - 0x14], eax
cmp dword [0x7151b4], esi
jne 0x410cb2
push 0x800
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410d92
push esi
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410d92
push 0x405144
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410d92
push eax
call ebx
push 0x405150
push edi
mov dword [0x7151b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405160
push edi
mov dword [0x7151b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405174
push edi
mov dword [0x7151bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7151c4], eax
test eax, eax
je 0x410caf
push 0x405190
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7151c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410cd7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410cca
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410cec
push 4
pop eax
jmp 0x410d94
cmp dword [ebp - 0x14], esi
je 0x410cec
push dword [0x7151b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410cd1
mov eax, dword [0x7151c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410d4a
cmp dword [0x7151c4], edi
je 0x410d4a
push eax
call ebx
push dword [0x7151c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410d4a
test eax, eax
je 0x410d4a
call ecx
test eax, eax
je 0x410d3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410d3f
test byte [ebp - 8], 1
jne 0x410d4a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410d7a
mov eax, dword [0x7151b8]
cmp eax, edi
je 0x410d77
push eax
call ebx
test eax, eax
je 0x410d77
call eax
mov esi, eax
test esi, esi
je 0x410d77
mov eax, dword [0x7151bc]
cmp eax, edi
je 0x410d77
push eax
call ebx
test eax, eax
je 0x410d77
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x7151b4]
call ebx
test eax, eax
je 0x410d92
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410d94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e2e
mov esp, ebp
pop ebp
ret
Function at 0x727960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x22d000]
push edi
jmp 0x72797a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x727981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x727970
mov eax, 1
add ebx, ebx
jne 0x727993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7279a4
jne 0x7279c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7279c3
dec eax
add ebx, ebx
jne 0x7279b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x727988
add ebx, ebx
jne 0x7279bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x727a15
xor ecx, ecx
sub eax, 3
jb 0x7279db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x727a4a
sar eax, 1
mov ebp, eax
jmp 0x7279e6
add ebx, ebx
jne 0x7279e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7279b4
inc ecx
add ebx, ebx
jne 0x7279f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7279b4
add ebx, ebx
jne 0x727a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7279f6
jne 0x727a12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7279f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x727a34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x727a26
jmp 0x727976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x727a34
add edi, ecx
jmp 0x727976
pop esi
mov edi, esi
mov ecx, 0x1de5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x727a52
cmp byte [edi], 0x12
jne 0x727a52
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 0x727a57
lea edi, [esi + 0x321000]
mov eax, dword [edi]
or eax, eax
je 0x727acf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x34dcf0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x34dea4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x727a84
mov ecx, edi
jns 0x727ab3
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 + 0x34deac]
or eax, eax
je 0x727ac9
mov dword [ebx], eax
add ebx, 4
jmp 0x727aa1
call dword [esi + 0x34dea8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x727b00
cmp al, 0xef
ja 0x727af3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x727ad5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x727ae2
mov ebp, dword [esi + 0x34deb0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x727b34
sub esp, 0xffffff80
jmp 0x41aa99
Function at 0x10422058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104221a8
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 0x1042207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1042206a
add dl, dl
jne 0x10422089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104220dc
xor eax, eax
add dl, dl
jne 0x10422096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1042217d
add dl, dl
jne 0x104220a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104220b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104220bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104220c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104220d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10422075
mov eax, 1
add dl, dl
jne 0x104220ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104220f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104220e1
sub eax, ebx
mov ebx, 1
jne 0x10422128
mov ecx, 1
add dl, dl
jne 0x1042210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10422119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10422105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10422075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1042213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1042214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10422136
cmp eax, 0x7d00
jae 0x1042216d
cmp eax, 0x500
jb 0x10422168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10422075
cmp eax, 0x7f
ja 0x10422170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10422075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1042219e
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 0x10422075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x417432
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x417441
pop dword [ebp - 0x30]
mov eax, 0x417441
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xeb51e24e
add dword [ebp - 0x40], 0x630062fd
mov dword [ebp - 0x3c], 0xb06426bd
add dword [ebp - 0x3c], 0x81cf2588
mov dword [ebp - 0x38], 0xc04bac84
sub dword [ebp - 0x38], 0x73ff6856
mov dword [ebp - 0x34], 0xdb78ce65
add dword [ebp - 0x34], 0x2487319b
lea eax, [ebp - 0x40]
push eax
mov eax, 0x64394fa2
sub eax, 0x63f71f2e
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x94500110
sub dword [ebp - 0x40], 0x1fdd97ba
mov dword [ebp - 0x3c], 0x89946f65
add dword [ebp - 0x3c], 0xb7d7f210
mov dword [ebp - 0x38], 0x61f7e8a1
sub dword [ebp - 0x38], 0xfe887c35
mov dword [ebp - 0x34], 0xba69173e
add dword [ebp - 0x34], 0x4596e8c2
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x2944807a
add eax, 0xd6fdb0aa
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3ee5a
push 0
call eax
mov ecx, 0x4cc1
mov ebx, eax
mov edx, 0x4989d63b
add edx, 0xb6b96dc5
add edx, dword [ebp - 0x30]
mov edi, 0x33209e19
xor dword [ebp - 0x14], 0xd9f8be79
mov esi, dword [edx]
mov dword [ebp - 0x28], 0xd95f2d7f
sub esi, edi
xor dword [ebp - 0x2c], 0x984438ec
mov dword [ebx], esi
mov dword [ebp - 0x18], 0x48ef2a77
add ebx, 4
add edx, 0xa9e1aa18
sub edx, 0xa9e1aa14
loop 0x417552
add eax, 0x28e4b408
add eax, 0xd71c71cf
mov ebx, eax
add eax, 0x72ccd44f
sub eax, 0x72ccd44a
mov ecx, 0xc6b17026
add ecx, 0x398e8fda
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0xc79330
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xc0
sal bl, 0x6b
mov ebx, esi
ror di, 0x57
cmp ebp, ecx
mov eax, 0
sets dh
bt edi, 0xf5
sub ebx, eax
lea edi, [0x85d4d2]
rcr dl, cl
rcl dh, cl
setne dh
sub esi, 4
ror dl, 0x30
shl dh, 0x43
sub dl, cl
mov edx, dword [esi]
test ecx, 0x2d0f7381
cmc
xor edx, ebx
rol edx, 1
cmp bp, 0x6bfc
cmc
test bx, 0xa7a
sub edx, 0x7e367f82
ror edx, 1
test bl, bh
lea edx, [edx - 0x2bf22b3b]
xor ebx, edx
cmc
test ecx, 0x1e5f4366
add edi, edx
jmp 0xe36e46
mov ebp, esp
sal dx, cl
jmp 0x85d4b3
push ecx
push edi
xchg edi, ecx
jmp 0xe2c24d
push ebx
push edx
cwd
movsx ebx, sp
push eax
lahf
rdtsc
mov di, 0x1e0a
pushfd
push ebp
lahf
push esi
mov ecx, 0
sub eax, 0x5cf121f5
push ecx
sub si, dx
mov esi, dword [esp + 0x28]
sbb edi, 0xd8e0b3c
rdtsc
bt ebx, ebp
xor esi, 0x36b5e0d
shrd ebx, ebx, 0x9d
neg esi
inc esi
bswap esi
sub bx, 0x780d
add esi, ecx
jmp 0xc25a08
jmp edi

Function at 0xdd4f06
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0xdd4f0c
pop ebp
sub ebp, 0x10
sub ebp, 0x9d4efc
jmp 0xdd4f22
mov eax, 0x9d4efc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d8
mov edx, 0x13ba533e
xor byte [eax], dl
inc eax
dec ecx
jne 0xdd4f39
jmp 0xdd4f4c
mov ch, 0xf3
mov ch, 0xb7
add bh, byte [esi]
mov edi, 0x3e3ec6ff
cmp eax, 0x3e3b86f3
test byte ds:[esi], dl
leave
fdivr qword [0x32bfb5f6]
cmp eax, 0x1a5ab3fb
ret 0x3ab7