joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b5fe
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x565183
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
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 0x49b8ab
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 0x49b738
lea ebx, [eax + 0xc]
lea eax, [esp + 0xec]
push 0x586990
push eax
call fcn.004100cb
add ebx, 0x1c
lea ecx, [esp + 0x110]
push ebx
push ecx
mov ecx, eax
mov byte [esp + 0x1e0], 1
call fcn.0041028b
push 0x5a2e6c
push eax
lea eax, [esp + 0xe8]
mov byte [esp + 0x1e8], 2
call fcn.004101c2
add esp, 0x18
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0xbc]
mov byte [esp + 0x1d8], 3
call fcn.0040eb3e
push 1
xor edi, edi
lea esi, [esp + 0xd4]
call fcn.00404145
push 1
lea esi, [esp + 0x10c]
call fcn.00404145
push 1
lea esi, [esp + 0xf0]
mov byte [esp + 0x1d4], 0
call fcn.00404145
lea eax, [esp + 0x10]
call fcn.0042912d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x49b689
mov eax, dword [esp + 0xc4]
add eax, 0xfffffffe
lea ecx, [esp + 0xb4]
call fcn.0040d9ef
lea eax, [esp + 0x124]
push eax
call fcn.004036c8
mov esi, eax
push str.HTTP_request_headers:
push esi
mov byte [esp + 0x1d8], 4
call fcn.00405d7d
push esi
lea ecx, [esp + 0xc0]
call fcn.0041193b
add esp, 0xc
lea eax, [esp + 0xd0]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x1d0], 5
cmp dword [esp + 0xe4], 8
mov eax, dword [esp + 0xd0]
jae 0x49b7b7
lea eax, [esp + 0xd0]
push eax
push 4
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xd4]
call fcn.00404145
lea eax, [esp + 0x124]
mov byte [esp + 0x1d0], 0
call fcn.00402669
cmp dword [esp + 0xc8], 8
mov eax, dword [esp + 0xb4]
jae 0x49b7fd
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 0x49b89b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.004036c8
mov edi, eax
push str.WinHttpAddRequestHeaders_failed_with
push edi
mov byte [esp + 0x1d8], 6
call fcn.00405d7d
pop ecx
pop ecx
push esi
push edi
call fcn.0041056c
lea eax, [esp + 0xec]
push eax
mov eax, edi
call fcn.00403732
mov byte [esp + 0x1d0], 7
test esi, esi
jle 0x49b86e
and esi, 0xffff
or esi, 0x80070000
push 0xd9
push esi
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.0049af2e
push 0x5c9a00
lea eax, [esp + 0x128]
push eax
call fcn.0051ed55
push 1
xor edi, edi
lea esi, [esp + 0xb8]
call fcn.00404145
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.0051497f
mov esp, ebp
pop ebp
ret
Function at 0x49d84f
Capabilities:
Read file on windows

Disassembly:
push 0x444
mov eax, 0x564ffa
call fcn.00523ccd
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 0x49d879
mov eax, dword [eax]
xor ecx, ecx
push 0xc
mov word [eax], cx
call fcn.00515ac7
mov esi, eax
pop ecx
mov dword [ebp - 0x444], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x49d8e5
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.0049d3f4
test al, al
jne 0x49d8e3
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], str.HashImplementation::reset_failed
call fcn.00515200
push 0x5c9688
lea eax, [ebp - 0x450]
push eax
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::runtime_error.0
call fcn.0051ed55
mov ebx, esi
mov dword [ebp - 0x43c], ebx
mov byte [ebp - 4], 2
cmp dword [edi + 0x14], 8
jb 0x49d8f9
mov eax, dword [edi]
jmp 0x49d8fb
mov eax, edi
push 0x5a599c
push eax
call fcn.005166c6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x49d928
test ebx, ebx
je 0x49d920
mov esi, ebx
call fcn.0049d7fc
push ebx
call fcn.00515a19
pop ecx
xor al, al
call fcn.00523d29
ret
push esi
call fcn.0051ae81
pop ecx
push esi
test eax, eax
jne 0x49d96a
push 0x400
lea eax, [ebp - 0x41c]
push 1
push eax
call fcn.00516927
add esp, 0x10
test eax, eax
je 0x49d928
push eax
lea eax, [ebp - 0x41c]
push eax
mov eax, ebx
call fcn.0049d443
test al, al
jne 0x49d928
push esi
call fcn.00516c96
pop ecx
jmp 0x49d90e
call fcn.00516c96
pop ecx
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
call fcn.0049d836
mov ebx, eax
mov eax, dword [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.0040403a
push 1
xor edi, edi
lea esi, [ebp - 0x438]
call fcn.00404145
mov esi, dword [ebp - 0x43c]
test esi, esi
je 0x49d9b8
call fcn.0049d7fc
push esi
call fcn.00515a19
pop ecx
mov al, 1
jmp 0x49d922
Function at 0x4e529c
Capabilities:
Get file version info

Disassembly:
push 0xe0
mov eax, 0x558e6c
call fcn.00523c97
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 0x4e52eb
push str.updtDispDevEnumClass::GetBasicFileVersion_failed
push 2
pop ecx
call fcn.00492b4d
pop ecx
xor al, al
jmp 0x4e5455
push esi
call fcn.005156f1
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 0x4e538d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.004036c8
mov esi, eax
and dword [ebp - 4], 0
push str.GetBasicFileVersion::GetFileVersionInfo_failedError_code_
push esi
call fcn.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4e5351
lea eax, [ebp - 0x30]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004033b1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.00402669
cmp dword [ebp - 0x38], 0
je 0x4e52e4
push dword [ebp - 0x38]
call fcn.00515a0e
jmp 0x4e52e3
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x584ab8
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4e53d1
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 0x4e5443
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xec]
push eax
call fcn.004036c8
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.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4e541c
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.004033b1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xec]
call fcn.00402669
mov byte [ebp - 0x31], 0
cmp dword [ebp - 0x38], 0
je 0x4e5452
push dword [ebp - 0x38]
call fcn.00515a0e
pop ecx
mov al, byte [ebp - 0x31]
call fcn.00523d1a
ret 0xc
Function at 0x4e99a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc4
mov eax, 0x558c8d
call fcn.00523c97
push str.Enter_updtShimAPIClass::GetVerifierInfo
push 3
pop ecx
call fcn.00492b4d
lea eax, [edi + 0x1bc]
xor ebx, ebx
mov dword [esp], str.Unknown
lea esi, [edi + 0x1b8]
push eax
mov dword [esi], ebx
mov byte [edi + 0x1d8], bl
call fcn.0040411c
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push dword [0x5f8880]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x4e9a7a
lea eax, [ebp - 0xd0]
push eax
call fcn.004036c8
mov esi, eax
mov dword [ebp - 4], ebx
push str._GetVerifierInfo__Open_key:
push esi
call fcn.00405d7d
push dword [0x5f8880]
push esi
call fcn.00405d7d
push str._failed
push esi
call fcn.00405d7d
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4e9a4f
lea eax, [ebp - 0x2c]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.004033b1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xd0]
call fcn.00402669
xor al, al
jmp 0x4e9b37
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 0x4e9aac
push str.Query_VerifyDriverLevel_failed
push 2
pop ecx
call fcn.00492b4d
pop ecx
jmp 0x4e9b0f
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 0x4e9b0f
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.00426e7b
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 + 0x1bc]
push eax
call fcn.0040411c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x20]
call fcn.00426e9d
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x1b8], ebx
push str.Exit_updtShimAPIClass::GetVerifierInfo
setne al
push 3
pop ecx
mov byte [edi + 0x1d8], al
call fcn.00492b4d
pop ecx
mov al, 1
call fcn.00523d1a
ret
Function at 0x4ea24b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5f7350]
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 0x4ea283
xor al, al
jmp 0x4ea2c0
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 0x4ea27f
cmp dword [ebp - 0x58], esi
je 0x4ea2b4
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x54]
push eax
push edi
call fcn.0040d964
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051497f
leave
ret
Function at 0x4eb169
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x553f11
call fcn.00523c2e
push str.Unknown
push dword [ebp + 8]
xor ebx, ebx
call fcn.0040411c
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 0x4eb231
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.00426e7b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x4eb1f2
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 0x4eb20f
push str.Unsupported
push dword [ebp + 8]
call fcn.0040411c
push str.Cannot_get_PackageVersion
push 2
pop ecx
call fcn.00492b4d
pop ecx
jmp 0x4eb21a
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.0040411c
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.00426e9d
mov al, bl
call fcn.00523d06
ret
Function at 0x4fa6a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4fa6a1
mov dword [ebp - 8], eax
clc
add ecx, 0x28
dec edx
jne 0x4fa692
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004fa44d
scasb al, byte es:[edi]
pop es
inc esp
lea eax, [ebp - 0x58]
push eax
call fcn.004fa45d
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004fa412
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4fa73b
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec

Function at 0x4fa73c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004fa44d
in al, 0xf7
xor dh, byte [esi - 0x73]
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x4fa89c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
loopne 0x4fa8e8
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004fa45d
push eax
push esi
push dword [ebp + 8]
call fcn.004fa412
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004fa44d
pop es
mov al, byte [0x9d88648e]
jl 0x4fa8d2
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004fa44d
mov ebx, 0x8dee303e
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x4fafad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg edi, eax
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.004fa45d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004fa412
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004fa45d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004fa412
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004fa44d
xchg edi, eax
jge 0x4fb013
invalid
pop es
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.004fa45d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004fa412
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.004fa44d
and eax, 0x682d65ca
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4fb141
cmp dword [ebp - 0x398], 0
je 0x4fb30b
cmp dword [ebp + 0xc], 1
je 0x4fb30b
cmp dword [ebp + 0xc], 8
jne 0x4fb2d3
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
invalid
test dword [eax - 7], edx
invalid
invalid
Function at 0x4fcecc
Capabilities:
Get storage device properties

Disassembly:
push 0xd0
mov eax, 0x558608
call fcn.00523c97
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 0x4fcf75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xdc]
push eax
call fcn.004036c8
mov esi, eax
mov dword [ebp - 4], ebx
push str.IOCTL_STORAGE_QUERY_PROPERTY_ec
push esi
call fcn.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [ebp - 0x3c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 1
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x4fcf4d
lea eax, [ebp - 0x3c]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
call fcn.004033b1
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xdc]
call fcn.00402669
xor al, al
jmp 0x4fcf77
mov al, 1
call fcn.00523d1a
ret 4
Function at 0x50a7e1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], eax
mov byte [esp + 0x38], al
push 1
mov dword [esp + 0x84], eax
push esi
lea eax, [esp + 0x40]
push eax
call fcn.00509882
test al, al
jne 0x50a8a2
push 0x5c0f7c
lea edx, [esp + 0x3c]
call fcn.004368cd
pop ecx
test al, al
je 0x50a892
xor bl, bl
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00403ff6
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret 8
push 7
push str.http:__
lea ecx, [esp + 0x40]
call fcn.004042f1
push str.http:__
lea edx, [esp + 0x3c]
call fcn.004368cd
pop ecx
test al, al
je 0x50a8b9
push 0x50
jmp 0x50a8d1
push str.https:__
lea edx, [esp + 0x3c]
call fcn.004368cd
pop ecx
test al, al
je 0x50a8dd
push 0x1bb
push 0xe
pop eax
mov ecx, esi
call fcn.004da5e0
jmp 0x50a950
push str.http_over_pipe:__
lea edx, [esp + 0x3c]
call fcn.004368cd
pop ecx
test al, al
je 0x50a907
push 0x5c1154
lea ecx, [edi + 0x8c]
call fcn.00403f5d
mov bl, 1
jmp 0x50a863
cmp dword [ebx + 0x14], 0x10
jb 0x50a911
mov eax, dword [ebx]
jmp 0x50a913
mov eax, ebx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0048eebc
pop ecx
pop ecx
mov byte [esp + 0x80], 1
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x50a937
lea eax, [esp + 0x1c]
push eax
push 4
push esi
call fcn.005065e6
add esp, 0xc
push 1
xor edi, edi
lea esi, [esp + 0x20]
call fcn.00404145
cmp dword [ebx + 0x14], 0x10
jb 0x50a95a
mov edi, dword [ebx]
jmp 0x50a95c
mov edi, ebx
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 2
jmp 0x50a99b
inc eax
push 0x5c1184
push eax
call fcn.0052d850
pop ecx
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
je 0x50a9b0
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx - 4]
mov cl, byte [ecx]
cmp cl, byte [eax]
je 0x50a9ac
lea eax, [esp + 0x14]
lea esi, [esp + 0x1c]
call fcn.0049407e
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x50a978
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [eax - 4]
add ecx, 0x8c
cmp byte [esi], 0x2f
jne 0x50a9f9
push esi
call fcn.00403f5d
sub esi, edi
push esi
push edi
lea esi, [esp + 0x5c]
call fcn.0040fbac
mov esi, eax
mov edi, ebx
mov byte [esp + 0x80], 3
call fcn.00403e29
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00403ff6
jmp 0x50aa03
push 0x5c1154
call fcn.00403f5d
cmp dword [esp + 0x1c], 0
je 0x50a900
push dword [esp + 0x1c]
call fcn.00515a19
pop ecx
jmp 0x50a900
Function at 0x50dec5
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x560987
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
xor eax, eax
cmp ebx, eax
jne 0x50df08
or eax, 0xffffffff
jmp 0x50e01c
mov dword [esp + 0x1c], eax
push eax
mov dword [esp + 0x44], eax
push eax
xor edi, edi
lea esi, [esp + 0x20]
mov dword [esp + 0x20], vtable.GFE::Windows::Event.0
call fcn.0049d29f
push 0x14
xor esi, esi
lea eax, [esp + 0x24]
push esi
push eax
mov dword [esp + 0x4c], 1
call fcn.00517e90
mov edi, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], edi
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x50e009
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x50e009
cmp eax, 0x3e5
jne 0x50e004
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x50df9e
mov eax, dword [eax]
mov dword [esp + 0x10], edi
mov eax, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x50dfbb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0x50]
push 7
pop edx
call fcn.00506b89
push eax
call fcn.005070a7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub eax, esi
je 0x50dfd3
dec eax
push dword [ebx]
je 0x50dfcb
sub eax, 0x101
jne 0x50dffe
call dword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x50e00c
mov eax, dword [ebx]
push esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x50e009
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x50e009
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CancelIo]
or esi, 0xffffffff
jmp 0x50e00c
xor esi, esi
inc esi
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0049d3d2
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8