joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d52c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x51d541
add esp, 0xfffffff0
call fcn.004065b4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51d6f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], cl
mov dl, 1
mov eax, dword [0x4d2c10]
call fcn.004d3750
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push 0
mov ecx, 0x51d728
mov dl, 1
mov eax, dword [0x4dcce4]
call fcn.004dcfd8
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x51d744
call sub.user32.dll_RegisterWindowMessageW
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, 0x51d770
call fcn.004b45cc
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, ebx
xor edx, edx
call fcn.004b7130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x51d798
call fcn.004b8214
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b5d04
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [ebx + 0x46c], eax
mov dword [ebx + 0x468], 0x51e6c8
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push 0x51e4b8
push 0
push 1
push 0
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 1
call fcn.004b1de4
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push 0
push 0
push 0
push 0
mov edx, 0x51d7c8
mov eax, esi
movzx ecx, word [0x51d7c8]
call fcn.004b27d4
push 0
push 0
push 0
push 0
mov edx, 0x51d7c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d7c8]
call fcn.004b27d4
push 0
push 0
push 0
push 0
mov edx, 0x51d7c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d7cc]
call fcn.004b27d4
push 0
push 0
push 0
push 0
mov edx, 0x51d7c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51d7c8]
call fcn.004b27d4
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
push 0x51d7d0
mov eax, dword [0x536c50]
push eax
call sub.user32.dll_LoadIconW
push eax
push 0x414
push 0x51d770
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b5d04
mov ecx, eax
mov dl, 1
mov eax, dword [0x4d1cd4]
call fcn.004d1fac
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51d6fa
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x51d712
call fcn.0040660c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x523ea4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 2], dl
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x52408e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x524069
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004cfacc
mov ecx, ebx
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
call fcn.004f4590
test bl, bl
je 0x523efb
movzx edx, byte [ebp - 2]
movzx eax, byte [ebp - 1]
call fcn.0051c714
call fcn.005192fc
xor eax, eax
push ebp
push 0x523fe1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [0x532e20]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
push 1
mov eax, dword [0x533190]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
push 1
mov eax, dword [0x533048]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
push 1
mov eax, dword [0x532d70]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
push 1
mov eax, dword [0x533014]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
push 1
mov eax, dword [0x5331a4]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.0047f44c
mov edx, dword [0x532b88]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x5240a8
call fcn.00408b0c
mov eax, dword [ebp - 8]
mov dl, 1
call fcn.0047fe10
mov edx, dword [0x532b88]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, 0x5240cc
call fcn.00408b0c
mov eax, dword [ebp - 0xc]
mov dl, 1
call fcn.0047fe10
mov edx, dword [0x532b88]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
mov ecx, 0x5240f0
call fcn.00408b0c
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.0047fe10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x523feb
xor eax, eax
push ebp
push 0x524025
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x52411c
mov eax, 0x80000001
call fcn.004706e4
mov cl, 1
mov edx, 0x52411c
mov eax, 0x80000002
call fcn.004706e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x52402f
mov eax, dword [0x532d28]
mov eax, dword [eax]
mov ecx, 0x524158
mov edx, 0x524180
call fcn.00470478
call fcn.004d7860
push 0
mov eax, dword [0x5330d8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x5241ec
call fcn.004869e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524073
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524095
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407c90
ret
Function at 0x40eb2e
Capabilities:
Encode data using xor

Disassembly:
dec esi
lodsb al, byte [esi]
and al, 0x25
xor dword [ecx - 0x3e], eax
xor eax, 0x9c6c1325
fimul word [eax]
lea eax, [eax + 0x6314fd35]
adc al, 0x63
push es
push edi
push esi
fild dword [edi - 0x11d7047d]
add byte [edx + 0x26], bl
mov edx, 0x4c123791
and ch, byte [eax + 0x76]
adc al, 2
fdiv qword [edi + 2]
cmp edx, esp
add esi, dword [edx - 0x5b]
add byte [edx - 0x517a8f99], 0xd3
push edi
wait
test eax, 0xc74b5265
lahf
xor dword [ebp + 0x76d54b3], 0x63
xor al, 0xb0
inc ecx
std
xor eax, edi
add al, 0x6a
push edx
jl 0x40eb40
retf

Function at 0x4177e7
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x86
and dword [ebx - 0x572ff8f5], esp
out dx, eax
xor eax, 0x406d6328
cwde
or eax, 0x1369499f
adc ecx, dword [edi]
test byte [ecx - 0x1a5b4b1b], 0x8c
lea ebp, [edi]
sbb eax, 0x318b871e
sbb eax, 0x318b871e
sbb eax, dword [ebp - 0x778ddfdb]
xor dword [ebp - 0x796495fc], ebp
test ah, cl
salc
mov eax, dword [0x7b8a54d4]
mov ebp, dword [edi - 0x62e5d22b]
je 0x4177f2
idiv ebx
add dword [ebx], ecx
arpl word [esi + edi], dx
fstp qword [eax - 0x4b]
sbb ebp, dword [esi + 0x24f177b1]
invalid

Function at 0x42c969
Capabilities:
Encode data using xor

Disassembly:
jp 0x42c98f
std
sub dword [ebp - 0x122e9d21], ebx
in eax, dx
pop ebp
inc ebp
out 0xfb, al
push 0x10
invalid
fistp word [esi - 0x7566281]

Function at 0x42daf0
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0xfc
xbegin 0x769c69d0
fcmovu st(0), st(3)
invalid

Function at 0x49376a
Capabilities:
Encode data using xor

Disassembly:
imul ebp, dword [eax], 0x72
xchg esp, eax
mov dword [esi - 0x6bace71], edx
mov word [edx + ecx*2], es
fdivr dword [eax]
cmc
jg 0x493715
or eax, 0xf8dc51d4
ret
adc eax, 0x46f1c4d5
pushal
pop ds
sbb al, byte [edx]
or esi, dword [ebx]
scasb al, byte es:[edi]
je 0x493706
add al, 0x16
daa
adc al, 0xe2
push ebx
loop 0x493794
mov ebp, dword [ebp + ebp + 9]
lodsb al, byte [esi]
mov bh, 0xed
cmp eax, 0x876a5a8
mov dword [edi + 0x63], edx
imul edx, dword [edx], 0x3d895581
sub ebp, dword [ecx + 0x44c1d4e8]
push ebp
pmullw mm1, qword [eax + ebp*2 - 0x77]
stosd dword es:[edi], eax
invalid
cmp eax, 0xd4e8a92b
rol dword [ebp + edx*2 + 0xf], 0xd5
dec esp
push 0x4a8fab89
insb byte es:[edi], dx
lodsd eax, dword [esi]
imul esp, ebp, 0xc53d765e
mov ah, 0xc3
call 0x30de881a
push ecx
mov ch, 0x65
push eax
xchg ebp, eax
xor byte [ecx + 0x36], dl
mov ch, 0x65
loopne 0x4937af
add eax, 0xf6b798bc
dec ecx
test byte [edx - 0x69], cl
add eax, 0x25a119ce
sal dword [ecx + 5], 1
clc
mov ebx, 0x457da504
out 0xe3, al
dec eax
sar dword [0x3d661eaa], cl
lodsd eax, dword [esi]
push 0xef64095e
mov dword [0xe4bd0b8b], eax
test eax, 0xe4e9a0ac
shl ebp, 0x8a
jmp 0x70b3fd67
Function at 0x49c08e
Capabilities:
Encode data using xor

Disassembly:
les ebx, [esi + eax*2 - 0x2c]
test al, 0x94
sbb al, 0x47
sub esp, dword [esi]
add edx, ecx
xchg edx, eax
aaa
sub bh, byte [ecx]
dec esp
outsd dx, dword [esi]
jb 0x49c095
add al, 0xa7
push ss
cmpsb byte [esi], byte es:[edi]
jecxz 0x49bffc
jg 0x49bfec
aaa
imul edx, dword [edx - 0xc71571c], 0x6b
add dword [ebp + ecx*8 + 0x17], eax
mov eax, dword [0x471033d7]
inc esp
mov al, 0x46
pushal
pop ebx
cmp esi, dword [edi*8 + 0x58fcf5ff]
inc ebx
xor eax, 0xf8515de1
aaa
fsub dword [0xad2c2d55]
sub ah, byte [esp + edx]
mov cl, ch
out 0x9a, eax
dec esp
loopne 0x49c053
in al, 0xa8
invalid
fisub word [edi]
jae 0x49c105
in al, dx
invalid
and eax, 0x25ed7bfa
and al, 0x72
mov ch, 0xf0
push es
fadd qword [eax]
mov ds, word [edi - 0x4e25380b]
clc
sub dword [esi], esi
daa
scasd eax, dword es:[edi]
jno 0x49c039
clc
mov cl, 0x7c
imul ebp, dword [edi - 0x6e], 0xc601351
sub bl, byte [ecx - 0x46]
mov byte [ebp - 0xeb3262f], bl
mov edx, 0xe078bcf5
xor eax, 0xd071b331
xor al, 0x2d
int3
adc al, 1
out 0xe7, eax
call 0x5fdf7598
invalid

Function at 0x4a1b9f
Capabilities:
Encode data using xor

Disassembly:
int 0x97
je 0x4a1bda
div byte [ebp*8 - 0x57aee304]
fimul word [ecx - 0x24]
cmp al, 0x34
stc
xor eax, 0xfec0916a
cdq
xor al, 0x1f
popal
xchg byte [esi + 0x40aa29fa], ch
push ds
push esi
or bh, byte [0xcdd3ffa1]
xor eax, 0x2927cd93
push esi
dec ebp
xor dh, dh
out 0xf3, eax
call [ecx - 0x2d]
je 0x4a1b89
mov al, byte [0xf7a9a878]
sbb al, 0x7d
in eax, dx
sti
mov esp, 0x1ed1cef8
push ebp
add ecx, ebx
pop ebx
and byte [edx - 0x67], 0x8a
and ch, byte [esi + 0x1a959510]
jno 0x4a1c45
scasb al, byte es:[edi]
adc byte [ebp + 0x64711a95], dl
xor esp, esi
mov dword [0x772b2270], eax
cmp ah, byte [eax - 0x54aa3f82]
pushfd
add byte [edi + ecx*4 + 0x75], ch
mov esi, 0x5d2e9633
push edx
int1
mov bh, 0xe7
mov eax, dword [0x7a7dedf8]
mov cs, ebx
leave
pop ss
sahf
xchg byte [ecx], al
sbb al, byte [eax - 0x4880d887]
mov dh, 0xa9
mov ebx, 0x8fa90d02
sub al, 0x45
scasb al, byte es:[edi]
imul eax, dword [ecx - 0x4c], 0xb4680037
sbb ah, dh
xchg ebp, eax
xor esi, dword [ebx + 0x79]
mov byte gs:[ebp + 0x7e], ah
inc esi
aas
inc eax
daa
or byte [edi + 0x5a], bh
jo 0x4a1c56
or ebp, 0x13512ec2
in eax, dx
pop esp
invalid
Function at 0x4ab978
Capabilities:
Encode data using xor

Disassembly:
js 0x4ab9ae
mov edi, dword [esi - 0x56]
arpl dx, cx
dec esp
lahf
inc ebx
mov esp, 0x8199a13d
dec esp
inc eax
push ecx
bound edx, qword [edi]
add al, 0x2c
mov ecx, 0x46866597
retf
adc dword [ebx], ebp
xchg edx, eax
jo 0x4ab9dc
adc eax, 0x632c8ced
xchg dword [eax + ecx], esp
fcmovnu st(0), st(5)
mov dword [0x75fe1399], eax
or byte [esi], bl
sbb ch, dl
imul ebp, dword [ecx + 0xd22e005], 0x55
outsd dx, dword [esi]
pop esi
mov byte [0x650d526f], al
sub byte [esi], bl
mov al, byte [0x1570e934]
inc edx
pop ebp
sub al, 9
nop
dec esp
mov word [edx + 0xe0a462d], ds
test al, 0x2e
cmp byte [eax + 0x4c], 0x14
adc dword [eax - 0x71cb31bb], ecx
dec esp
adc al, 0x11
mov byte [ebp - 0x32], al
xor al, 0x8e
or dword [ebx + 0x7e], ecx
sub dword [edi - 0x55], 0x8d985267
mov ah, 0xf1
xchg esp, eax
cmc
jbe 0x4ab9eb
xchg esi, eax
or eax, 0xc18dc37
pop esi
mov edx, 0x324aa495
fisttp dword [edi + 0x16a73e9b]
fadd qword [esi + ecx*2]
add al, 0x4c
sar dword [0xeb8ae095], 0x7a
inc ebx
push ebx
fidiv word [esi + 0x7c9d9dbd]
loope 0x4ab9b1
push ebx
sub al, 0x1c
jne 0x4aba98
pop esi
sahf
jo 0x4aba03
inc ecx
adc dword [edi + 0x6bd17bd], edi
jmp 0x4aba3f
xchg edi, eax
pop ds
adc ecx, dword [esi + 0x50]
scasb al, byte es:[edi]
movsd dword es:[edi], dword [esi]
push ebp
inc ebx
sbb dl, byte [ecx - 0x6b164f39]
inc ebx
xchg esp, eax
jnp 0x4abacb
dec edi
cld
stosd dword es:[edi], eax
mov ecx, 0x7e386490
aaa
pop edx
invalid
dec esp
adc byte [0xec098997], al
sbb ebx, ebp
lodsd eax, dword [esi]
xor al, 0xb
xchg edi, eax
or dword [edi - 0x1a6d09ec], eax
push edx
sub eax, 0x23a2f59f
pop eax
dec edx
cmpsd dword [esi], dword es:[edi]
sub eax, 0xf30f0fdb
movsb byte es:[edi], byte [esi]
jp 0xb26b558d
cmp byte [esi - 0x3f], ah
lodsd eax, dword [esi]
loope 0x4abaf9
inc ecx
xlatb
and al, 0xfe
wait
je 0x4abb06
mov bh, 0x7e
lcall 0xa04b, 0x853ef2aa
dec ecx
pop ds
add dl, dl
jb 0x4abac0
or al, 0xc3
popal
cmp dx, word [ebx]
xor dword [ebp - 0x49], ebx
outsb dx, byte [esi]
push ss
rol edi, 0x78
test dword [edi + 8], 0x96e7ce9d
sbb dword [eax - 0x46], edi
inc esp
loop 0x4abaea
invalid
call 0xbb94e0be
sbb cl, byte [esi + esi + 0x4ad41f4]
ret 0x6698
Function at 0x4ba545
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2380
cmp edx, dword [eax]
je 0x4ba567
add eax, 8
inc ecx
cmp eax, 0x4c2410
jl 0x4ba558
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2380]
jne 0x4ba695
mov eax, dword [0x4c6d0c]
cmp eax, 1
je 0x4ba66f
test eax, eax
jne 0x4ba598
cmp dword [0x4c22a8], 1
je 0x4ba66f
cmp edx, 0xfc
je 0x4ba695
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba5cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004baf30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb3c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba612
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb3c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf9a4
push edi
call fcn.004bd290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004baf30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004baf40
lea eax, [ebp - 0xa0]
push 0x4bf984
push eax
call fcn.004baf40
push dword [esi + 0x4c2384]
lea eax, [ebp - 0xa0]
push eax
call fcn.004baf40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd204
add esp, 0x2c
pop edi
jmp 0x4ba695
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2384]
push 0
push eax
push dword [esi]
call fcn.004bb3c0
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
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
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x62f2142c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5cb34d7d
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xc998f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76a000]
push edi
or ebp, 0xffffffff
jmp 0xc99912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc99919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc99908
mov eax, 1
add ebx, ebx
jne 0xc9992b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc9993c
jne 0xc9995b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc9995b
dec eax
add ebx, ebx
jne 0xc99948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc99920
add ebx, ebx
jne 0xc99957
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc999ad
xor ecx, ecx
sub eax, 3
jb 0xc99973
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc999e2
sar eax, 1
mov ebp, eax
jmp 0xc9997e
add ebx, ebx
jne 0xc9997e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc9994c
inc ecx
add ebx, ebx
jne 0xc9998c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc9994c
add ebx, ebx
jne 0xc99999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc9998e
jne 0xc999aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc9998e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc999cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc999be
jmp 0xc9990e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc999cc
add edi, ecx
jmp 0xc9990e
pop esi
mov edi, esi
mov ecx, 0x40ad4b
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xc99a07
cmp byte [edi], 0x6e
jne 0xc999ec
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xc999ea
lea edi, [esi + 0x86b000]
mov eax, dword [edi]
or eax, eax
je 0xc99a4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc11eb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc11fe4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc99a0d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc11fe8]
or eax, eax
je 0xc99a49
mov dword [ebx], eax
add ebx, 4
jmp 0xc99a2a
call dword [esi + 0xc11ff0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xc99a80
cmp al, 0xef
ja 0xc99a73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xc99a55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xc99a62
mov ebp, dword [esi + 0xc11fec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xc99ab4
sub esp, 0xffffff80
jmp 0x87dcc8
Function at 0x40140d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
mov edi, eax
push esi
mov dword [esi + 0xc], edi
call fcn.0040187b
cmp dword [esi + 0x220], 0
je 0x40142f
push esi
call fcn.00401b32
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ebx, [ebp - 0x14]
call fcn.00408e69
pop ecx
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
push 5
sub eax, dword [ebp - 0x10]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x10]
push ecx
push ecx
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x14]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
add eax, 0x18
push eax
push 0x3e9
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x3eb
push ebx
push dword [esi + 0xc]
call edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
or eax, 2
push eax
push ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
or eax, 0x20
je 0x4014c9
push 5
jmp 0x4014cb
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x220], 0
je 0x4014fd
push 0
push ebx
push dword [esi + 0xc]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x3ed
push dword [esi + 0xc]
call edi
push eax
call ebx
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret
Function at 0x401b32
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1324
call fcn.00410af0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push 0x3eb
push dword [esi + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0x3ed
push dword [esi + 0xc]
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x458], ebx
mov dword [ebp - 8], ebx
jne 0x401bfb
lea eax, [esi + 0x224]
push eax
lea eax, [ebp - 0x1324]
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_s.exe
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x1324]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401bfb
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401bf2
mov eax, dword [esi + 4]
add eax, 0x18
push ebx
push eax
lea ecx, [ebp - 0x114]
call fcn.0040721a
pop ecx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x329]
cmp byte [eax], bl
je 0x401d15
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x21c], bl
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004075e0
lea esi, [ebp - 0x114]
call fcn.00406f00
mov eax, dword [ebp + 8]
add eax, 0x329
push eax
mov dword [ebp - 4], eax
mov eax, esi
push eax
call sub.MSVCRT.dll_strcat
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push ebx
push dword [eax + 8]
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00401ff5
add esp, 0x20
cmp eax, 1
jne 0x401c92
push 0x678
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x401ca8
mov edi, eax
call fcn.004029f2
jmp 0x401caa
push 0x1e8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x401ca8
call fcn.00403347
jmp 0x401caa
xor eax, eax
cmp eax, ebx
je 0x401d15
mov ecx, dword [esi + 4]
push ebx
push dword [ecx + 8]
mov edi, eax
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 4]
test eax, eax
jne 0x401d0d
mov eax, dword [edi]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x114]
push ecx
push dword [ebp - 4]
mov ecx, edi
call dword [eax + 0x14]
test eax, eax
jne 0x401d0d
lea eax, [ebp - 0x324]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 1
lea eax, [ebp - 0x324]
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
pop edi
pop esi
pop ebx
leave
ret 4