joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482348
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a19cf
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, 0x62edb0
push ebx
push 0x11c
call fcn.00560195
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x4823b2
push 0x54485245
mov esi, eax
call fcn.00481a79
mov dword [esp + 0x10], eax
jmp 0x4823b6
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x10]
cmp esi, edi
jne 0x4823d3
xor ecx, ecx
push str.Allocate_memory_for_CreateThread_failed_
inc ecx
call fcn.0047c666
pop ecx
xor eax, eax
jmp 0x4824e6
push ebx
push 8
call fcn.00560195
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x4823f8
xor ecx, ecx
push str.Failed_to_allocate_memory_in_CreateThread
inc ecx
call fcn.0047c666
pop ecx
call fcn.0048250a
jmp 0x4823cc
mov eax, dword [ebp + 0xc]
push 0xc
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
pop esi
push esi
mov dword [ebx], eax
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00560d40
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push edi
push ebx
push 0x48232a
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x30], esi
call fcn.00563884
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dword [ecx + 8], eax
cmp eax, edi
jne 0x4824dd
lea eax, [esp + 0x24]
push eax
call fcn.00409ac6
mov esi, eax
push str._beginthreadex_failed__errno
push esi
mov dword [esp + 0xf0], edi
call fcn.0040fa1f
pop ecx
pop ecx
call fcn.00563966
push dword [eax]
push esi
call fcn.0040d33e
lea eax, [esp + 0xbc]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0xe8], 1
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x48249e
lea eax, [esp + 0xbc]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xc0]
call fcn.0040b028
or dword [esp + 0xe8], 0xffffffff
lea eax, [esp + 0x24]
call fcn.004021a3
mov esi, dword [esp + 0x10]
call fcn.0048250a
push ebx
call fcn.0055e74f
jmp 0x4823cb
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret
Function at 0x48271c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1942
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
push 0x62edb0
push 0x11c
call fcn.00560195
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x482783
push 0x434f4e44
mov esi, eax
call fcn.00481a79
mov ebx, eax
jmp 0x482785
xor ebx, ebx
cmp ebx, edi
jne 0x48279e
xor ecx, ecx
push str.Allocate_memory_for_CreateConditionVar_failed_
inc ecx
call fcn.0047c666
pop ecx
xor eax, eax
jmp 0x4828fb
push edi
push accept
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebx + 8], eax
cmp eax, edi
jne 0x482857
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xac]
push eax
call fcn.00409ac6
mov esi, eax
push str.CreateConditionVar_failed__err_
push esi
mov dword [esp + 0x198], edi
call fcn.0040fa1f
pop ecx
pop ecx
push dword [esp + 0x10]
push esi
call fcn.0040d432
lea eax, [esp + 0x164]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x190], 1
cmp dword [esp + 0x178], 8
mov eax, dword [esp + 0x164]
jae 0x48281d
lea eax, [esp + 0x164]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x168]
call fcn.0040b028
lea eax, [esp + 0xac]
or dword [esp + 0x190], 0xffffffff
call fcn.004021a3
mov esi, ebx
call fcn.0048250a
jmp 0x482797
push edi
push edi
push edi
mov dword [ebx + 0x114], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 0x10c], eax
cmp eax, edi
jne 0x4828f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00409ac6
mov esi, eax
push str.CreateMutex_failed_in_CreateConditionVar__err_
push esi
mov dword [esp + 0x198], 2
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push esi
call fcn.0040d432
lea eax, [esp + 0x148]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x190], 3
cmp dword [esp + 0x15c], 8
mov eax, dword [esp + 0x148]
jae 0x4828d6
lea eax, [esp + 0x148]
xor ecx, ecx
push eax
inc ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x14c]
call fcn.0040b028
lea eax, [esp + 0x14]
jmp 0x48283e
mov eax, ebx
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret
Function at 0x483583
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5accab
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor esi, esi
push esi
lea ecx, [esp + 0x14]
push ecx
push esi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push 0x16
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
call ebx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], esi
jne 0x48368c
cmp eax, 0x7a
je 0x48368c
lea eax, [esp + 0x24]
push eax
call fcn.00409ac6
mov ebx, eax
push str.WinHttpQueryHeaders_failed_with
push ebx
mov dword [esp + 0x1a0], esi
call fcn.0040fa1f
mov edi, dword [esp + 0x20]
pop ecx
pop ecx
push edi
push ebx
call fcn.0040d432
lea eax, [esp + 0xbc]
push eax
mov eax, ebx
call fcn.00409b30
mov byte [esp + 0x198], 1
cmp edi, esi
jle 0x48365f
and edi, 0xffff
or edi, 0x80070000
push 0x91
push edi
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00483163
push 0x5ffd6c
lea eax, [esp + 0xf8]
push eax
call fcn.005676bc
mov eax, dword [esp + 0x10]
shr eax, 1
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
call fcn.004437fd
push esi
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1a0], 2
push dword [esp + 0xc4]
push esi
push 0x16
push dword [esp + 0x30]
call edi
test eax, eax
jne 0x483757
call ebx
mov edi, eax
lea eax, [esp + 0x24]
push eax
call fcn.00409ac6
mov ebx, eax
push str.WinHttpQueryHeaders_failed_with
push ebx
mov byte [esp + 0x1a0], 3
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push ebx
call fcn.0040d432
lea eax, [esp + 0xd8]
push eax
mov eax, ebx
call fcn.00409b30
mov byte [esp + 0x198], 4
cmp edi, esi
jle 0x48372b
and edi, 0xffff
or edi, 0x80070000
push 0xa2
push edi
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.00483163
push 0x5ffd6c
lea eax, [esp + 0xf8]
jmp 0x483686
push dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push dword [esp + 0xc4]
xor eax, eax
push dword [esp + 0xc4]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push edi
mov word [edi], ax
call fcn.00484ccf
lea esi, [esp + 0xbc]
call fcn.004c601a
mov eax, edi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret
Function at 0x4837b4
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5acc46
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x483a61
and dword [esp + 0xc4], 0
xor ecx, ecx
mov dword [esp + 0xc8], 7
mov word [esp + 0xb4], cx
and dword [esp + 0x1d0], ecx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
jmp 0x4838ee
lea ebx, [eax + 0xc]
lea eax, [esp + 0xec]
push 0x5c27f8
push eax
call fcn.0040cf5b
add ebx, 0x1c
lea ecx, [esp + 0x110]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x1e0], 1
call fcn.0040d0e0
push 0x5dc38c
push eax
lea eax, [esp + 0xe8]
mov byte [esp + 0x1e8], 2
call fcn.0040d052
add esp, 0x18
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x1d8], 3
call fcn.0040ab69
push 1
xor edi, edi
lea esi, [esp + 0xd4]
call fcn.0040b028
push 1
lea esi, [esp + 0x10c]
call fcn.0040b028
push 1
lea esi, [esp + 0xf0]
mov byte [esp + 0x1d4], 0
call fcn.0040b028
lea eax, [esp + 0x10]
call fcn.00426bac
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x48383f
mov eax, dword [esp + 0xc4]
add eax, 0xfffffffe
lea ecx, [esp + 0xb4]
call fcn.0040916d
lea eax, [esp + 0x124]
push eax
call fcn.00409ac6
mov esi, eax
push str.HTTP_request_headers:
push esi
mov byte [esp + 0x1d8], 4
call fcn.0040fa1f
push esi
lea ecx, [esp + 0xc0]
call fcn.0040fbd3
add esp, 0xc
lea eax, [esp + 0xd0]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x1d0], 5
cmp dword [esp + 0xe4], 8
mov eax, dword [esp + 0xd0]
jae 0x48396d
lea eax, [esp + 0xd0]
push eax
push 4
pop ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xd4]
call fcn.0040b028
lea eax, [esp + 0x124]
mov byte [esp + 0x1d0], 0
call fcn.004021a3
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x4839b3
lea eax, [esp + 0xb4]
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [esp + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x483a51
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00409ac6
mov edi, eax
push str.WinHttpAddRequestHeaders_failed_with
push edi
mov byte [esp + 0x1d8], 6
call fcn.0040fa1f
pop ecx
pop ecx
push esi
push edi
call fcn.0040d432
lea eax, [esp + 0xec]
push eax
mov eax, edi
call fcn.00409b30
mov byte [esp + 0x1d0], 7
test esi, esi
jle 0x483a24
and esi, 0xffff
or esi, 0x80070000
push 0xd0
push esi
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00483163
push 0x5ffd6c
lea eax, [esp + 0x128]
push eax
call fcn.005676bc
push 1
xor edi, edi
lea esi, [esp + 0xb8]
call fcn.0040b028
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret
Function at 0x48595d
Capabilities:
Read file on windows

Disassembly:
push 0x444
mov eax, 0x5a5a98
call fcn.0056cecb
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
mov edi, ecx
mov dword [ebp - 0x440], eax
mov dword [eax + 0x10], ebx
jb 0x485987
mov eax, dword [eax]
xor ecx, ecx
push 0xc
mov word [eax], cx
call fcn.0055e7f7
mov esi, eax
pop ecx
mov dword [ebp - 0x444], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4859f3
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00485502
test al, al
jne 0x4859f1
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], str.HashImplementation::reset_failed
call fcn.0055dff9
push 0x5ff9b8
lea eax, [ebp - 0x450]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
call fcn.005676bc
mov ebx, esi
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x485a07
mov eax, dword [edi]
jmp 0x485a09
mov eax, edi
push 0x5dba64
push eax
call fcn.0055f2b4
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x485a36
test ebx, ebx
je 0x485a2e
mov esi, ebx
call fcn.0048590a
push ebx
call fcn.0055e74f
pop ecx
xor al, al
call fcn.0056cf27
ret
push esi
call fcn.005639af
pop ecx
push esi
test eax, eax
jne 0x485a78
push 0x400
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.0055f515
add esp, 0x10
test eax, eax
je 0x485a36
push eax
lea eax, [ebp - 0x41c]
push eax
mov eax, ebx
call fcn.00485551
test al, al
jne 0x485a36
push esi
call fcn.0055f884
pop ecx
jmp 0x485a1c
call fcn.0055f884
pop ecx
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
call fcn.00485944
mov ebx, eax
mov eax, dword [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.0040ab21
push 1
xor edi, edi
lea esi, [ebp - 0x438]
call fcn.0040b028
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x485ac6
call fcn.0048590a
push esi
call fcn.0055e74f
pop ecx
mov al, 1
jmp 0x485a30
Function at 0x488b9b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59d223
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea edi, [ebx + 0x1c]
call fcn.00489f1e
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
and dword [esp + 0x14], 0
call dword [eax + 4]
test eax, eax
je 0x488d81
mov ecx, dword [ebx + 0x18]
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
xor edi, edi
mov dword [esp + 0x1c], eax
cmp eax, edi
jne 0x488c17
push str.GFE::DAOS::DAOSupportImplementation::PrepareDetectorsForFilename:_Skipping_NULL_detector.
push 2
pop ecx
call fcn.0047c666
pop ecx
jmp 0x488d6b
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x488c35
xor ecx, ecx
push str.GetPossibleFilenames_failed_for_a_detector.This_detector_will_not_be_called.
inc ecx
jmp 0x488c0c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], edi
cmp eax, edi
jne 0x488c63
xor ecx, ecx
push str.GetPossibleFilenames_returned_NULL_for_detector.This_detector_will_not_be_called.
inc ecx
call fcn.0047c666
or dword [esp + 0x84], 0xffffffff
pop ecx
jmp 0x488d6b
push ecx
mov dword [esp + 0x10], esp
lea esi, [esp + 0x24]
mov dword [esp + 0x10], esp
call fcn.004252ae
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0xc], edi
call dword [eax + 4]
test eax, eax
je 0x488d40
mov ecx, dword [esp + 0x10]
push dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x488cb3
push str.NULL_name_returned_by_GetPossibleFilenames
push 2
pop ecx
call fcn.0047c666
pop ecx
jmp 0x488d29
push eax
lea esi, [esp + 0x58]
call fcn.00409096
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x84], 2
call fcn.00477fa8
pop ecx
push 1
xor edi, edi
mov byte [esp + 0x84], 4
call fcn.0040b028
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
lea edi, [esp + 0x38]
call fcn.00424950
cmp byte [esp + 0x34], 0
je 0x488d14
lea edx, [esp + 0x38]
lea ecx, [ebx + 0x1c]
call fcn.00489e7f
mov esi, eax
lea eax, [esp + 0x1c]
call fcn.0047b04c
push 1
xor edi, edi
lea esi, [esp + 0x3c]
mov byte [esp + 0x84], 1
call fcn.0040b028
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
inc dword [esp + 0xc]
call dword [eax + 4]
cmp dword [esp + 0xc], eax
jb 0x488c92
lea eax, [esp + 0x20]
mov byte [esp + 0x80], 5
call fcn.004249fd
push dword [esp + 0x24]
call fcn.0055e74f
or dword [esp + 0x84], 0xffffffff
pop ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
inc dword [esp + 0x14]
call dword [eax + 4]
cmp dword [esp + 0x14], eax
jb 0x488bee
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret
Function at 0x4c43c6
Capabilities:
Get file version info

Disassembly:
push 0xe0
mov eax, 0x5a0e4c
call fcn.0056ce95
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x4c]
mov edi, ecx
push eax
push edi
mov ebx, edx
mov byte [ebp - 0x31], 1
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x4c4415
push str.updtDispDevEnumClass::GetBasicFileVersion_failed
push 2
pop ecx
call fcn.0047c666
pop ecx
xor al, al
jmp 0x4c457f
push esi
call fcn.0055e4e1
pop ecx
push eax
push esi
push 0
push edi
mov dword [ebp - 0x38], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x4c44b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.00409ac6
mov esi, eax
and dword [ebp - 4], 0
push str.GetBasicFileVersion::GetFileVersionInfo_failedError_code_
push esi
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push esi
call fcn.0040d432
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4c447b
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.004021a3
cmp dword [ebp - 0x38], 0
je 0x4c440e
push dword [ebp - 0x38]
call fcn.0055e744
jmp 0x4c440d
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x5c2724
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4c44fb
mov eax, dword [ebp - 0x48]
mov cx, word [eax + 0xa]
mov edx, dword [ebp - 0x44]
mov word [ebx], cx
mov cx, word [eax + 8]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp - 0x3c]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp - 0x40]
mov word [ecx], ax
jmp 0x4c456d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.00409ac6
mov esi, eax
push 2
pop ebx
mov dword [ebp - 4], ebx
push str.GetBasicFileVersion::VerQueryValue_failedError_code__0x_x_n
push esi
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push esi
call fcn.0040d432
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4c4546
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.004021a3
mov byte [ebp - 0x31], 0
cmp dword [ebp - 0x38], 0
je 0x4c457c
push dword [ebp - 0x38]
call fcn.0055e744
pop ecx
mov al, byte [ebp - 0x31]
call fcn.0056cf18
ret 0xc
Function at 0x4c85fa
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc4
mov eax, 0x5a0cd0
call fcn.0056ce95
push str.Enter_updtShimAPIClass::GetVerifierInfo
push 3
pop ecx
call fcn.0047c666
lea eax, [edi + 0x1a4]
xor ebx, ebx
mov dword [esp], str.Unknown
lea esi, [edi + 0x1a0]
push eax
mov dword [esi], ebx
mov byte [edi + 0x1c0], bl
call fcn.0040ad38
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push dword [0x628744]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x4c86d4
lea eax, [ebp - 0xd0]
push eax
call fcn.00409ac6
mov esi, eax
mov dword [ebp - 4], ebx
push str._GetVerifierInfo__Open_key:
push esi
call fcn.0040fa1f
push dword [0x628744]
push esi
call fcn.0040fa1f
push str._failed
push esi
call fcn.0040fa1f
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4c86a9
lea eax, [ebp - 0x2c]
push eax
push 2
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xd0]
call fcn.004021a3
xor al, al
jmp 0x4c8791
lea eax, [ebp - 0x30]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
push ebx
push str.VerifyDriverLevel
push dword [ebp - 0x34]
mov dword [ebp - 0x30], 4
call esi
test eax, eax
je 0x4c8706
push str.Query_VerifyDriverLevel_failed
push 2
pop ecx
call fcn.0047c666
pop ecx
jmp 0x4c8769
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push str.VerifyDrivers
push dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
call esi
cmp eax, ebx
jne 0x4c8769
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
shr eax, 1
inc eax
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], ebx
call fcn.00464d2d
mov dword [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
push ebx
push ebx
push str.VerifyDrivers
push dword [ebp - 0x34]
call esi
push dword [ebp - 0x20]
lea eax, [edi + 0x1a4]
push eax
call fcn.0040ad38
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x20]
call fcn.004c601a
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x1a0], ebx
push str.Exit_updtShimAPIClass::GetVerifierInfo
setne al
push 3
pop ecx
mov byte [edi + 0x1c0], al
call fcn.0047c666
pop ecx
mov al, 1
call fcn.0056cf18
ret
Function at 0x4c8e6d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x6274d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x58]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARENVIDIA_CorporationGlobalNvBackend
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x58], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c8ea5
xor al, al
jmp 0x4c8ee2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push str.Link
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0x4e
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c8ea1
cmp dword [ebp - 0x58], esi
je 0x4c8ed6
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.004090e2
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0055d7fe
leave
ret
Function at 0x4c9ae7
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x59b226
call fcn.0056ce2c
push str.Unknown
push dword [ebp + 8]
xor ebx, ebx
call fcn.0040ad38
lea eax, [ebp - 0x14]
push eax
push 1
push ebx
push str.SOFTWARENVIDIA_Corporation_nForce
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c9baf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
mov edi, str.PackageVersion
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
shr eax, 1
inc eax
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
call fcn.00464d2d
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x4c9b70
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
push ebx
push ebx
push edi
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x4c9b8d
push str.Unsupported
push dword [ebp + 8]
call fcn.0040ad38
push str.Cannot_get_PackageVersion
push 2
pop ecx
call fcn.0047c666
pop ecx
jmp 0x4c9b98
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.0040ad38
push dword [ebp - 0x14]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.004c601a
mov al, bl
call fcn.0056cf04
ret
Function at 0x4d8f4b
Capabilities:
Get storage device properties

Disassembly:
push 0xd0
mov eax, 0x59e8a7
call fcn.0056ce95
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push dword [eax + 4]
mov dword [ebp - 0x20], ebx
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
push ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x4d8ff4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00409ac6
mov esi, eax
mov dword [ebp - 4], ebx
push str.IOCTL_STORAGE_QUERY_PROPERTY_ec
push esi
call fcn.0040fa1f
pop ecx
pop ecx
push edi
push esi
call fcn.0040d432
lea eax, [ebp - 0x3c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x4d8fcc
lea eax, [ebp - 0x3c]
push eax
push 2
pop ecx
call fcn.0047c666
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.004090d2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xdc]
call fcn.004021a3
xor al, al
jmp 0x4d8ff6
mov al, 1
call fcn.0056cf18
ret 4