joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1638
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a164f
add esp, 0xfffffff0
call fcn.004052c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ad30
mov eax, dword [0x4ade84]
cmp byte [eax], 0
jne 0x4a167c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4ae0c0]
cmp word [eax + 2], 0
jne 0x4a1696
mov eax, dword [0x4ae0c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a3730
mov eax, dword [0x4ae194]
cmp word [eax + 2], 0
jne 0x4a16b0
mov eax, dword [0x4ae194]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a3940
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x445568]
call fcn.0044a570
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a3ef0
mov dl, 1
mov eax, dword [0x4243b0]
call fcn.00404d78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4243b0]
call fcn.00404d78
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448c00]
call fcn.00451368
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a1890
mov eax, dword [0x4adfc0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004517fc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a41d8
mov dl, 1
mov eax, dword [0x4243b0]
call fcn.00404d78
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4adfc0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00411814
test eax, eax
je 0x4a17c1
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004115f8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004117f8
test eax, eax
je 0x4a17d9
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004069ec
push ebx
push 0x4a3100
call fcn.00497348
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4ade84]
cmp byte [eax], 0
jne 0x4a182a
mov eax, ebx
call fcn.004a1a04
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a4404
mov eax, ebx
call fcn.004a5038
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a1887
call fcn.0040531c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1cd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a1d7a
cmp dword [ebx + 0x94], 0
jne 0x4a1d74
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a1c24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a1d74
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a1d3a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a1d74
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042f184
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a1d49
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a1f98
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b4280]
cmp dword [eax + 0x170], 0
je 0x4a20fd
test bl, bl
jne 0x4a204b
cmp dword [esi + 0x9c], 0
jne 0x4a2040
mov eax, esi
call fcn.004a4e88
push eax
push 0x4a1ea4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a2011
mov eax, dword [0x4b4280]
cmp byte [eax + 0xd3], 0
je 0x4a2011
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a2011
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a1ffa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a2040
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f184
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a2020
inc dword [esi + 0x9c]
jmp 0x4a20fd
cmp dword [esi + 0x9c], 0
jle 0x4a20fd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a20fd
cmp dword [esi + 0x44], 0
je 0x4a20a8
mov eax, dword [0x4b4280]
cmp byte [eax + 0xd3], 0
je 0x4a20a8
mov eax, dword [esi + 0xd8]
call fcn.00407e08
mov edi, eax
cmp edi, 0
jl 0x4a20a8
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a2091
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a20d7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042f184
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a20b7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x495220]
call fcn.00407fc8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a2d4c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a2db7
cmp byte [ebx + 0xd3], 0
jne 0x4a2db7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406940
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a2da4
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a2dc4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
jmp 0x4a2dc4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406804
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a45ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a465a
mov eax, esi
call fcn.0047ccf4
test al, al
je 0x4a465a
mov eax, dword [ebx + 0x84]
call fcn.0047c974
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a465a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a464e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047c974
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00473948
jmp 0x4a465a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a4424
pop esi
pop ebx
ret
Function at 0x410be0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
cdq
push ebx
xor eax, edx
push esi
sub eax, edx
push edi
and eax, 0
push ebp
xor eax, edx
sub eax, edx
je 0x410c06
mov eax, 0xffffffce
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 0x2bf0]
cmp dword [esp + 0x30], ebx
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
jle 0x410c84
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x2bf4]
push edx
push ebp
call fcn.0040fca0
add esp, 0xc
xor ecx, ecx
lea edx, [ebx + ecx]
inc ecx
mov al, byte [edx + esi]
xor al, byte [esp + ecx + 0x1e]
cmp ecx, 1
mov byte [edx + edi], al
jl 0x410c53
mov ecx, 6
mov al, byte [esp + ecx + 0x10]
mov byte [esp + ecx + 0x11], al
dec ecx
jns 0x410c6b
mov al, byte [esi + ebx]
inc ebx
mov byte [esp + 0x10], al
cmp ebx, dword [esp + 0x30]
jl 0x410c2e
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x7140c219
xor edi, 0x7940491d
push 0x5b6b44d1
mov eax, 0x7a6b14c0
pop edx
xor eax, edx
xor edi, eax
mov edx, 0x527e8fed
mov esi, 0x127e8fe5
xor esi, edx
mov ebx, 0x200000
mov ecx, 0x2000000
xor ebx, ecx
xor esi, ebx
xor edi, esi
mov ecx, 0xd180
mov esi, 0x400000
xor ecx, esi
mov ebx, ecx
sub ebx, 0xffffffe8
mov eax, dword [ebx - 0x18]
mov ebx, eax
add ebx, 0x15
dec ebx
mov ecx, dword [ebx - 0x14]
mov edx, ecx
xor edx, 0xffffffff
and edx, 0x6d557d9a
and ecx, 0x92aa8265
or ecx, edx
mov ebx, ecx
add esp, 0xfffffffc
mov dword [esp], ebx
pop edx
xor ebx, ebx
add ebx, edx
mov edi, ebx
add esp, 0xfffffffc
mov esi, esp
mov dword [esi], edi
mov ecx, edx
mov esi, ecx
mov edi, 0x3c106e81
mov eax, 0xa2d9943d
xor eax, edi
xor esi, eax
mov ecx, 0x61360543
xor esi, ecx
and esi, 0xe6008211
and edx, 0x19ff7dee
or edx, esi
mov ecx, edx
mov edi, ecx
mov esi, 0xfffffffc
add esp, esi
mov dword [esp], edi
pop ebx
add ebx, edx
jne 0x404013
mov edx, 0x480500
mov eax, 0x41040220
xor edx, eax
push edx
mov eax, 0xa7e5b63
mov edi, 0x4b325c43
mov ebx, 0x66556a84
xor ebx, 0x66556a84
mov edx, 0x1b884b02
xor edx, 0x1b884b02
xor ebx, edx
xor ebx, ebx
jmp 0x403f10

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x401260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46caf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0043dae2
mov eax, dword [esp + 0x38]
push 0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.0043dba5
test eax, eax
jne 0x40130f
mov edi, str.aspi32.sys
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [eax + 0x124]
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov edi, str.not_found
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.0043db1f
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebx
lea ecx, [esp + 0x10]
call fcn.0043ddc5
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043de94
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x40]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.00462ded
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
call fcn.0043dfbd
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00462ded
lea ecx, [ebx + 0x224]
lea edx, [ebx + 0x124]
push ecx
lea eax, [ebx + 0x1a4]
push edx
push eax
push ebx
call fcn.00403390
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0043e01c
lea ecx, [esp + 0x3c]
mov dword [ebx + 0x2a4], eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0043dd0b
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x10]
push edx
call fcn.0043dd61
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call fcn.0043dd36
lea ecx, [esp + 0x40]
push str._B__d___Y
push ecx
lea ecx, [esp + 0x44]
call fcn.0045c166
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
lea edx, [ebx + 0x2a8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
call fcn.00462ded
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0043db1f
mov ecx, dword [esp + 0x2c]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x401cd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46cb46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
xor esi, esi
mov dword [esp + 8], esi
call fcn.00401ca0
test al, al
je 0x401d9c
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x401d9c
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.00462e5b
push str.IosubsysNeroApix.vxd
lea edx, [esp + 8]
push eax
push edx
mov dword [esp + 0x128], esi
call fcn.00463082
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 2
call fcn.00462ded
mov eax, dword [esp + 4]
push 0x48bd7c
push eax
call fcn.00445f80
add esp, 8
cmp eax, esi
jne 0x401d6a
lea ecx, [esp + 0xc]
push ecx
jmp 0x401d78
push eax
call fcn.00445ed2
add esp, 4
push 0x4a778c
mov esi, dword [esp + 0x128]
mov ecx, esi
call fcn.00462e5b
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00462ded
jmp 0x401daf
mov esi, dword [esp + 0x124]
push 0x4a778c
mov ecx, esi
call fcn.00462e5b
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x4028b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x640
mov ax, word [0x48be2c]
mov cl, byte [0x48be2e]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov word [esp + 0x14], ax
mov byte [esp + 0x16], cl
mov word [esp + 0x17], si
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x24], eax
mov ecx, 0xa
or eax, 0xffffffff
lea edi, [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
rep stosd dword es:[edi], eax
xor ebx, ebx
jmp 0x402902
xor esi, esi
mov edx, dword [esp + 0x10]
lea edi, [esp + edx*4 + 0x450]
lea eax, [esp + 0x50]
push eax
push esi
push ebp
call fcn.00402720
add esp, 0xc
test eax, eax
je 0x402938
cmp byte [esp + 0x50], 5
jne 0x402938
lea ecx, [ebx + esi]
mov dword [edi], ecx
mov ecx, dword [esp + 0x10]
inc ecx
add edi, 4
mov dword [esp + 0x10], ecx
inc esi
cmp esi, 0x10
jl 0x40290d
add ebx, 0x10
inc ebp
cmp ebx, 0x80
jl 0x402900
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov ebx, 2
mov eax, dword [esp + 0x24]
mov edx, 1
mov ecx, ebx
shl edx, cl
test eax, edx
je 0x4029b4
mov cl, bl
lea edx, [esp + 0x14]
add cl, 0x41
push edx
mov byte [esp + 0x18], cl
call ebp
cmp eax, 5
jne 0x4029b4
lea eax, [esp + 0x50]
push 0x400
lea ecx, [esp + 0x18]
push eax
push ecx
call esi
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
movsx eax, byte [esp + ecx + 0x4f]
sub eax, 0x30
mov ecx, 0xa
cdq
idiv ecx
mov dword [esp + edx*4 + 0x28], ebx
inc ebx
cmp ebx, 0x1a
jl 0x40295b
lea edx, [esp + 0x450]
lea ecx, [esp + 0x28]
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x4029e1
mov esi, dword [edx]
mov dword [esi*4 + 0x4a7098], eax
mov esi, dword [esp + 0x1c]
inc esi
add edx, 4
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc ebx
add ecx, 4
cmp eax, esi
mov dword [esp + 0x20], ebx
jge 0x402a00
mov eax, ebx
cmp eax, 0xa
jl 0x4029c5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x640
ret
Function at 0x40cdc0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.Program_FilesCommon_FilesAhead_
or ecx, 0xffffffff
xor eax, eax
xor bl, bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
mov byte [esp + 0x13], bl
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x298]
and ecx, 3
lea eax, [esp + 0x10]
push ebp
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040cb00
mov edi, str.Program_FilesNeroNero_7Nero_VisionDVDEngine.dll
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x19c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x120]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00403390
add esp, 0x18
test al, al
je 0x40cf15
mov ecx, dword [ebp]
lea edi, [esp + 0x214]
shl ecx, 9
xor eax, eax
lea edx, [ecx + ebp + 0x84]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea edi, [esp + 0x114]
shl ecx, 9
lea edx, [ecx + ebp + 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea edi, [esp + 0x194]
shl ecx, 9
lea edx, [ecx + ebp + 0x184]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x40d9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ce0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [esp]
lea edx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_StringFromIID]
mov eax, dword [esp]
lea ecx, [esp + 4]
push eax
call fcn.00462ead
mov eax, dword [esp]
mov dword [esp + 0x24], 1
test eax, eax
je 0x40da28
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00462b62
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00462ded
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x40dad0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x214]
lea eax, [esp + 0xc]
push 0
push eax
lea ecx, [esp + 0x18]
push 0x200
push ecx
push edi
call ebx
test eax, eax
je 0x40db98
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40db98
push esi
lea edx, [esp + 0x14]
push str.CPU:
push edx
call fcn.0040da70
lea eax, [esi + 0x64]
lea ecx, [esp + 0x1c]
push eax
push str.Memory:
push ecx
call fcn.0040da70
lea edx, [esi + 0x96]
lea eax, [esp + 0x28]
push edx
push str.BusSpeed:
push eax
call fcn.0040da70
lea ecx, [esi + 0xaa]
lea edx, [esp + 0x34]
push ecx
push str.Motherboard:
push edx
call fcn.0040da70
lea eax, [esi + 0x10e]
lea ecx, [esp + 0x40]
push eax
push str.System:
push ecx
call fcn.0040da70
lea edx, [esi + 0x172]
lea eax, [esp + 0x4c]
push edx
push str.BIOS:
push eax
call fcn.0040da70
add esp, 0x48
jmp 0x40daed
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
cmp eax, 0x6d
pop ebx
jne 0x40dbb5
call fcn.00401fd0
test al, al
jne 0x40dbb5
call dword [sym.imp.KERNEL32.dll_FreeConsole]
add esp, 0x204
ret
Function at 0x40dbc0
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreatePipe]
push esi
push edi
lea eax, [esp + 0x28]
push 0
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 1
call ebx
test eax, eax
jne 0x40dc04
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 1
lea eax, [esp + 0x24]
push 0
push eax
call esi
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
test eax, eax
jne 0x40dc35
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call ebx
test eax, eax
jne 0x40dc55
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
push 2
push 0
lea edx, [esp + 0x28]
push 0
push edx
call esi
push eax
mov eax, dword [esp + 0x24]
push eax
call esi
push eax
call edi
test eax, eax
jne 0x40dc7a
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
push 2
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
push eax
push edx
call esi
push eax
call edi
test eax, eax
jne 0x40dc9f
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
test eax, eax
jne 0x40dcb9
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
push ecx
call esi
test eax, eax
jne 0x40dccd
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.0040d6a0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call esi
test eax, eax
jne 0x40dcf8
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov eax, dword [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x40dd0c
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40dd20
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0040dad0
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [0x48d924], 0
push ecx
call esi
test eax, eax
jne 0x40dd50
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret
mov edx, dword [esp + 0x24]
push edx
call esi
test eax, eax
pop edi
pop esi
setne al
pop ebx
add esp, 0x28
ret