joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007abf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101827d3
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
push 0x404
push 0
lea eax, [ebp - 0x424]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x1007acb0
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x1007acb0
call fcn.10079f60
mov edi, eax
jmp 0x1007ade2
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1007acd3
call fcn.10079f60
jmp 0x1007add5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x1007acf1
call fcn.10079f60
jmp 0x1007add5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1007ad12
mov edi, 0x8007000e
jmp 0x1007add7
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
test edx, edx
ja 0x1007ae26
jb 0x1007ad3c
cmp eax, 0xffffffff
ja 0x1007ae26
cmp eax, 0x400
jbe 0x1007ad58
push eax
lea ecx, [ebp - 0x424]
call fcn.1007e360
mov dword [ebp - 4], 1
jmp 0x1007ad8c
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x1007ad8c
mov eax, dword [ebp - 0x424]
test eax, eax
jne 0x1007ad9d
mov edi, 0x8007000e
jmp 0x1007add7
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1007adb8
call fcn.10079f60
jmp 0x1007add5
xor edx, edx
mov eax, dword [ebp - 0x424]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.1007bae0
mov edi, eax
test esi, esi
je 0x1007ade2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x1007adff
lea ecx, [ebp - 0x424]
call fcn.1007e350
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10079e80
int3
Function at 0x10097cb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185da0
mov eax, dword fs:[0]
push eax
mov eax, 0x494c
call fcn.1016f240
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x18]
push 0x4928
lea eax, [ebp - 0x4958]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x4928
lea eax, [ebp - 0x4958]
mov dword [ebp - 0x14], 0
push eax
push 2
mov edx, 0x6b
lea ecx, [ebp - 0x14]
call fcn.1009dc20
add esp, 0x18
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov edx, esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esp
mov dword [edx], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [esi + 8]
push 9
call fcn.1009f8f0
cmp dword [ebp - 0x18], 0
jne 0x10097e04
cmp dword [0x10208e74], 0
je 0x10097dda
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x10097dda
cmp dword [eax + 0x58], 4
jb 0x10097dda
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10007660
push 0x21
push 0x101bddf8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.10007fb0
push 0x93
push 0x101a7734
push 0x101a7734
lea eax, [ebp - 0x30]
mov ecx, 0x10208e74
push eax
push 4
call fcn.1015aef0
test bl, bl
je 0x10097dce
lea eax, [ebp - 0x30]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.100075d0
push 0
push 0
push 0
push 0x100979f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10097dfa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x10097e87
cmp dword [0x10208e74], 0
je 0x10097e85
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x10097e85
cmp dword [eax + 0x58], 4
jb 0x10097e85
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x30]
call fcn.10007660
push 0x21
push 0x101bddb0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.10007fb0
push 0x9b
push 0x101a7734
push 0x101a7734
lea eax, [ebp - 0x30]
mov ecx, 0x10208e74
push eax
push 4
call fcn.1015aef0
test bl, bl
je 0x10097e79
lea eax, [ebp - 0x30]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.100075d0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10097ea9
mov dword [ebp - 4], 5
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret
Function at 0x100ac210
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018834e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
push 0x38
call fcn.1016e7bd
add esp, 4
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], edi
mov dword [edi], 0x101c0fe4
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
push ebx
mov ecx, esi
call fcn.10007680
mov byte [ebp - 4], 1
lea eax, [ebx + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.10007680
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100acc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101884ac
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.1006e400
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.1006e3a0
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.10074020
mov byte [ebp - 4], 2
lea ecx, [esi + 0x44]
mov word [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [esi + 0x38], 3
mov dword [esi + 0x3c], 8
mov dword [esi + 0x40], 0x1e
call fcn.10004400
mov byte [ebp - 4], 3
mov eax, esi
mov dword [esi + 0x74], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b32e0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018943d
mov eax, dword fs:[0]
push eax
mov eax, 0x112c
call fcn.1016f240
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1138], esi
mov dword [ebp - 0x1134], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push 1
mov dword [ebp - 0x1134], 1
mov dword [ebp - 0x1014], eax
call fcn.1016e7bd
mov dword [ebp - 0x1014], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x112c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x1130], 0x11c
lea eax, [ebp - 0x1130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100b33a3
cmp dword [ebp - 0x112c], 6
mov eax, dword [ebp - 0x1014]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1014]
call fcn.1013ec60
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100b340e
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100b33f0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10007fb0
lea ecx, [ebp - 0x1014]
call fcn.1013ef80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.1013e4a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret 4
Function at 0x100b4010
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189648
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
jne 0x100b4100
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push str.wintrust.dll
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.10007fb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.101462d0
mov ecx, eax
call fcn.10146390
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10007f50
test ebx, ebx
jne 0x100b40b9
mov dword [edi + 0x18], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
mov dword [edi + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c11a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
test edi, edi
je 0x100c11dc
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100c11db
not dword [edx]
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x101c2868]
xor eax, ecx
mov dword [edx], eax
sub esi, 1
jne 0x100c11b7
not eax
mov dword [edx], eax
pop esi
pop edi
pop ebp
ret 8

Function at 0x100c1320
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d8
push ebx
push esi
push edi
call fcn.100c11f0
test al, al
jne 0x100c1342
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x10], xmm0
push 0x33
call 0x100c1356
add dword [esp], 5
retf

Function at 0x100c1c20
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov ecx, dword [ebp + 0x14]
lea edx, [ebp + 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
push ebx
push esi
push edi
test ecx, ecx
jle 0x100c1c50
mov eax, dword [ebp + 0x18]
lea edx, [ebp + 0x20]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0xc], eax
jmp 0x100c1c55
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x100c1c6e
dec ecx
add edx, 8
mov dword [ebp + 0x14], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x100c1c73
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x100c1c8c
dec ecx
add edx, 8
mov dword [ebp + 0x14], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100c1c91
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x100c1caa
dec ecx
add edx, 8
mov dword [ebp + 0x14], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x100c1caf
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x100c1ce8
add dword [esp], 5
retf

Function at 0x100c1d70
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x100c1ddd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test ecx, ecx
jne 0x100c1d8a
test eax, eax
je 0x100c1ddd
cmp dword [ebp + 0x14], 0
je 0x100c1ddd
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
push 0x33
call fcn.100c1d9d
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x100c1df0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x1020875c]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [0x10208758]
mov eax, esi
or eax, edx
movlpd qword [ebp - 0x140], xmm0
push edi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x120], edx
jne 0x100c1e4f
push ecx
call fcn.100c1320
mov esi, eax
mov dword [ebp - 0x11c], eax
mov dword [0x10208758], esi
mov dword [ebp - 0x120], edx
mov dword [0x1020875c], edx
mov eax, esi
or eax, edx
je 0x100c2209
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x12c], edx
push 0x33
call 0x100c1e78
add dword [esp], 5
retf
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x140]
xor ecx, ebp
mov edx, dword [ebp - 0x13c]
pop edi
pop esi
pop ebx
call fcn.1016e794
mov esp, ebp
pop ebp
ret
Function at 0x100d5c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d82c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10204014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 4
call fcn.1016e7bd
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov dword [ebp - 4], 1
mov dword [esi + 4], 0
mov byte [ebp - 4], 2
mov dword [esi + 8], 0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 5
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov byte [ebp - 4], 6
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov byte [ebp - 4], 7
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov byte [ebp - 4], 8
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov byte [ebp - 4], 9
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov byte [ebp - 4], 0xa
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov byte [ebp - 4], 0xb
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov byte [ebp - 4], 0xc
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [eax + 0x88], 0
mov dword [eax + 0x8c], 7
mov word [eax + 0x78], cx
mov byte [ebp - 4], 0xe
mov dword [eax + 0x90], ecx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x98], ecx
mov byte [ebp - 4], 0x10
mov dword [esi + 0xa8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100da7d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e820
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 4]
mov dword [edi + 0x28], 1
push eax
push 0
push 4
lea eax, [edi + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x100da834
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x100da8cf
cmp dword [0x10208e74], 0
je 0x100da98a
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], bl
je 0x100da98a
cmp dword [eax + 0x58], 2
jb 0x100da98a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100da8a0
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next_failed__p__p__s___d
push eax
call fcn.100bd840
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x34
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x100da95f
cmp dword [0x10208e74], 0
je 0x100da98a
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x100da98a
cmp dword [eax + 0x58], 5
jb 0x100da98a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100da938
mov eax, dword [eax]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next__p__p__s
push eax
call fcn.100bd840
add esp, 0x14
lea eax, [ebp - 0x28]
push 0x3c
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10208e74
call fcn.1015aef0
test bh, bh
je 0x100da97b
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret
Function at 0x100da9b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e820
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x1c]
mov ecx, esi
call fcn.10026b30
lea edx, [eax + 4]
call fcn.10026b30
mov ecx, dword [edx]
mov edx, dword [edi + 0x18]
sub ecx, dword [eax]
cmp ecx, edx
jae 0x100daa06
push esi
push edx
mov ecx, esi
call fcn.100dd360
mov edx, dword [edi + 0x18]
mov ecx, esi
mov dword [edi + 0x28], 2
call fcn.10026b30
mov ecx, dword [eax]
lea eax, [edi + 4]
push eax
push 0
push edx
push ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x100daa42
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x100daadd
cmp dword [0x10208e74], 0
je 0x100dab9b
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], bl
je 0x100dab9b
cmp dword [eax + 0x58], 2
jb 0x100dab9b
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100daaae
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data_failed__p__p__s___d
push eax
call fcn.100bd840
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x5a
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x100dab70
cmp dword [0x10208e74], 0
je 0x100dab9b
push 0
mov ecx, 0x10208e74
call fcn.1015a570
mov eax, dword [0x10208e74]
cmp byte [eax + 0x54], 0
je 0x100dab9b
cmp dword [eax + 0x58], 5
jb 0x100dab9b
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x100dab46
mov eax, dword [eax]
push dword [edi + 0x18]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_data__p__p__s___d
push eax
call fcn.100bd840
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x63
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestData
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10208e74
call fcn.1015aef0
test bh, bh
je 0x100dab8c
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10007f50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret