joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475ba0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a7f57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.004934b7
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.004934b7
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004766c0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x476710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8030
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049fc8f
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x476743
xor al, al
jmp 0x47686f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x476765
xor al, al
jmp 0x47686f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x476778
xor al, al
jmp 0x47686f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x47678c
xor al, al
jmp 0x47686f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.00493567
test eax, eax
jne 0x4767c0
xor al, al
jmp 0x47686f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4b4cc4
mov dword [esp + 0x20], ebp
call fcn.0049fc8f
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0049c3c8
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0049c41f
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x476854
mov ax, word [ebx]
test ax, ax
je 0x476846
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00476890
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x47682a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0049c41f
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x476dd0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.0049dab4
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x476e16
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00484318
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4d1d9c
push ecx
call fcn.004859b1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x478bb0
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 0x478c16
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 0x478c16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x478bf7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x478fa0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x478fd8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x479c40
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 0x479c89
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 0x47a100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a8590
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.00479cb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00479d30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00479d30
lea ecx, [esi + 0xc]
call fcn.0049540d
lea ecx, [esi + 0x10]
call fcn.0049540d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0047b2c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0047b2c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0047b2c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00495482
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00495482
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4978ae
Capabilities:
Get graphical window text

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

Function at 0x4990a8
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 0x4990ea
call fcn.0049fc8f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4990ea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4990e1
xor eax, eax
jmp 0x4990f2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004990f8
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a01bf
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 0x4a01ed
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a020b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a0125
jmp 0x4a020b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a020b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a0125
test edi, edi
mov eax, edi
jne 0x4a01f5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405480
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x593fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x6131b0]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x2c], 1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [edi + 0xcc]
push ecx
lea edx, [esp + 0x28]
mov ecx, dword [eax + 4]
push edx
push ebp
mov ecx, dword [ecx + edi + 0xfc]
call fcn.00464c40
mov ecx, dword [esp + 0x20]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
setne al
push edx
push 0x20019
add eax, 0x80000001
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4055bc
lea edx, [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x2c]
push eax
call ebx
test eax, eax
jne 0x4055b1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00570bbc
add esp, 4
lea edx, [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
push esi
push 0
push 0
push 0
push eax
call ebx
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.0053d34d
test eax, eax
push esi
sete bl
call fcn.00570be5
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4055bc
inc ebp
cmp ebp, 2
jl 0x4054b6
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00575bd5
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.00575bd5
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40ab20
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov al, byte [esp + 0x14]
push ebx
mov ebx, ecx
push esi
test al, al
push edi
mov dword [esp + 0xc], ebx
je 0x40ab46
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
mov byte [esp + 0x20], 0
je 0x40ab4b
mov byte [esp + 0x20], 1
mov ecx, dword [ebx + 0xd4]
xor edx, edx
mov dword [esp + 0x10], edx
mov esi, dword [ecx]
mov eax, esi
cmp eax, ecx
je 0x40ab73
mov edi, dword [eax + 8]
cmp byte [edi + 0x4c], 0
je 0x40ab69
inc edx
mov eax, dword [eax]
cmp eax, ecx
jne 0x40ab5f
mov dword [esp + 0x10], edx
cmp esi, ecx
mov edi, 0xc8
je 0x40ac1e
mov eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
sub ebp, eax
lea eax, [edi - 0xc8]
cmp eax, ebp
mov al, byte [esp + 0x24]
sete bl
test al, al
mov byte [esp + 0x1c], bl
jne 0x40abc5
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
call fcn.0047ecc0
test bl, bl
je 0x40abda
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x44]
push eax
call fcn.00436c90
jmp 0x40abda
test bl, bl
je 0x40abda
mov ecx, dword [esi + 8]
mov dl, byte [ecx + 0x4c]
test dl, dl
sete dl
push edx
call fcn.0047ecc0
cmp dword [esp + 0x14], 2
jge 0x40ac08
test bl, bl
je 0x40ac08
mov al, byte [esp + 0x24]
test al, al
jne 0x40abf7
cmp dword [esp + 0x20], 0x12c
jne 0x40ac08
mov ecx, dword [esi + 8]
mov al, byte [ecx + 0x4c]
test al, al
jne 0x40ac08
push 1
call fcn.0047ecc0
mov eax, dword [esp + 0x10]
mov esi, dword [esi]
inc edi
cmp esi, dword [eax + 0xd4]
jne 0x40ab8b
mov ebx, eax
pop ebp
mov ecx, ebx
call fcn.00436810
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x40c6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5946c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.00443eb0
mov esi, dword [eax + 0x24]
mov eax, dword [0x6131b0]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], edi
push ecx
push str.Metrics
push str.WindowPlacement
mov ecx, esi
call fcn.0045b1b0
mov edx, dword [esp + 8]
cmp dword [edx - 8], edi
jne 0x40c766
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebx
lea eax, [esp + 0x14]
push ebp
push eax
push str.Iconified
push str.WindowPlacement
mov ecx, esi
call fcn.0045b250
lea ecx, [esp + 0x14]
push ecx
push str.Maximized
push str.WindowPlacement
mov ecx, esi
call fcn.0045b250
mov edx, dword [esp + 0x10]
push edx
call fcn.0053e4c9
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, 5
push eax
call fcn.0053e4c9
mov ecx, dword [esp + 0x18]
mov ebp, eax
add ecx, 0xa
push ecx
call fcn.0053e4c9
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
add edx, 0xf
push edx
call fcn.0053e4c9
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
add esp, 0x10
xor ecx, ecx
cmp eax, edi
setne cl
inc ecx
push 6
neg eax
sbb eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x40]
and eax, 2
inc eax
mov dword [ecx], eax
mov dword [esi], 0x2c
mov edx, dword [ecx]
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov dword [esi + 0x10], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 5
neg edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x24]
add esi, 0x1c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x10]
call fcn.00575bd5
mov ecx, dword [esp + 0x2c]
pop ebp
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4134d0
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x595147
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], ebx
push 0x61810c
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call fcn.00575c43
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 2
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x4135a1
push esi
call fcn.00570bbc
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4135a1
mov edx, dword [esp + 0x34]
push edi
push esi
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x413598
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x5fcd80
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x413598
mov eax, dword [esp + 0x10]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
lea ecx, [esp + 0x1c]
push str._d._d._d._d
push ecx
call fcn.0056ad27
add esp, 0x18
push edi
call fcn.00570be5
add esp, 4
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0057594a
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.00575bd5
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], bl
call fcn.00575bd5
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x414100
Capabilities:
Inspect load icon resource

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x250]
and al, 0xf0
add eax, 0xfffffff0
cmp eax, 0x30
ja case.0x41411b.20
xor ecx, ecx
mov cl, byte [eax + 0x414184]
jmp dword [ecx*4 + 0x414170]
mov eax, 0x7f03
jmp 0x41413c
mov eax, 0x7f04
jmp 0x41413c
mov eax, 0x7f02
jmp 0x41413c
mov eax, 0x7f01
push eax
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je case.0x41411b.20
mov edx, dword [esi + 0xf0]
push 0
push eax
push 0x170
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 5
lea ecx, [esi + 0xd4]
call fcn.00574686
pop esi
ret
Function at 0x418950
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x595bdb
push eax
mov eax, 0x2030
mov dword fs:[0], esp
call fcn.0053e7b0
push esi
push edi
mov edi, ecx
push 0x61810c
lea ecx, [esp + 0x10]
call fcn.00575c43
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareAheadShared
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2054], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4189fa
lea ecx, [esp + 0x14]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.DriveLocker
push ecx
mov dword [esp + 0x2c], 0x2000
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4189ef
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
call fcn.00575d5e
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], esi
je 0x418a76
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
je 0x418a76
push str.DriveLockerInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x418a76
mov ecx, dword [0x5b0680]
mov edx, dword [0x5b0684]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x5b0688]
mov dword [esp + 0x1c], edx
mov edx, dword [0x5b068c]
mov dword [esp + 0x20], ecx
add edi, 0x260
mov dword [esp + 0x24], edx
push esi
lea ecx, [esp + 0x1c]
push edi
lea edx, [esp + 0x30]
push ecx
push edx
push str.Nero_Cover_Designer
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call eax
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x2040], 0xffffffff
call fcn.00575bd5
mov ecx, dword [esp + 0x2038]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x203c
ret
Function at 0x41a750
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x595f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
xor ebx, ebx
push 0x61810c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ebx
call fcn.00575c43
mov dword [esp + 0x130], 1
mov dword [esp + 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 8]
push eax
push 0x20019
push ebx
push str.CLSID
push SysReAllocStringLen
mov dword [esp + 0x1c], ebx
call esi
cmp eax, ebx
jne 0x41a7bd
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
push ebp
push edi
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push str.5197646C_00EA_4307_A067_61319EBBE499
push eax
mov byte [esp + 0x14c], 3
mov dword [esp + 0x24], ebx
call esi
cmp eax, ebx
jne 0x41a86a
mov edi, dword [esp + 0x10]
xor ebp, ebp
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 4
push ecx
push 0x20019
push ebx
push 0x5fde48
push edi
mov dword [esp + 0x24], ebx
call esi
cmp eax, ebx
jne 0x41a857
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push ebx
push ebx
push ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x41a857
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
call fcn.00575d5e
cmp ebp, ebx
mov byte [esp + 0x138], 3
je 0x41a86a
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x140]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0057594a
mov dword [esp + 0x20], 1
cmp edi, ebx
je 0x41a890
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
pop edi
cmp eax, ebx
pop ebp
je 0x41a8a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], bl
call fcn.00575bd5
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x41a950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595ff5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x24]
xor ebx, ebx
lea edi, [esi + 0xc]
push ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CNeroLSComHelper.0
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.0053bd84
mov dword [edi], vtable.CCriticalSection.0
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov ecx, dword [0x6131b0]
mov dword [esi + 0x34], ecx
mov edx, dword [0x6131b0]
mov dword [esi + 0x38], edx
mov eax, dword [0x6131b0]
mov dword [esi + 0x3c], eax
mov ecx, dword [0x6131b0]
mov dword [esi + 0x40], ecx
mov edx, dword [0x6131b0]
mov dword [esi + 0x44], edx
mov dword [esi], vtable.CNeroLSDiscPrinter.0
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov byte [esp + 0x18], 7
je 0x41a9ed
mov dword [esi + 0x30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x20]
push ecx
mov eax, esp
cmp edi, ebx
mov dword [esp + 0x28], esp
mov dword [eax], edi
je 0x41aa04
mov edx, dword [edi]
push edi
call dword [edx + 4]
mov ecx, esi
call fcn.0041b800
cmp edi, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x41aa1d
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8

Function at 0x41ac90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
lea eax, [esi + 0xc]
push 1
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], edi
call fcn.0053bb6e
mov eax, dword [esi + 0x30]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x41ad28
cmp eax, edi
mov byte [ebp - 4], 1
jne 0x41ace2
push 0x80004003
call fcn.00564911
mov esi, dword [esi + 0x30]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0xc]
mov ecx, dword [esi]
push edx
mov edx, dword [ebp + 8]
push eax
push edx
push esi
call dword [ecx + 0x34]
cmp eax, edi
jge 0x41ad07
push 0x5fded0
push esi
push eax
call fcn.0056491f
mov edi, dword [ebp + 0xc]
jmp 0x41ad28
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0053bbaa
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8