joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418ba9
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
push 0x44
push 0
lea eax, [ebp - 0x1c4]
push eax
call fcn.004047c0
add esp, 0xc
mov dword [ebp - 0x1c4], 0x44
lea ecx, [ebp - 0x154]
call fcn.004016e0
mov dword [ebp - 4], 0
push str.ApplicationClient_sqlncli.msi
lea ecx, [ebp - 0x154]
call fcn.004015e0
lea ecx, [ebp - 0x168]
push ecx
mov ecx, dword [ebp - 0x15c]
call fcn.004161f0
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
call fcn.004017d0
push eax
push 0
lea ecx, [ebp - 0x154]
call fcn.00401480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x168]
call fcn.00401620
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x154]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffff
jne 0x41674f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00401620
jmp 0x4167fc
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x41efa0
push 0
lea ecx, [ebp - 0x154]
call fcn.00401480
push 0x41efb0
lea ecx, [ebp - 0x154]
call fcn.004017a0
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x1c4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x154]
call fcn.004017d0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 0
je 0x4167d6
mov dword [ebp - 0x170], 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x180]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4167ea
push str.Unable_to_run_SQL_Native_Client_install.
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00401020
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret
Function at 0x4168b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418be1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x42300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
call fcn.004016e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_s
lea ecx, [ebp - 0x20]
push ecx
call fcn.00402400
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
push 0xf003f
push 0
lea ecx, [ebp - 0x20]
call fcn.004017d0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4169e2
push 0x41e8b2
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x24], 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push str.Install
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4169d0
cmp dword [ebp - 0x10], 1
jne 0x4169d0
push 0x41eefc
lea ecx, [ebp + 8]
push ecx
call fcn.00401380
add esp, 8
movzx edx, al
test edx, edx
je 0x4169c9
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0
push 0x41ef04
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4169c7
cmp dword [ebp - 0x10], 1
jb 0x4169c7
mov dword [ebp - 0x1c], 1
jmp 0x4169d0
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
call fcn.00401620
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401620
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x416c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418c60
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x120]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftDataAccess
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416d99
push 0x41e8b1
lea ecx, [ebp - 0x118]
call fcn.00401640
mov byte [ebp - 4], 1
mov dword [ebp - 0x128], 0x104
push 0x104
push 0
lea ecx, [ebp - 0x114]
push ecx
call fcn.004047c0
add esp, 0xc
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x144]
push ecx
push 0
push str.FullInstallVer
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x416d7d
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.004015e0
push 3
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004013b0
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004017d0
push eax
mov ecx, dword [ebp - 0x134]
call fcn.00401550
test eax, eax
jl 0x416d58
mov dword [ebp - 0x11c], 1
jmp 0x416d62
mov dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.00401620
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00401620
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401620
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret 4
Function at 0x416de0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004017d0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x416e22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
mov byte [ebp - 1], 0
lea ecx, [ebp + 8]
call fcn.00401620
mov al, byte [ebp - 1]
jmp 0x416f2b
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00406c9b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x416e4b
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.00401620
mov al, byte [ebp - 2]
jmp 0x416f2b
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 8]
call fcn.004017d0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x416e8a
mov edx, dword [ebp - 0xc]
push edx
call fcn.00406ca6
add esp, 4
mov byte [ebp - 3], 0
lea ecx, [ebp + 8]
call fcn.00401620
mov al, byte [ebp - 3]
jmp 0x416f2b
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x41ed9c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x416f10
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xffff
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
mov edx, dword [ebp + 0x18]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406ca6
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00401620
mov al, byte [ebp - 4]
jmp 0x416f2b
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00406ca6
add esp, 4
mov byte [ebp - 5], 0
lea ecx, [ebp + 8]
call fcn.00401620
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4175a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d45
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov byte [ebp - 0x115], 0
lea ecx, [ebp - 0x11c]
call fcn.004016e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
push eax
push 0xf003f
push 0
push 0x41eb94
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417688
mov dword [ebp - 0x124], 0x104
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x130]
push eax
push 0
push str.Type
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x41767b
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x11c]
call fcn.004015e0
push str.Client
lea ecx, [ebp - 0x11c]
call fcn.00401550
test eax, eax
jne 0x41767b
mov byte [ebp - 0x115], 1
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x115]
mov byte [ebp - 0x116], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.00401620
mov al, byte [ebp - 0x116]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret
Function at 0x4176d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d85
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x42300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004160b0
mov dword [ebp - 4], 0
push 3
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004013b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004017d0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
call fcn.004188f0
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebp - 0x30]
divsd xmm0, qword [0x421280]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebp - 0x30]
comisd xmm0, xmmword [0x421278]
jbe 0x41777f
mov byte [ebp - 0xd], 1
jmp 0x4177cd
lea ecx, [ebp - 0x14]
call fcn.004016e0
mov byte [ebp - 4], 2
sub esp, 8
movsd xmm0, qword [ebp - 0x30]
movsd qword [esp], xmm0
push str.You_currently_have__.0f_MB_of_free_disk_space._You_need_600_MB_to_update_to_the_latest_version_of_the_ChartMaker_Medical_Suite._Please_contact_hardware_support.
lea edx, [ebp - 0x14]
push edx
call fcn.00402400
add esp, 0x10
push 0x10
push 0x41eadc
lea ecx, [ebp - 0x14]
call fcn.004017d0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401620
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401620
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x417c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x41e874
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417c6f
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x41e8b4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x417c63
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x417c76
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x417e70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x460], 0x44
push 0x40
push 0
lea eax, [ebp - 0x45c]
push eax
call fcn.004047c0
add esp, 0xc
mov dword [ebp - 0x434], 1
mov cx, word [ebp + 0x10]
mov word [ebp - 0x430], cx
mov edx, dword [ebp + 8]
push edx
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.00408c18
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x460]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x417f05
or eax, 0xffffffff
jmp 0x417f45
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x417f43
push 0xffffffffffffffff
mov edx, dword [ebp - 0x41c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x408]
jmp 0x417f45
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4180a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x42300c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x32c], 0
lea eax, [ebp - 0x318]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoft.NETFramework
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4181e6
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x320], 0x104
mov dword [ebp - 0x328], 0
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x330]
push eax
push 0
push str.InstallRoot
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jne 0x41814b
lea edx, [ebp - 0x310]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x314], 0
je 0x4181e6
push 0x104
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004047c0
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.004047c0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.00417f60
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x314]
push edx
push str._sv2.0.50727caspol__pp_off__ag_1.2__url_file:____s__FullTrust
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.00403180
add esp, 0x14
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x31c]
call fcn.00417e70
mov dword [ebp - 0x328], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403385
mov esp, ebp
pop ebp
ret

Function at 0x418380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e50
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x42300c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
push str.SOFTWARESTI_Computer_ServicesChartMaker_Medical_SuiteInstall
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4183f6
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Reboot
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x14], 0
je 0x418412
push 0x10
push 0x41faf0
push str.To_complete_the_ChartMaker
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x418476
mov edx, dword [ebp + 8]
mov dword [0x4243c4], edx
lea ecx, [ebp - 0x64]
call fcn.00417cb0
mov dword [ebp - 4], 0
mov eax, dword [0x4243c4]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x64]
call fcn.00417800
test eax, eax
je 0x418467
lea ecx, [ebp - 0x10]
call fcn.00418080
mov byte [ebp - 4], 1
mov ecx, dword [0x4243c4]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
call fcn.00417d70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00418090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00417c80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002b570
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x1002b5cd
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x1002b590
mov eax, dword [esi]
jmp 0x1002b6ab
cmp eax, 0x4e0
jb 0x1002b6ab
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1002b5e6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x1002b631
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002bdf0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101f29cc]
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [eax + esi], 0
jne 0x1002be15
mov eax, dword [0x101f2950]
mov ecx, esi
call eax
mov eax, dword [0x101f29cc]
mov ecx, dword [eax + esi]
test ecx, ecx
je 0x1002bef5
mov edx, dword [ebp + 0xc]
call fcn.1002b9e0
mov ebx, eax
mov dword [ebp - 4], ebx
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x1002bef5
xor edx, edx
mov dword [ebp + 8], edx
test ecx, ecx
jle 0x1002bef5
movss xmm2, dword [0x100c8c18]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
xorps xmm1, xmm1
nop dword [eax + eax]
mov edi, dword [ebx + 0xc0]
add edi, ecx
add edi, ebx
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x1002bedf
test eax, eax
jne 0x1002becb
mov ebx, dword [edi + 8]
mov esi, 0x100c1b68
add ebx, edi
nop
mov ecx, dword [esi + 4]
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1002bea5
test dl, dl
je 0x1002bea1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1002bea5
add eax, 2
add ecx, 2
test dl, dl
jne 0x1002be85
xor eax, eax
jmp 0x1002beaa
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002bebe
add esi, 8
cmp esi, 0x100c1c48
jl 0x1002be80
or eax, 0xffffffff
jmp 0x1002bec0
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
mov dword [edi], eax
cmp eax, dword [ebp + 0x10]
jne 0x1002bedf
movss xmm0, dword [edi + 4]
comiss xmm0, xmm1
jb 0x1002bedf
comiss xmm2, xmm0
ja 0x1002bef8
inc edx
add ecx, 0xc
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], ecx
cmp edx, dword [ebx + 0xc4]
jl 0x1002be60
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100352f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1003531c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10035344
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1003534a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x100353b2
jg 0x10035361
test esi, esi
je 0x100353b2
test ecx, ecx
jl 0x100353ad
jg 0x1003536b
test eax, eax
je 0x100353ad
cmp edi, ecx
jg 0x1003537f
jl 0x10035375
cmp esi, eax
jae 0x1003537f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x100353b5
mov ecx, dword [ebp + 8]
jmp 0x100353bf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100353d9
jg 0x100353bf
test esi, esi
je 0x100353d9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100353d9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc