joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b90
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x453bda
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x453c09
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x453c4b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x46ae3b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46ae73
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468eef
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00468ec7
jmp 0x46ae7f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46c529
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46c56b
call fcn.00471fe2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46c56b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46c562
xor eax, eax
jmp 0x46c573
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046c579
pop edi
pop esi
pop ebx
ret 4

Function at 0x472512
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x472540
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47255e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00472478
jmp 0x47255e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47255e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00472478
test edi, edi
mov eax, edi
jne 0x472548
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x913008], 0x8088405
inc edx
mov dword [ebx + 0x913008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d254
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d285
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d26d
add dl, dl
jne 0x41d290
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d2e1
xor eax, eax
add dl, dl
jne 0x41d29d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d37e
add dl, dl
jne 0x41d2ac
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2b7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2c2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2cd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d2d7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d27c
mov eax, 1
add dl, dl
jne 0x41d2ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d2fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d2e6
sub eax, ebx
mov ebx, 1
jne 0x41d32d
mov ecx, 1
add dl, dl
jne 0x41d313
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d31e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d30a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d27c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d33b
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 0x41d27c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d39f
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 0x41d27c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f3b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8f689e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f3ff
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f41e
mov ecx, edx
add ecx, ebx
jmp 0x41f41e
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f41e
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f490
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f479
test esi, esi
jbe 0x41f490
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f46b
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f490
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f448
jmp 0x41f490
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f490
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8f68a5
ret
Function at 0x4205fc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8f7c17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x420637
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x420650
lea eax, [ebp - 0x10]
mov edx, dword [0x9155f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x420663
lea eax, [ebp - 0x10]
mov edx, dword [0x9155f0]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x42066f
adc edx, 0
mov edx, dword [edx*4 + 0x9143fc]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x4207e9
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4207dc
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4207dc
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x42077a
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x42077a
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x42077a
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x42077a
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4207dc
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4207dc
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4207dc
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4207dc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420801
inc ebx
cmp ebx, 0x19
jne 0x420629
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8f7c1e
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x421429
Capabilities:
Encode data using xor

Disassembly:
inc esi
sahf
mov esp, 0x8add9f17
retf
jo 0x421489
adc dword [esi - 0x11], esi
and eax, 0xe2103429
xchg edi, eax
xchg edx, eax
xchg dword [edx], ebx
pop esp
pushfd
add edx, eax
jns 0x4213e4
inc eax
cmp edx, dword [eax + 0xe]
imul byte [ecx]
mov ch, 0x8c
pop esp
inc ecx
out dx, eax
dec edi
mov eax, dword ss:[edi - 0x68]
xchg dword [eax + 0x3d], ecx
mov ecx, 0x38fd24d
in eax, 0xf5
insb byte es:[edi], dx
loop 0x42140a
sub dword [ecx + 0x2c], esp
mov dword [0x4ec8a90f], eax
fstp qword [esi - 8]
xchg ebp, eax
les ecx, [eax - 0xd]
enter 0x537f, 0x1c
wait
idiv byte cs:[ecx]
jge 0x421414
invalid
int1
adc edx, dword [eax + 0x74]
sub dword es:[ebp + 0x52265eed], edi
sub dword [ebp + 0x52265eed], edi
cmp al, 0x5f
push cs
std
in al, dx
sahf
jnp 0x42146e
fcomp st(5)
add eax, 0xf9ed2cd
and cl, byte [edi - 0x13065040]
xlatb
push eax
idiv dword [eax + esi*2]
cmp eax, 0x490702bb
add esi, dword [esi]
xor al, 0x9e
pushfd
jns 0x42148e
sti
xor dword [ecx + 0x41], esi
mov dword [eax + 0x7c1784b8], eax
daa
pop ecx
test edi, ecx
mov eax, 0xd7f4168e
push 0xffffffffffffffa4
jg 0x4214c3
jmp dword [esi + 0x7d]
cli
scasd eax, dword es:[edi]
jae 0x421469
xlatb
in al, dx
jo 0x421508
push ebx
cmpsb byte ss:[esi], byte es:[edi]
lahf
push esi
cmc
pop eax
sbb ebx, dword [0xccfefeb7]
push ecx
lodsd eax, dword [esi]
test dword [esi - 0x5e059b2b], ebx
or eax, 0x5de5fc02
or cl, byte [edx - 0x23e7fdaf]
sub cl, cl
invalid
xchg byte [eax - 0x1fbfc903], ah
mov al, byte [0x291ece06]
into
push es
into
push ds
sub esi, ecx
add bl, byte [0xba473b00]
or ebx, dword [ebp + ecx*8 + 0x18e74d50]
salc
sub dword [ecx - 0x7715e73e], 0xffffffbd
sbb byte [esi + 0x5dc06daa], bl
daa
aas
int1
jns 0x42158c
out dx, al
pop eax
loopne 0x421535
mov ebp, 0x4c773d66
push ebp
and eax, 0xa74c5950
les ebx, [eax + 0x59a7f218]
jg 0x4215c2
fisubr word [esi - 0x301b9f99]
xchg edi, eax
in al, dx
mov bh, 0xf9
test al, 0xba
mov bl, 0xa1
dec ecx
cmp esp, dword [esi]
mov edi, 0xe26f43c2
mov edx, 0xb14fe999
pop edi
jecxz 0x42150f
jmp 0x421586
push 0xffffffffffffff8e
test eax, 0xc322f54b
jmp 0x4215a1
ret
xchg dword [eax + 0x7d469d47], esp
adc bh, byte [ebp - 0x2233d743]
invalid
fld qword [edx - 0x37a8586e]
inc eax
hlt
xchg edx, eax
cmpsd dword [esi], dword es:[edi]
push edi
enter 0xfffffffffffff440, 0x30
and edi, dword [edx + edx]
out 0x15, al
push ss
outsd dx, dword [esi]
sub eax, 0xf8376108
add eax, dword [ebp - 0x3697c8d5]
pop ss
inc edx
cmp dword [esi], 0x8ef27628
fisttp dword [eax]
frstor dword [ecx - 0x2a]
aaa
push 0x814217c9
sub byte ds:[esi - 0xe], dh
mov ds, ebx
or ch, bl
popal
salc
adc ebp, dword [0xc9d2f41e]
xchg edx, eax
rcr ebp, cl
jbe 0x42161b
and ch, cl
test eax, 0x2a7b890b
loop 0x421670
mov dl, 0xdc
mov ebp, 0x2e3a4881
out dx, al
adc ah, ch
or eax, 0x6df92d8e
std
add dword [esi], 0x2960c230
loop 0x421618
mov dword [edx], edx
or eax, 0xbd795d0b
pop ebp
jns 0x4215d8
xor eax, 0xba628cad
bound ecx, qword [edi]
das
test al, 0x55
xchg esp, eax
loopne 0x4215c0
call dword [eax + esi*8 + 0x10a3fd27]
and byte [ecx], 0x38
push esi
adc dword cs:[eax], ecx
and byte [ebx - 0x7e], cl
invalid
mov ecx, eax
aas
pushfd
pop esp
ret 0xc1a9
Function at 0x4ac1a9
Capabilities:
Encode data using xor

Disassembly:
push edi
mov bh, 0x15
or eax, dword [ebx + 0x39]
cmp byte [eax - 0x3e0a8400], 0x99
sbb al, byte [ebx - 0x66]
push ebx
add eax, 0xf1f162f4
mov cl, 0xae
in eax, 0xbb
pop esi
in eax, dx
and ebx, dword [eax + 0x75]
pop eax
jne 0x4ac18c
invalid
pop eax
jne 0x4ac18c
add dh, bl
and al, 0x66
and al, 0x66
not word [esi]
not dword [esi]
jb 0x4ac1ac
dec esp
scasd eax, dword es:[edi]
adc dword [ebx - 0x6b], edx
push 0x741c2afc
pop edx
xor byte [ebx - 0x22254c3f], dl
invalid

Function at 0x4e2649
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e2695
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e267a
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e268a
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e26a5
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e26e4
test ebx, ebx
je 0x4e26b9
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e26ae
cmp ecx, 0xfff1
jb 0x4e26c7
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e27cf
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2709
Function at 0x543769
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0xd4
salc
xor al, 0xf7
jbe 0x54376b
ljmp 0x5586:0xa1a5853a
Function at 0x65779d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f3e8
cmp edx, dword [eax]
je 0x6577bf
add eax, 8
inc ecx
cmp eax, 0x65f478
jl 0x6577b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f3e8]
jne 0x6578ed
mov eax, dword [0xa64d58]
cmp eax, 1
je 0x6578c7
test eax, eax
jne 0x6577f0
cmp dword [0x65f314], 1
je 0x6578c7
cmp edx, 0xfc
je 0x6578ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657827
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658180
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658610
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65786a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658610
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c95c
push edi
call fcn.0065a4e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658180
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658190
lea eax, [ebp - 0xa0]
push 0x65c93c
push eax
call fcn.00658190
push dword [esi + 0x65f3ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658190
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a454
add esp, 0x2c
pop edi
jmp 0x6578ed
lea eax, [ebp + 8]
lea esi, [esi + 0x65f3ec]
push 0
push eax
push dword [esi]
call fcn.00658610
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 0xb01bed
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b01bed
ret
Function at 0x10683058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.106831a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1068307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1068306a
add dl, dl
jne 0x10683089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106830dc
xor eax, eax
add dl, dl
jne 0x10683096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1068317d
add dl, dl
jne 0x106830a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106830b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106830bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106830c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106830d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10683075
mov eax, 1
add dl, dl
jne 0x106830ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106830f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106830e1
sub eax, ebx
mov ebx, 1
jne 0x10683128
mov ecx, 1
add dl, dl
jne 0x1068310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10683119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10683105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10683075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1068313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1068314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10683136
cmp eax, 0x7d00
jae 0x1068316d
cmp eax, 0x500
jb 0x10683168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10683075
cmp eax, 0x7f
ja 0x10683170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10683075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1068319e
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 0x10683075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x2e00157c
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x2e001a08
call fcn.2e00192c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x2e00236c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x2e00131c
cmp eax, esi
jne 0x2e00130f
xor esi, esi
inc esi
mov ebx, esi
jmp 0x2e00131f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2e0012f6
xor esi, esi
inc esi
mov eax, dword [0x2e002368]
cmp eax, esi
jne 0x2e001332
push 0x1f
call sub.MSVCR90.dll__amsg_exit
pop ecx
jmp 0x2e001361
mov eax, dword [0x2e002368]
test eax, eax
jne 0x2e00135b
mov dword [0x2e002368], esi
push 0x2e0010e0
push 0x2e0010d4
call sub.MSVCR90.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x2e001361
jmp 0x2e001489
mov dword [0x2e002028], esi
mov eax, dword [0x2e002368]
cmp eax, esi
jne 0x2e001385
push 0x2e0010d0
push 0x2e0010c8
call sub.MSVCR90.dll__initterm
pop ecx
pop ecx
mov dword [0x2e002368], 2
test ebx, ebx
jne 0x2e001391
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x2e002378], 0
je 0x2e0013b5
push 0x2e002378
call fcn.2e001863
pop ecx
test eax, eax
je 0x2e0013b5
push 0
push 2
push 0
call dword [0x2e002378]
mov eax, dword [sym.imp.MSVCR90.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x2e001411
test al, al
je 0x2e0013cf
cmp dword [ebp - 0x1c], 0
jne 0x2e001411
mov al, byte [esi]
test al, al
je 0x2e0013df
cmp al, 0x20
ja 0x2e0013df
inc esi
mov dword [ebp - 0x20], esi
jmp 0x2e0013cf
test byte [ebp - 0x3c], 1
je 0x2e0013eb
movzx eax, word [ebp - 0x38]
jmp 0x2e0013ee
push 0xa
pop eax
push eax
push esi
push 0
push 0x2e000000
call main
mov dword [0x2e002024], eax
cmp dword [0x2e002018], 0
jne 0x2e001465
push eax
call dword [sym.imp.MSVCR90.dll_exit]
cmp al, 0x22
jne 0x2e001420
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR90.dll__ismbblead]
pop ecx
test eax, eax
je 0x2e001433
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x2e0013bc
cmp dword [0x2e002028], 0
jne 0x2e001474
call dword [sym.imp.MSVCR90.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x2e002024]
jmp 0x2e001495
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.2e001971
ret
call fcn.2e0011b0
jmp 0x2e0012bc
Function at 0x4015e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x210
push esi
push edi
lea eax, [esp + 0x10]
push str.PopFreqDlg
mov edi, ecx
push eax
call fcn.00462c4e
add esp, 8
mov dword [esp + 0xc], 1
call fcn.00411b40
mov ecx, dword [edi + 0xb8]
mov esi, eax
neg esi
push 0
push 0
sbb esi, esi
push 0xf0
push ecx
add esi, 0x80000002
call dword [0x48a5b4]
test eax, eax
je 0x40167a
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push str.SOFTWAREASUSLifeFrame
push esi
call dword [0x48a00c]
test eax, eax
jne 0x4016b1
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.PopFreqDlg
push ecx
call dword [0x48a008]
mov edx, dword [esp + 8]
push edx
call dword [0x48a004]
pop edi
pop esi
add esp, 0x210
ret
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREASUSLifeFrame
push esi
call dword [0x48a00c]
test eax, eax
jne 0x4016b1
mov ecx, dword [esp + 8]
push str.PopFreqDlg
push ecx
call dword [section..rdata]
mov edx, dword [esp + 8]
push edx
call dword [0x48a004]
pop edi
pop esi
add esp, 0x210
ret