joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a110
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x501354]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x45a123
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x45a164
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x5013fc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x45a196
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45a19a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x45a18b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x45a1b8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45a1bc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45a1ad
xor ecx, ecx
mov eax, 0x501364
xor ebx, ebx
mov bl, byte [ecx + 0x50140c]
cmp byte [esp + ebx + 0x14], 0
je 0x45a1e7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x501424]
cmp byte [esp + ebx + 0x14], 0
je 0x45a1fe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x45a1ce
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x45a157
lea edx, [esp + 0x84]
push edx
call fcn.0045a240
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x45c710
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45c759
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45cbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47eab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045c780
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045c800
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045c800
lea ecx, [esi + 0xc]
call fcn.00470259
lea ecx, [esi + 0x10]
call fcn.00470259
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045dd90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045dd90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045dd90
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004702ce
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004702ce
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45df80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45dfe6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45dfe6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45dfc7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47269c
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4726d4
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.00470729
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00470701
jmp 0x4726e0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x473d8d
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 0x473dcf
call fcn.00479901
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x473dcf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x473dc6
xor eax, eax
jmp 0x473dd7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00473ddd
pop edi
pop esi
pop ebx
ret 4

Function at 0x479e31
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 0x479e5f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x479e7d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00479d97
jmp 0x479e7d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x479e7d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00479d97
test edi, edi
mov eax, edi
jne 0x479e67
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405605
Capabilities:
Check for vm using instruction vpcext

Disassembly:
jne 0x40560f
test edi, ebx
je 0x40563b
mov eax, dword [esi + 0x50]
test eax, eax
je 0x405619
sal byte [edi + eax + 0x12], 0x13
adc dl, byte [ebx]
mov dword [esi + 2], ecx
jmp 0x405621
push 0x10
push esi
call 0x3fa560
mov ecx, dword [ecx]
xor cl, byte [ebx + 0x50891d4d]
add al, 0x8b
mov ss, word [ecx + ecx*4]
dec eax
or byte [ecx], al
push eax
or al, 0x8b
dec esi
adc byte [ecx + 0x10464008], cl
add byte [ebp - 0x3e], bl
adc byte [eax], al

Function at 0x405640
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
test dword [ecx], edx
je 0x4056ac
mov eax, dword [edx + 0x10]
mov esi, dword [ebp + 0x62]
mov edi, dword [ebp + 0xc]
xor cl, byte [edx + 0x10]
mov eax, eax
je 0x40567d
invalid
and dword [ecx + 0x384e8d38], 0x24
sal byte [ebp + 0x39], 0x78
add al, 0x75
add eax, 0x329e7039
invalid
pop edi
pop ebx
pop ebx
pop ebp
ret 0x6f0c

Function at 0x405850
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add bl, ch
pop es
sbb al, 0x45
add al, 0x13
add byte [eax], al
add byte [edi + 0x76], ah
or byte [ebp - 0x7a2f8a0a], al
push edi
sub cl, byte [ebx - 0x6b7a038b]
jg 0x405803
test edi, edi
imul dword [edx]
mov esi, dword [ebp - 4]
test dword [edi + edi*2 - 0x7ef783dd], edx
sti
sub esi, eax
sub eax, 0x56237300
jl 0x4057ea
cmp ebx, 0x2dc629
jae 0x40580d
push esi
push ebx
call 0xcb6d96
push 0
push 2
push esi
push ebx
call fcn.0040b540
mov ebx, eax
mov dword [ebp - 4], edx
neg byte [ebp - 0x74f7a275]
cmp dword [esi + 4], 2
mov ebx, dword [ebp + 8]
mov esi, ebx
cmp dword [esi + 4], 2
fisttp qword [ebx + ecx*4 + 0x50156acd]
mov word [ebx + 0x50156acd], cs
call 0x40ecd0
loop 0x405890
or edx, ebp
div byte [ebp - 0x17]
scasd eax, dword es:[edi]
jne 0x405869
jne 0x405869
add al, 0xf6
sal byte [esi + ecx - 0x75], 0xe
dec edi
add byte [edx], ch
mov esp, 0x7ae851c4
je 0x405835
jecxz 0x4057c2
fnstenv [eax]
test esi, esi
jne 0x405821
pop esi
pop edi
pop ebx
mov esi, dword [eax]
pop ebp
jp 0x4057d5
aad 0x90
nop
nop
nop
mov edi, esp
invalid
push ebp
mov ebp, esp
push esi
jle 0x4058cb
or al, 0x33
rol byte [ebp + 0x572b740f], 0x8b
nop
xor dword [ecx], 0xffffff97
inc edi
jae 0x4057f1
xor eax, 0x49d1f708
jns 0x405866
ror dword [ecx + 0x79], 1
stc
inc edi
push edi
lcall 0x8bff, 0xfff1ebe8
iretd
loope 0x4058ee
in al, dx
sub esp, 0x24
push ebx
popal
jnp 0xdb736507
xor edx, edx
test edi, edi
je 0x4058c7
or dh, byte [ebp + 0xc]
and dword [edi + edi*8 + 0x33], 0xffffffc0
push edx
scasb al, byte es:[edi]
not ecx
cmp byte [ebx + 0x57106fb], al
mov dword [ecx - 0x74bc2363], esi
jle 0x4058c2
or dword [eax], 0xffffffe6
add edx, ecx
invalid
sar edi, 1
push dword [ebp + 0x1b]
jl 0x40590e
or byte [edx + 0x52], al
push edx
push eax
out dx, eax
invalid
cmp ecx, 6
jge 0x4058fd
mov eax, dword [ebp + ecx*4 - 0x24]
inc ecx
mov dword [ebp - 4], ecx
jmp 0x40590b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
sub byte [esi + 0x6149d1f7], ch
ror dword [ebx - 0x740574b3], 0xd9
mov ecx, dword [ebp - 0x75]
cli
mov ebx, ecx
add edx, eax
pop edi
jmp 0x697d4c1b
Function at 0x405d20
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov cl, pe_nt_image_headers32
cmc
add dword [eax], eax
sbb al, al
jne 0x85dd5e30
jne 0x405d72
fmul qword [eax]
inc ecx
sbb dword [edi + ecx], edx
mov esi, gs
add byte [eax], al
add byte [ecx + 0x4103a0], ah
test eax, eax
sub dword [ebp + 0xfce1], eax
mov dword [0x580384], 0x730101
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, eax
test dword [ecx + 0x58a15074], eax
add eax, dword [ecx]
test eax, eax
jne 0x405d89
push eax
push 0x62f410
bound eax, qword [eax]
push 4
xlatb
invalid
lea ecx, [ebp - 4]
push ecx
push esi
mov ch, byte [ebx + esi*4 + 0x74f685f0]
sbb eax, 0x8bfc9d8b
inc ebp
rsqrtps xmm2, xmmword [esi + 0x6f]
test dword [esi], ebp
add byte [eax], al
mov ecx, dword [ebp + 8]
add esp, 0xc
push esi
mov dword [ecx], eax
salc
adc eax, 0xa240c058
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov ebp, dword [edi]
push 0xffffffffffffffff
push es
call dword [0x40fb24]
push eax
pop ss
test dword [eax], eax
add byte [eax], al
mov edi, dword [ebp + 0x10]
add esp, 0xc
or bh, bh
aad 0x2d
lea esi, [eax*4 + 0x680004]
push esi
and edx, dword [0x40675c]
rol esp, cl
loope 0x405d70
pop es
inc ebp
and al, 0xc1
inc eax
add byte [ebx - 0x24317473], cl
xor al, ch
rol ecx, 1
jmp 0xfce650fe
Function at 0x407bb0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push edi
xor ebx, ebx
push ebx
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x407bdc
pop edi
pop ebp
mov eax, ebx
mov edx, ebx
pop ebx
add esp, 0x10
ret
push esi
push edi
call fcn.0042ffc6
mov esi, eax
add esp, 4
test esi, esi
jne 0x407bf8
pop esi
pop edi
pop ebp
mov eax, ebx
mov edx, ebx
pop ebx
add esp, 0x10
ret
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x407c1b
push esi
call fcn.0042e976
add esp, 4
pop esi
pop edi
pop ebp
mov eax, ebx
mov edx, ebx
pop ebx
add esp, 0x10
ret
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x452e5c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
push esi
je 0x407c07
mov eax, dword [esp + 0x14]
mov dx, word [eax + 0x12]
mov cx, word [eax + 0x10]
mov word [esp + 0x1c], dx
mov dx, word [eax + 0x16]
mov ax, word [eax + 0x14]
mov word [esp + 0x1e], cx
mov word [esp + 0x20], dx
mov word [esp + 0x22], ax
call fcn.0042e976
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40dd40
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push esi
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov ebx, dword [esp + 0x20]
jne 0x40dda5
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x28]
push eax
push 4
push edi
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40dd9a
mov edi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret 0x10

Function at 0x40ddf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
lea eax, [esp + 0x10]
push eax
xor edi, edi
push 0x20019
push edi
push ebx
push ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], 4
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
mov ebp, dword [esp + 0x28]
jne 0x40de65
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x20]
push eax
push edi
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
je 0x40de53
cmp eax, 2
jne 0x40de58
mov edi, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40de6f
cmp eax, 2
jne 0x40de6f
mov edi, 1
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dea3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x40deb0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebp
push esi
push edi
xor edi, edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x20006
push edi
push edi
push edi
push ebx
push edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
jne 0x40df19
mov eax, dword [esi - 0xc]
inc eax
push eax
mov eax, dword [esp + 0x14]
push esi
push 1
push edi
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40df0e
mov edi, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40df33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
Function at 0x40df80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44f510
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0x3c]
xor ebx, ebx
push ebx
mov ebp, 1
push 0x45327c
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x30c
call fcn.004017f0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40e083
mov eax, dword [esi]
mov edx, dword [eax - 4]
sub eax, 0x10
mov eax, dword [eax + 8]
mov ecx, ebp
sub ecx, edx
sub eax, 0x30c
or eax, ecx
jge 0x40e013
push 0x30c
mov ecx, esi
call fcn.004015d0
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x24]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esi]
cmp edx, ebx
mov edi, eax
jne 0x40e03d
xor ecx, ecx
jmp 0x40e052
mov ecx, edx
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x40e042
sub ecx, ebp
js 0x40e079
mov ebp, 1
cmp ecx, dword [edx - 8]
jg 0x40e079
cmp edi, ebx
mov dword [edx - 0xc], ecx
mov edx, dword [esi]
mov byte [ecx + edx], bl
je 0x40e068
cmp edi, 2
jne 0x40e06c
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e08c
push 0x80070057
call fcn.00401100
cmp eax, 2
jne 0x40e08c
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x40e200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00445f82
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x468188]
mov ecx, dword [str.SOFTWAREAheadNero_Fast_CD_DVD_Burning_Plug_in1.0]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov dword [esp + 0x30], ebx
call fcn.004019c0
mov edx, dword [esp + 0x38]
add esp, 0x10
xor eax, eax
cmp edx, ebx
mov edx, dword [str.PauseBetweenTracks]
setne al
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004019e0
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
mov byte [esp + 0x30], 1
call fcn.004020e0
add esp, 4
add eax, 0x10
push SysReAllocString
mov ecx, edi
mov dword [ebp], eax
mov byte [esp + 0x30], bl
call fcn.0040dd40
test eax, eax
je 0x40e2b0
mov ebx, 1
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e2cf
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4

Function at 0x40e400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00445f82
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x468188]
mov ecx, dword [str.SOFTWAREAheadNero_Fast_CD_DVD_Burning_Plug_in1.0]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov dword [esp + 0x30], ebx
call fcn.004019c0
mov edx, dword [esp + 0x38]
add esp, 0x10
xor eax, eax
cmp edx, ebx
mov edx, dword [str.AddMPVMenu]
setne al
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004019e0
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
mov byte [esp + 0x30], 1
call fcn.004020e0
add esp, 4
add eax, 0x10
push SysReAllocString
mov ecx, edi
mov dword [ebp], eax
mov byte [esp + 0x30], bl
call fcn.0040dd40
test eax, eax
je 0x40e4b0
mov ebx, 1
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e4cf
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x40e4f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00445f82
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x468188]
mov ecx, dword [str.SOFTWAREAheadNero_Fast_CD_DVD_Burning_Plug_in1.0]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov dword [esp + 0x30], ebx
call fcn.004019c0
mov eax, dword [esp + 0x38]
mov edx, dword [str.SelectedRecorder]
add esp, 0x10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004019e0
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
mov byte [esp + 0x30], 1
call fcn.004020e0
add esp, 4
add eax, 0x10
push SysReAllocString
mov ecx, edi
mov dword [ebp], eax
mov byte [esp + 0x30], bl
call fcn.0040df80
test eax, eax
je 0x40e599
mov ebx, 1
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e5b8
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4

Function at 0x40e7f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
call fcn.00445f82
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x468188]
mov ecx, dword [str.SOFTWAREAheadNero_Fast_CD_DVD_Burning_Plug_in1.0]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov dword [esp + 0x30], ebx
call fcn.004019c0
mov edx, dword [esp + 0x38]
add esp, 0x10
xor eax, eax
cmp edx, ebx
mov edx, dword [str.DontShowNeroDigitalMessage]
sete al
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004019e0
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebp, esp
push esi
mov byte [esp + 0x30], 1
call fcn.004020e0
add esp, 4
add eax, 0x10
push SysReAllocString
mov ecx, edi
mov dword [ebp], eax
mov byte [esp + 0x30], bl
call fcn.0040dd40
test eax, eax
je 0x40e8a0
mov ebx, 1
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40e8bf
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4