joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f8d9
Capabilities:
Get geographical location

Disassembly:
push 0x3cc
mov eax, 0x43bc92
call fcn.0043805e
mov esi, ecx
mov dword [ebp - 0x3bc], esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x3b8]
push ecx
mov ecx, esi
mov dword [esi + 0x110], edx
call dword [eax + 0x5c]
mov dword [ebp - 0x3c0], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x3a0]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x58]
mov ebx, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x388]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x54]
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x370]
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x50]
mov esi, eax
mov ecx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 3
push eax
mov edx, dword [ecx]
call dword [edx + 0xdc]
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x328]
call fcn.0040edac
push dword [ebp - 0x3c0]
mov edx, esi
mov byte [ebp - 4], 5
push ebx
push edi
mov ecx, eax
call fcn.0042f08d
add esp, 0xc
lea ecx, [ebp - 0x328]
call fcn.004027a6
lea ecx, [ebp - 0x358]
call fcn.00402ab8
lea ecx, [ebp - 0x370]
call fcn.004027a6
lea ecx, [ebp - 0x388]
call fcn.004027a6
lea ecx, [ebp - 0x3a0]
call fcn.004027a6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.004027a6
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov esi, eax
mov edi, 0x100
cmp esi, 0xffffffff
je 0x41fa03
push 0
push edi
lea eax, [ebp - 0x310]
push eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push edi
lea eax, [ebp - 0x310]
push eax
push edi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x3d8]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
add esp, 0x14
lea eax, [ebp - 0x110]
mov ecx, 0x444535
cmp esi, 0xffffffff
cmove eax, ecx
lea ecx, [ebp - 0x328]
push eax
call fcn.00402815
lea eax, [ebp - 0x328]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x45c1a0
call fcn.0040bc1b
lea ecx, [ebp - 0x328]
call fcn.004027a6
xor ecx, ecx
mov dword [ebp - 0x3d4], 0x4e40000
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x3c4], ecx
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x3d4]
push dword [0x45e7b4]
call fcn.0042cff2
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x3d4]
call fcn.0042d20b
mov byte [ebp - 4], 8
lea eax, [ebp - 0x340]
cmp dword [ebp - 0x32c], 0xf
lea ecx, [ebp - 0x328]
cmova eax, dword [ebp - 0x340]
push eax
call fcn.00402815
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 9
push eax
mov ecx, 0x45c1b8
call fcn.0040bc1b
lea ecx, [ebp - 0x328]
call fcn.004027a6
lea ecx, [ebp - 0x340]
call fcn.004027a6
lea ecx, [ebp - 0x3d4]
call fcn.0042cfc9
call fcn.0043800d
ret
Function at 0x420790
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bfdf
mov eax, dword fs:[0]
push eax
mov eax, 0x28a0
call fcn.00437f50
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x28ac]
mov dword [ebp - 0x28ac], 0x2880
push eax
lea eax, [ebp - 0x2890]
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea esi, [ebp - 0x2890]
cmp dword [esi + 0x1a0], 6
jne 0x420888
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x28a8]
push str._02x__02x__02x__02x__02x__02x__02x__02x
push eax
call fcn.0040f01b
and dword [ebp - 4], 0
lea eax, [esi + 0x10c]
cmp dword [ebp - 0x2894], 0xf
lea ecx, [ebp - 0x28a8]
push eax
cmova ecx, dword [ebp - 0x28a8]
lea eax, [edi + 0x150]
push ecx
push str.MAC:__s_Name:__s
push eax
call fcn.004026dd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28a8]
add esp, 0x38
call fcn.004027a6
mov esi, dword [esi]
test esi, esi
jne 0x4207e7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004357ec
leave
ret
Function at 0x42361d
Capabilities:
Check if file exists

Disassembly:
push 0x26c
mov eax, 0x43c637
call fcn.0043805e
mov esi, ecx
lea edi, [esi + 0x150]
push str.deploySelf
push edi
call fcn.004026dd
cmp byte [ebp + 8], 0
pop ecx
pop ecx
je 0x42381a
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.004235bd
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push 7
pop ebx
cmp dword [ebp - 0x21c], ebx
cmova eax, dword [ebp - 0x230]
push eax
push str.Bootstrapper::deploySelf___Final_file_path_S
push edi
call fcn.004026dd
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], ebx
cmova eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42379f
push str._PathFileExists
push edi
call fcn.004026dd
pop ecx
pop ecx
push str.Error_when_getting_bootstrapper_filename_for_selfDeploy
lea ecx, [ebp - 0x278]
call fcn.00402815
push 0x104
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x278]
mov ecx, eax
call fcn.0041c207
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0
call fcn.004027a6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040bb9e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], ebx
cmova eax, dword [ebp - 0x248]
push eax
push str.GetModuleFileName:__S
push edi
call fcn.004026dd
cmp dword [ebp - 0x21c], ebx
lea eax, [ebp - 0x230]
lea edx, [ebp - 0x248]
mov ecx, edi
cmova eax, dword [ebp - 0x230]
cmp dword [ebp - 0x234], ebx
push eax
cmova edx, dword [ebp - 0x248]
call fcn.0041c585
cmp dword [ebp - 0x21c], ebx
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x248]
cmova ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x234], ebx
push ecx
cmova eax, dword [ebp - 0x248]
push eax
push str.Copy:_from___S_to__S
push edi
call fcn.004026dd
add esp, 0x20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00402ab8
jmp 0x4237ac
push str.PathFileExists
push edi
call fcn.004026dd
pop ecx
pop ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x260]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xdc]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
cmp dword [ebp - 0x24c], ebx
cmova ecx, dword [ebp - 0x260]
cmp dword [eax + 0x14], ebx
jbe 0x4237f0
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004223bc
lea ecx, [ebp - 0x278]
call fcn.00402ab8
lea ecx, [ebp - 0x260]
call fcn.00402ab8
lea ecx, [ebp - 0x230]
call fcn.00402ab8
call fcn.0043800d
ret 4

Function at 0x423822
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x438457
call fcn.0043805e
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423871
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x423871
push esi
lea eax, [ebp - 0x28]
push str.CreateDirectory__S_failed
push eax
call fcn.0040f01b
add esp, 0xc
and dword [ebp - 4], 0
mov edx, eax
xor ecx, ecx
call fcn.0041c207
lea ecx, [ebp - 0x28]
call fcn.004027a6
call fcn.0043800d
ret
Function at 0x425d2b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xa0]
cmp dword [eax + 0x14], 7
jbe 0x425d54
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x1c]
call fcn.00402ab8
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.00437eb0
movsd xmm1, qword [0x44ca00]
comisd xmm1, xmm0
ja 0x425d91
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004357ec
leave
ret
lea ecx, [esi + 0x11c]
call fcn.00402943
push 0
push str.There_is_not_enough_room_on_your_disk_to_install_Project_X._Please_free_up_some_space_and_try_again.
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push 5
lea ecx, [ebp - 0x14]
call fcn.0042cec1
push 0x4577ec
lea eax, [ebp - 0x14]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x428a95
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x43d30f
call fcn.0043802b
mov esi, ecx
push 0x800
xor edi, edi
push edi
push edi
push 0xf001f
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x428afc
lea ecx, [ebp - 0x10]
call fcn.0041c234
mov dword [ebp - 4], edi
push dword [eax]
lea eax, [esi + 0x150]
push str.Could_not_map_view_of_file:__S
push eax
call fcn.004026dd
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00402b3c
cmp dword [esi + 0x34], edi
je 0x428af8
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x34], edi
mov al, 1
jmp 0x428b10
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
cmp esi, eax
sete al
call fcn.00437ff9
ret
Function at 0x428e78
Capabilities:
Delete file

Disassembly:
push 0x6c
mov eax, 0x43d3ee
call fcn.0043805e
mov esi, ecx
lea edi, [esi + 0x150]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
push edi
call fcn.004026dd
pop ecx
pop ecx
push str.Studio
lea ecx, [ebp - 0x44]
call fcn.0040bb9e
and dword [ebp - 4], 0
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
mov ecx, edi
mov dl, byte [esi + 0x4d]
cmova eax, dword [ebp - 0x44]
push eax
call fcn.0041c966
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00402ab8
mov ecx, esi
call fcn.00428f6c
movzx eax, byte [esi + 0x4d]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004240a6
push str.ProjectXStudioBeta.exe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 1
call fcn.0040bb9e
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x2c]
call fcn.0042a113
pop ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
push edi
call fcn.004026dd
add esp, 0xc
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova ecx, dword [ebp - 0x2c]
call fcn.0042fc1e
test al, al
je 0x428f4e
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
call fcn.00402ab8
lea ecx, [ebp - 0x5c]
call fcn.00402ab8
lea ecx, [ebp - 0x74]
call fcn.00402ab8
call fcn.0043800d
ret

Function at 0x42d067
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042cfc9
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, ebx
cmp dword [ebx + 0x14], 7
jbe 0x42d087
mov eax, dword [ebx]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp + 8], eax
test eax, eax
je 0x42d115
push eax
call fcn.00435efe
mov dword [esi + 4], eax
cmp dword [ebx + 0x14], 7
pop ecx
jbe 0x42d0ab
mov ebx, dword [ebx]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42d115
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x10]
mov dword [ebp + 8], edi
push eax
push 0x4444a8
push dword [esi + 4]
call ebx
test eax, eax
je 0x42d115
lea eax, [ebp + 8]
push eax
lea edi, [esi + 8]
push edi
push 0x44bca4
push dword [esi + 4]
call ebx
test eax, eax
je 0x42d110
mov eax, dword [ebp + 8]
cmp eax, 4
jb 0x42d110
mov ecx, dword [edi]
shr eax, 2
mov dword [esi + 0xc], eax
mov ax, word [ecx]
mov word [esi], ax
mov ax, word [ecx + 2]
mov word [esi + 2], ax
xor edi, edi
inc edi
jmp 0x42d126
cmp dword [esi + 4], edi
je 0x42d126
push dword [esi + 4]
call fcn.00435b8c
pop ecx
mov dword [esi + 4], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42e4cb
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x20
mov eax, 0x43dbbf
call fcn.00438094
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
and dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
push 7
lea eax, [edi + 0x14]
pop esi
cmp dword [eax], esi
jbe 0x42e4f5
mov ecx, dword [edi]
lea eax, [edi + 0x14]
push ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e560
mov eax, edi
cmp dword [edi + 0x14], esi
jbe 0x42e50c
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e560
lea ecx, [ebp - 0x20]
call fcn.0041c234
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp dword [ecx], esi
jbe 0x42e536
mov edi, dword [edi]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
push edi
push str.Failed_to_delete_fileName__S_:__S
push eax
call fcn.004026dd
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402b3c
lea edi, [ebx + 0x14]
mov ecx, ebx
cmp dword [edi], esi
jbe 0x42e573
mov ecx, dword [ebx]
lea eax, [ebx + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x42e576
mov dword [ebp - 0x18], edi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e5d9
mov eax, ebx
cmp dword [edi], esi
jbe 0x42e589
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42e5d9
lea ecx, [ebp - 0x1c]
call fcn.0041c234
mov edi, eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp dword [eax], esi
jbe 0x42e5b2
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [edi]
push ebx
push str.Failed_to_delete_path__S_:__S
push eax
call fcn.004026dd
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402b3c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
xor edx, edx
push 0
push 0
cmp byte [eax + 4], dl
push str.SoftwareRobloxRegETags
sete dl
add edx, 0x80000001
call fcn.0041c356
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], esi
jbe 0x42e608
mov eax, dword [eax]
push 1
push 0x43ff90
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405a63
lea ecx, [ebp - 0x2c]
call fcn.004058ae
call fcn.00437ff9
ret 0xc
Function at 0x42ea58
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28a0
call fcn.00437f50
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x289c]
mov esi, ecx
push eax
lea eax, [ebp - 0x2888]
mov dword [ebp - 0x289c], esi
mov dword [ebp - 0x289c], esi
push eax
mov dword [ebp - 0x289c], 0x2880
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x2888]
mov eax, dword [ecx + 0x1a0]
cmp eax, 6
je 0x42eae8
cmp eax, 0x47
je 0x42eae8
mov ecx, dword [ecx]
test ecx, ecx
jne 0x42eaa3
xor eax, eax
lea edi, [ebp - 0x2898]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2898]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push dword [ebp - 0x2898]
push str._08X
push esi
call fcn.0040f01b
add esp, 0xc
jmp 0x42eb36
movzx eax, byte [ecx + 0x19b]
push eax
movzx eax, byte [ecx + 0x19a]
push eax
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x
push esi
call fcn.0040f01b
add esp, 0x28
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004357ec
leave
ret
Function at 0x43065d
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi + 0x48]
mov byte [edi + 0x30], 1
call esi
push 0
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x44]
call esi
push 0x430512
push 0x12c
push 1
push dword [edi + 0x58]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x430927
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x2c
mov eax, 0x43e00e
call fcn.004380ca
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov edi, esi
xor eax, eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
push str.Failed_CryptAcquireContext
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00402815
push 0xf0000000
push 1
push ebx
push ebx
lea edi, [esi + 0x18]
mov byte [ebp - 4], 1
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.0041c207
lea ecx, [ebp - 0x30]
call fcn.004027a6
push str.Failed_CryptCreateHash
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00402815
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 3
push eax
push ebx
push ebx
push 0x8003
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.0041c207
lea ecx, [ebp - 0x30]
call fcn.004027a6
mov eax, esi
call fcn.0043801c
ret

Function at 0x430a02
Capabilities:
Hash data via wincrypt

Disassembly:
push 0x424
mov eax, 0x43e045
call fcn.0043805e
mov ebx, ecx
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push esi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push esi
push esi
push esi
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
push esi
push 0x400
lea eax, [ebp - 0x410]
mov ecx, edi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
mov esi, dword [edi + 8]
lea ecx, [ebp - 0x428]
push str.Failed_CryptHashData
call fcn.00402815
and dword [ebp - 4], 0
lea eax, [ebp - 0x410]
push 0
push esi
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
lea edx, [ebp - 0x428]
mov ecx, eax
call fcn.0041c207
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004027a6
xor esi, esi
cmp dword [edi + 0xc], esi
jg 0x430a32
jl 0x430a9b
cmp dword [edi + 8], esi
ja 0x430a32
call fcn.0043800d
ret 4
Function at 0x430c03
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x45c040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x430c5d
cmp dword [ebp - 0x108], 2
jne 0x430c5d
cmp dword [ebp - 0x114], 6
sbb al, al
inc al
jmp 0x430c5f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004357ec
leave
ret
Function at 0x431418
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push 0x240
mov eax, 0x43e26b
call fcn.0043805e
mov edi, ecx
mov ebx, dword [ebp + 8]
push ebx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x22c], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4315c1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], ebx
push eax
push 0x4313be
mov byte [ebp - 0x214], 0
call dword [sym.imp.USER32.dll_EnumWindows]
xor bl, bl
cmp byte [ebp - 0x214], bl
je 0x431593
xor eax, eax
inc eax
mov byte [edi + 0x58], al
imul eax, dword [edi + 8], 0xa
and dword [ebp - 0x228], 0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
test eax, eax
jle 0x4314fc
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x10]
cmp eax, 0x102
push 1
pop eax
movzx ebx, bl
cmovne ebx, eax
mov eax, dword [ebp - 0x228]
dec dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x228], eax
test ecx, ecx
je 0x431612
push dword [ebp - 0x220]
and ecx, 0xfffffffe
push eax
lea eax, [edi + 0x18]
push eax
call dword [ecx + 4]
add esp, 0xc
test al, al
je 0x4315f4
mov eax, dword [ebp - 0x224]
test bl, bl
je 0x431498
jmp 0x4315ba
mov ecx, dword [edi + 0x38]
test ecx, ecx
jne 0x431517
lea ecx, [ebp - 0x238]
call fcn.0041022a
mov byte [ebp - 4], 2
jmp 0x431621
and ecx, 0xfffffffe
lea eax, [edi + 0x40]
push eax
call dword [ecx + 4]
pop ecx
push 8
mov edi, eax
call fcn.004358da
pop ecx
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x212]
mov byte [ebp - 4], 3
push ecx
push edi
push ecx
mov ecx, eax
call fcn.0043238e
mov edi, eax
mov dword [ebp - 0x228], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x43158f
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
mov byte [ebp - 0x219], bl
call dword [eax + 4]
test al, al
jne 0x4315d0
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4315c9
mov al, bl
test al, al
je 0x431556
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
test bl, bl
jne 0x4315ba
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4315b1
cmp dword [ebp - 0x220], 0x103
jne 0x4315ba
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043800d
ret 4
xor eax, eax
lea ebx, [eax + 1]
jmp 0x431587
xor eax, eax
inc eax
cmp dword [ebp - 0x220], eax
je 0x431587
push eax
lea ecx, [ebp - 0x24c]
call fcn.0042cee4
push 0x457844
lea eax, [ebp - 0x24c]
jmp 0x43160c
push 7
lea ecx, [ebp - 0x23c]
call fcn.0042cec1
push 0x4577ec
lea eax, [ebp - 0x23c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [ebp - 0x238]
call fcn.0041022a
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0041720d
int3