joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023b88
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10023cc0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], 0x1e03
mov dword [ebp - 0x2c], str.wxcbkrfx_kdyvlqkmr_ionn_puxpn_xlkum_wbue_ziiw_krvkffyu_vzm_wheyozb_ruffglav
cmp dword [ebp - 0x24], 0x1fc5
jle 0x10023c67
and dword [ebp - 0x20], 0
jmp 0x10023bea
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1b16
jge 0x10023c67
and dword [ebp - 0x18], 0
jmp 0x10023c00
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4262
jge 0x10023c62
and dword [ebp - 0x1c], 0
jmp 0x10023c16
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1c96
jge 0x10023c60
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.10001a84
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1000309c
push eax
call fcn.1004434f
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.10003092
jmp 0x10023c0f
jmp 0x10023bf9
jmp 0x10023be3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x1dd3
jge 0x10023c83
push dword [ebp - 0x2c]
call fcn.1004434f
pop ecx
jmp 0x10023c9f
or dword [ebp - 4], 0xffffffff
jmp 0x10023ca9
push dword [ebp - 0x30]
push 1
mov eax, dword [ebp - 0x34]
push dword [eax]
push dword [ebp - 0x38]
call fcn.10023d02
add esp, 0x10
jmp 0x10023cf1
lea eax, [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10023cdf
push 0x184a
push 0
call dword [sym.imp.USER32.dll_GetSubMenu]
jmp 0x10023cf1
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10023cf1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10026859
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
test dl, dl
je 0x1002686d
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
mov eax, dword [ebp + 0xc]
add dword [eax], ecx
pop ebp
ret
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
Function at 0x100279aa
Capabilities:
Log keystrokes

Disassembly:
mov eax, 0x1005ca7e
call fcn.1005b9d8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0x4cac
mov edi, ecx
cmp dword [ebp - 0x14], 0x5092
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
jle 0x10027a19
push 1
push 0x1cad
push 0x6b
call dword [sym.imp.USER32.dll_AttachThreadInput]
xor esi, esi
xor ebx, ebx
xor edi, edi
lea ecx, [edi + ebx]
mov eax, esi
sar eax, cl
mov ecx, 0x10077e58
cdq
push edx
push eax
call fcn.100030bc
inc edi
cmp edi, 0x56c6
jl 0x100279e7
inc ebx
cmp ebx, 0x6d28
jl 0x100279e5
inc esi
cmp esi, 0x6340
jl 0x100279e3
mov edi, dword [ebp - 0x18]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x49a1
jge 0x10027a54
mov edx, str.nnhdyqhva_nwfgf_ger_bclc_gkmiuj_ihzdykcn
mov ecx, 0x10077e58
call fcn.1000530a
jmp 0x10027a54
cmp byte [ebp + 8], 0
je 0x10027a60
mov eax, dword [edi]
dec dword [eax]
jmp 0x10027a83
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10027a83
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [edx]
cmp dword [edx], 2
jl 0x10027a71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fb88
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002fbe7
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002fbdb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.1000f1f7
jmp 0x1002fbe5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x1002fc04
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0
push dword [ebp - 0x20]
push 0x253d
push 0x549
call fcn.1003007a
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10031ebc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031f2e
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10031ef8
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10031ef6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x10031f2c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10031f2c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x10031f56
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 0x5883
push dword [ebp - 0x18]
push 0xa0e
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0
call fcn.1002df9c
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1003abad
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov dword [0x1025a844], ecx
inc edx
mov esi, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [edx*4 + 0x1025a844], ecx
inc edx
cmp edx, esi
jl 0x1003abc2
mov dword [0x1025a840], esi
pop esi
pop ebp
ret 8

Function at 0x1003abe8
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x1025a844
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x1025abd0
jl 0x1003abf6
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x1025ae74
jl 0x1003ac36
mov ecx, dword [0x1025bbc0]
xor ecx, dword [0x1025a844]
and ecx, edi
xor ecx, dword [0x1025bbc0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x1025a840], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x1025ae74]
mov dword [0x1025b200], eax
pop esi
ret

Function at 0x1003b721
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1005d32c
call fcn.1005b9d8
sub esp, 0x1c
mov byte [ebp - 0x14], cl
push ebx
mov ebx, edx
mov dword [ebp - 0x1c], ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x1003b812
mov dword [ebp - 0x18], 0x533e
cmp dword [ebp - 0x18], 0x548e
jle 0x1003b797
push 0x11ee
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor esi, esi
xor edi, edi
xor ebx, ebx
lea eax, [edi + esi]
mov ecx, 0x10077e58
or eax, ebx
cdq
push edx
push eax
call fcn.100030bc
inc ebx
cmp ebx, 0x366f
jl 0x1003b767
inc edi
cmp edi, 0x24df
jl 0x1003b765
inc esi
cmp esi, 0x1be0
jl 0x1003b763
mov ebx, dword [ebp - 0x1c]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x5177
jge 0x1003b7d2
mov edx, str.vjkpvcpz_bqwjztxwq_woicz_gtngv_ervbceb_pffxpr_igmqgzw_cfruzbzp
mov ecx, 0x10077e58
call fcn.1000530a
jmp 0x1003b7d2
mov esi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
mov dword [esi], 0xfffffff3
jmp 0x1003b80b
push ecx
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xb9725245
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0xff12f3cc
lea edx, [ebp - 0x24]
mov ecx, 0x1a23
call fcn.1003beab
add esp, 0x14
inc dword [esi]
cmp dword [esi], 0xfffffff6
jle 0x1003b7e1
jmp 0x1003b81a
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003b852
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp byte [ebp + 0x18], 0
push ebx
push esi
mov ebx, edx
mov byte [ebp - 8], cl
push edi
mov dword [ebp - 0xc], ebx
je 0x1003b8bc
cmp byte [ebp + 8], 0
je 0x1003b895
mov edx, dword [ebp + 0x10]
xor esi, esi
mov dword [edx], esi
cmp dword [edx], 2
jge 0x1003b95e
mov edi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], esi
inc dword [edx]
cmp dword [edx], 2
jl 0x1003b882
jmp 0x1003b95e
mov ecx, dword [ebp + 0xc]
push 0x1b
pop esi
mov dword [ecx], esi
cmp dword [ecx], esi
jne 0x1003b95e
mov edx, dword [ebp + 0x20]
mov eax, dword [edx]
mov dword [eax + 4], 0xb5d1cb6a
inc dword [ecx]
cmp dword [ecx], esi
je 0x1003b8a8
jmp 0x1003b95e
mov dword [ebp + 0x18], 0x13a0
cmp dword [ebp + 0x18], 0x151f
push 0
pop esi
jle 0x1003b923
mov edi, esi
mov ebx, esi
mov ecx, ebx
mov eax, edi
sar eax, cl
lea ecx, [ebp - 0x24]
cdq
push edx
push eax
call fcn.10001a84
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003b8ee
mov eax, dword [eax]
push eax
call fcn.1004434f
pop ecx
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.100035c0
inc ebx
cmp ebx, 0x7f99
jl 0x1003b8d3
inc edi
cmp edi, 0x4aaa
jl 0x1003b8d1
push 0x1313
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, dword [ebp - 0xc]
cmp dword [ebp + 0x18], 0x106d
jge 0x1003b937
push str.ntr_exfb_oxjknocjt_skzrgu_qtpinszir_pfqvlwp_sfzksak_dyd_vpvp_ymy_bipv_toxz_ntzekfog_rvka
call fcn.1004434f
pop ecx
cmp byte [ebp - 8], 0
je 0x1003b945
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
jmp 0x1003b95e
mov edx, dword [ebp + 0x1c]
mov dword [edx], esi
jmp 0x1003b959
mov ecx, dword [edx]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x6192
inc dword [edx]
cmp dword [edx], 1
jl 0x1003b94c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003b9aa
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov byte [esp], dl
push esi
test dl, dl
je 0x1003b9c1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1003b9e4
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1003b9e4
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [edx]
cmp dword [edx], 2
jl 0x1003b9d2
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003bc8f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 4], cl
mov ebx, edx
mov dword [ebp - 0xc], 0x4511
cmp dword [ebp - 0xc], 0x4718
push esi
push edi
mov dword [ebp - 0x10], ebx
jle 0x1003bd1d
xor esi, esi
mov dword [ebp - 8], esi
xor edi, edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov esi, edx
mov eax, esi
lea ecx, [ebp - 0x28]
xor eax, ebx
cdq
push edx
push eax
call fcn.10001a84
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003bcd9
mov eax, dword [eax]
push eax
call fcn.1004434f
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100035c0
inc ebx
cmp ebx, 0x5448
jl 0x1003bcc0
mov esi, dword [ebp - 8]
inc edi
cmp edi, 0x6250
jl 0x1003bcb7
inc esi
mov dword [ebp - 8], esi
cmp esi, 0x4fa4
jl 0x1003bcb5
push 0xb4d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0x4251
jge 0x1003bd31
push str.uxbtmmtos_vbzjece_bsfw_wofxxy_ykx_mqhsfwue_cbbym_sgolowkvb_jwlgxux
call fcn.1004434f
pop ecx
cmp byte [ebp - 4], 0
je 0x1003bd59
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1003bd6c
mov esi, dword [ebp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi]
and dword [eax + ecx*4], 0
inc dword [edx]
cmp dword [edx], 3
jl 0x1003bd48
jmp 0x1003bd6c
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
push dword [ebx + 4]
push dword [ebx]
push dword [ecx + 4]
call fcn.1003de99
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e8e4
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
xor edi, edi
mov ebx, 1
lea ecx, [esi + 0xcc]
call fcn.00440170
lea ecx, [esi + 0xd0]
mov dword [ebp - 4], edi
call fcn.00440170
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], bl
call fcn.00440170
mov byte [ebp - 4], 2
lea ecx, [esi + 0xd8]
call fcn.00440170
mov byte [ebp - 4], 3
lea ecx, [esi + 0xdc]
call fcn.00440170
mov byte [ebp - 4], 4
lea ecx, [esi + 0xe0]
call fcn.00440170
mov byte [ebp - 4], 5
lea ecx, [esi + 0xe4]
call fcn.00440170
mov byte [ebp - 4], 6
lea ecx, [esi + 0xe8]
call fcn.00440170
mov byte [ebp - 4], 7
lea ecx, [esi + 0xec]
call fcn.00440170
mov byte [ebp - 4], 8
lea ecx, [esi + 0xf0]
call fcn.00440170
mov byte [ebp - 4], 9
lea ecx, [esi + 0xcc]
call fcn.00440250
lea ecx, [esi + 0xf0]
call fcn.00440250
lea ecx, [esi + 0xe0]
call fcn.00440250
lea ecx, [esi + 0xe4]
call fcn.00440250
lea ecx, [esi + 0xd0]
call fcn.00440250
lea ecx, [esi + 0xd4]
call fcn.00440250
lea ecx, [esi + 0xd8]
call fcn.00440250
mov dword [esi + 4], 0x1ae
mov dword [esi], 0xcf
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
push edi
mov dword [esi + 0x20], ebx
mov dword [esi + 8], 0x1af
mov dword [esi + 0x1c], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esi + 0xb0], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xf4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xac], 2
mov eax, esi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xc0], 0x2b11
mov dword [esi + 0xc4], 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f0a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, 0x465bd8
jmp 0x403070
Function at 0x414bd0
Capabilities:
Capture microphone audio

Disassembly:
cmp dword [ecx + 0x5a], 0
je 0x414bde
mov ecx, dword [ecx + 0x62]
jmp 0x42b2d0
ret
cmp dword [ecx + 0x14], 0
jne 0x42b2dc
mov eax, 0xffffffec
ret
jmp 0x42b790
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x42b7eb
cmp word [eax], 3
jne 0x42b7eb
cmp word [eax + 2], 1
jne 0x42b7c9
mov word [eax], 1
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0x9e]
push ecx
call dword [sym.imp.WINMM.dll_waveOutRestart]
test eax, eax
je 0x42b7eb
mov eax, 0xffffff9d
ret
mov word [eax], 2
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0xa2]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
je 0x42b7eb
mov eax, 0xffffff9d
ret
xor eax, eax
ret
Function at 0x416e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 4
mov dword [esp], pe_nt_image_headers32
push esi
push edi
mov esi, 1
lea edi, [ecx + 0x17c]
push edi
mov eax, dword [ecx + 0x184]
push 0xf003f
mov ecx, dword [ecx + 0x180]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416e7f
lea eax, [esp + 8]
mov ecx, dword [esp + 0x14]
push eax
push pe_nt_image_headers32
call fcn.00440652
push eax
mov ecx, dword [edi]
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416e7f
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x416e81
xor esi, esi
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
call fcn.004406a7
mov eax, esi
pop edi
pop esi
add esp, 4
ret 8

Function at 0x416ea0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 4
mov eax, dword [ecx + 0x184]
mov dword [esp], 4
push esi
lea esi, [ecx + 0x17c]
push esi
mov ecx, dword [ecx + 0x180]
push 0xf003f
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416f0b
lea eax, [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
mov eax, dword [esi]
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416f0b
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x416f0b
mov eax, 1
pop esi
add esp, 4
ret 8
xor eax, eax
pop esi
add esp, 4
ret 8

Function at 0x417000
Capabilities:
Set registry value

Disassembly:
sub esp, 4
lea eax, [esp]
push esi
push edi
lea esi, [ecx + 0x17c]
push eax
push esi
push 0
mov edx, dword [ecx + 0x184]
push 0xf003f
mov ecx, dword [ecx + 0x180]
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x417074
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov ecx, dword [esp + 0x10]
push eax
mov edx, dword [esi]
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x417074
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x417074
mov eax, 1
pop edi
pop esi
add esp, 4
ret 8
xor eax, eax
pop edi
pop esi
add esp, 4
ret 8

Function at 0x417080
Capabilities:
Set registry value

Disassembly:
sub esp, 4
lea eax, [esp]
push esi
lea esi, [ecx + 0x17c]
push eax
push esi
mov edx, dword [ecx + 0x184]
push 0
mov ecx, dword [ecx + 0x180]
push 0xf003f
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4170eb
lea eax, [esp + 0x10]
push 4
mov ecx, dword [esp + 0x10]
push eax
push 4
mov edx, dword [esi]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4170eb
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4170eb
mov eax, 1
pop esi
add esp, 4
ret 8
xor eax, eax
pop esi
add esp, 4
ret 8
Function at 0x41d3d0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d6e7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00440170
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00440170
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00440170
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00440170
push 0x462f54
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0044033d
push str.:_
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.0044033d
push 0x462f4c
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.0044033d
push 0x462f48
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0044033d
lea ecx, [esi + 0x50]
push str.M_d_yy
mov byte [ebp - 4], 7
call fcn.0044033d
lea ecx, [esi + 0x54]
push str.intl
mov byte [ebp - 4], 8
call fcn.0044033d
lea ecx, [esi + 0x58]
push str.iDate
mov byte [ebp - 4], 9
call fcn.0044033d
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push str.iTime
call fcn.0044033d
lea ecx, [esi + 0x60]
push str.iTLZero
mov byte [ebp - 4], 0xb
call fcn.0044033d
lea ecx, [esi + 0x64]
push str.s1159
mov byte [ebp - 4], 0xc
call fcn.0044033d
lea ecx, [esi + 0x68]
push str.s2359
mov byte [ebp - 4], 0xd
call fcn.0044033d
lea ecx, [esi + 0x6c]
push str.sDate
mov byte [ebp - 4], 0xe
call fcn.0044033d
lea ecx, [esi + 0x70]
push str.sTime
mov byte [ebp - 4], 0xf
call fcn.0044033d
lea ecx, [esi + 0x74]
push 0x462efc
mov byte [ebp - 4], 0x10
call fcn.0044033d
lea ecx, [esi + 0x78]
push 0x462ef8
mov byte [ebp - 4], 0x11
call fcn.0044033d
lea ecx, [esi + 0x7c]
push 0x462ef4
mov byte [ebp - 4], 0x12
call fcn.0044033d
lea ecx, [esi + 0x80]
push 0x462ef0
mov byte [ebp - 4], 0x13
call fcn.0044033d
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004403c8
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004403c8
push ebx
lea ecx, [esi + 0x20]
call fcn.004403c8
push edi
lea ecx, [esi + 0x24]
call fcn.004403c8
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0043e299
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0041d700
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4223e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422516
push eax
mov dword fs:[0], esp
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CObject.0
mov edi, ecx
push str.SCMOVv1.0
mov dword [ebp - 4], ebx
lea ecx, [edi + 4]
call fcn.0044033d
lea ecx, [edi + 8]
push str.SCMOVv2.0
mov byte [ebp - 4], 1
call fcn.0044033d
lea ecx, [edi + 0xc]
push str.SCMOVv2.1
mov byte [ebp - 4], 2
call fcn.0044033d
lea ecx, [edi + 0x10]
push str.SCMOVv3.0
mov byte [ebp - 4], 3
lea esi, [edi + 0x40]
call fcn.0044033d
lea ecx, [edi + 0x14]
push str.MTII3.0
mov byte [ebp - 4], 4
call fcn.0044033d
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.00440170
mov byte [ebp - 4], 6
lea eax, [edi + 0x19]
mov dword [edi], method.CObject.virtual_0
mov byte [edi + 0x18], pe_nt_image_headers32
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov word [edi + 0x38], bx
mov dword [edi + 0x2c], ebx
mov word [edi + 0x36], bx
mov dword [edi + 0x28], ebx
mov word [edi + 0x3a], bx
mov dword [edi + 0x30], ebx
mov word [edi + 0x34], bx
mov ecx, esi
mov word [edi + 0x26], 1
mov word [edi + 0x3e], bx
mov word [edi + 0x3c], bx
call fcn.00440250
mov dword [edi + 0x44], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret