joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f8e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030c98
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x10044070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb
push str.._first.run
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10009180
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, dword [ebp + 0x1c]
sete bl
cmp eax, 0x10
jb 0x1000f97a
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x1000
jb 0x1000f971
test cl, 0x1f
je 0x1000f94d
call fcn.100176e1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000f959
call fcn.100176e1
sub ecx, eax
cmp ecx, 4
jae 0x1000f965
call fcn.100176e1
cmp ecx, 0x23
jbe 0x1000f96f
call fcn.100176e1
mov ecx, eax
push ecx
call fcn.10012368
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10023e37
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10023cb6

Function at 0x10028a8f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002874f

Function at 0x87c985
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x85bd17
sub eax, eax
pop esi
jmp 0x8a057f
mov dword [ebp - 0xc], eax
jmp 0x952616
pop ebp
jmp 0xc9d4ef
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x8fef7c
call fcn.00929673
add esp, 4
test eax, eax
jmp 0x95f6d5
jae 0x7c5192
mov esi, dword [edx + ecx + 0x1c]
cmp ax, sp
cmp bl, 0xc3
test esp, 0xd6c322e
lea eax, [esi + eax*4]
mov eax, dword [eax + ecx]
jmp 0xd15fce
push ebp
mov ebp, esp
bts ecx, ecx
mov ecx, dword [ebp + 8]
stc
sub esp, 0x114
clc
push esi
test ecx, ecx
je 0x774839
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x8f28c8
mov esp, ebp
movsx ebp, di
xchg bp, bp
jmp 0x846016
je 0x774839
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0x774833
jne 0x774839
mov edx, dword [eax + ecx + 0x78]
cmp dl, bl
mov dword [ebp - 4], edx
test bp, 0x563f
test edx, edx
je 0x774839
mov eax, dword [eax + ecx + 0x7c]
push ebx
clc
push edi
mov dword [ebp - 0x10], eax
cmc
test ax, ax
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
ja 0xcdb76c
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0x9206a5
add eax, ecx
jmp 0x86e96f
mov dword [ebp - 8], eax
jmp 0x96bdaa
mov eax, dword [ebp + 8]
bts dx, bx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x24]
shr cl, 0x67
jmp 0xcd90f9
js 0xcd9115
jmp 0xca4a69
jns 0xcbe56c
lea edi, [esi - 1]
jmp 0x9890a0
jmp 0xcd9115
je 0x7c5192
cmp eax, edx
jmp 0xcf0336
jmp 0xcbe57b
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
cmc
clc
sar esi, 1
test bp, 0x4666
stc
mov eax, dword [eax + esi*4]
cmp sp, sp
push edx
mov edx, dword [ebp + 0xc]
test esp, 0x6b91378f
jmp 0x90538c
jle 0x94340d
lea ebx, [esi + 1]
adc ch, ch
or ch, 0x2b
dec ecx
mov ecx, dword [ebp + 8]
cmp bx, si
cmp ebx, edi
jmp 0xd022c2
lea ecx, [edx + esi*2]
movzx edx, word [ecx + eax]
mov dword [ebp - 8], edx
mov ecx, eax
not edx
shl ax, 0x17
mov edx, dword [ebp - 4]
dec al
shrd ax, di, 0xd1
mov eax, dword [ebp - 8]
clc
test cx, sp
cmp eax, dword [edx + ecx + 0x14]
jmp 0x878347
mov edi, dword [edx + ecx + 0x18]
cmp esi, 0x69617cd
test edi, edi
je 0xcd9115
mov eax, dword [edx + ecx + 0x20]
stc
cmp si, 0x543
add eax, ecx
sub ebx, ebx
jmp 0xd3a914
jle 0xca4a66
jmp 0xcd910b
test eax, eax
jmp 0x976102
dec edi
jmp 0x7bbd83
Function at 0x412004
Capabilities:
Encode data using xor

Disassembly:
sbb byte [ebp - 0x682c3386], ch
fcmovb st(0), st(0)
test eax, 0x17bdbb4a
sbb ecx, edx
mov word [edx], ds
fldcw word [edx + esi + 0x5a]
mov ecx, 0x4f325b21
and dword [ebx + 0x32], ebx
dec edi
salc
xor edi, dword [esi + 0x30]
mov ecx, 0x9ea63d5e
jno 0x41201a
xchg dword [edx], esp
cmp eax, 0x17b9baec
mov al, byte [0xafc2b286]
inc edi
iretd

Function at 0xe49404
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe4940e
pushal
call 0xe49414
pop ebp
sub ebp, 0x10
sub ebp, 0xa49404
jmp 0xe4942a
mov eax, 0xa49404
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0xadea1985
xor byte [eax], dl
inc eax
dec ecx
jne 0xe49441
jmp 0xe49454
push cs
dec eax
push cs
or al, 0xb9
test dword [ebp + 0x7d440485], eax
test dword [ebp + 0x3d488685], eax
add dword [ebp - 0x52c07a7b], 0xffffff85
test dword [ebp + 0x4d866772], eax
push cs
add al, 0x89
test dword [ebp - 0x2abf797b], eax
or cl, ah
mov eax, dword [0xa1810c79]
in eax, dx
dec ecx
sub bl, byte [edx + 0x61b3ed85]
add dword [ebp - 0x125e567c], eax
mov al, 0x47
fcmovne st(0), st(6)
insd dword es:[edi], dx
add byte [ebp - 0x50937a7b], 0x85
test dword [ebp - 0x5e16f730], eax
test dword [esi], ecx
add byte [ebp + 0xe858585], cl
adc byte [ecx + 0xe858585], cl
or byte [ebp + 0x44858585], dl
insb byte es:[edi], dx
xchg dword [edi + eax*4 - 0x337eb8fa], esi
mov al, byte [eax]
jno 0xe4953c
jp 0xe4953e
fadd dword [edi - 0x77]
test dword [esi], ecx
or dword [ecx - 0x7a7a7a7f], esp
in eax, dx
dec ecx
sub bl, byte [edx + 0x61b3ed85]
add dword [ebp - 0x2b5e567c], eax
insd dword es:[edi], dx
add byte [ebp - 0x3d937a7b], 0x87
test dword [ebp + 0x79a1e108], eax
or al, 0xa9
mov eax, dword [0x85a1e908]
jp 0xe494e4
xchg dword [ebp - 0x5e1ef77b], eax
jns 0xe494f8
test eax, 0xa1e908a1
test dword [edx - 0x10], edi
mov dword [edx - 0x10], edi
lea ebp, [ebp - 9]
test dword [ebp - 0x72c7f17b], eax
test dword [ebp - 0x398bfb7b], eax
cmc
cmp dword [esp + esi*2], eax
invalid
insd dword es:[edi], dx
test dword [ebp + 0x380e8585], 0x8585858d
add al, 0x74
invalid
jp 0xe494de
mov al, byte [ecx]
nop
test dword [ebp + 0x496cc485], eax
jp 0xe495c3
les ebp, [ecx + ecx*2 + 0x7a]
jp 0xe495c4
jp 0xe494f7
lodsb al, byte [esi]
leave
mov esp, 0x80440684
push es
insd dword es:[edi], dx
sub dword [eax + edi + 0x7a], 0xd1ac7a7a
mov esp, 0x83440687
push es
outsd dx, dword [esi]
add dword [esi], 0x2e6c806d
jp 0xe495e4
jp 0xe49544
inc edi
mov dword [ebp - 0x2c96f130], eax
rcl al, cl
push cs
invalid
setae bl
xchg edi, eax
push edi
mov al, byte [esi]
scasd eax, dword es:[edi]
test byte [ebp - 0x75a8787b], al
add byte [eax + 0xf858585], al
xchg ebx, eax
ret
xchg ebx, eax
ret
test dword [edi], ecx
xchg ebx, eax
ret
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x4182d8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4182dc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], 0x9e3779b9
mov dword [ebp - 0x34], eax
call fcn.00401200
add dword [ebp - 0x10], 0x23f
cmp dword [0xb03fa4], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x834]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov eax, dword [0x4182e4]
mov edi, dword [0x4182e0]
push 0x20
pop edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, edi
cmp dword [0xb03fa4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xb03fa0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xb03fa4], 0x3eb
mov dword [0xb03fa0], eax
mov eax, dword [0xb03ef8]
cmove eax, dword [ebp - 0xc]
mov dword [0xb03ef8], eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x14], 0
mov dword [0xb03f9c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 4]
sub ebx, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add eax, ebx
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x14], eax
cmp dword [0xb03fa4], 0xb03
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
jne 0x401362
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x10], eax
dec edx
mov dword [ebp - 0x20], edx
jne 0x401277
mov edi, dword [ebp - 0x30]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c062
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407f6c
mov dword [ebp - 0x14], eax
cmp dword [0x45f794], esi
jne 0x40c155
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c235
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c235
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c235
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45f794], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45f798], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45f79c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45f7a4], eax
test eax, eax
je 0x40c152
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45f7a0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c17a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c16d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c18f
push 4
pop eax
jmp 0x40c237
cmp dword [ebp - 0x14], esi
je 0x40c18f
push dword [0x45f794]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c174
mov eax, dword [0x45f7a0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c1ed
cmp dword [0x45f7a4], edi
je 0x40c1ed
push eax
call ebx
push dword [0x45f7a4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c1ed
test eax, eax
je 0x40c1ed
call ecx
test eax, eax
je 0x40c1e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c1e2
test byte [ebp - 8], 1
jne 0x40c1ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c21d
mov eax, dword [0x45f798]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
call eax
mov esi, eax
test esi, esi
je 0x40c21a
mov eax, dword [0x45f79c]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45f794]
call ebx
test eax, eax
je 0x40c235
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c237
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040a8
mov esp, ebp
pop ebp
ret
Function at 0x408d20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x22c
mov eax, dword [0x41b008]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [0x43fb54]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
movzx eax, word [eax + 4]
push eax
push str.Lookup_process_by_port__d
push 2
push 0x41b030
call fcn.00401ad0
add esp, 0x10
mov ecx, 2
call fcn.00408c50
mov ecx, 0x17
mov ebx, eax
call fcn.00408c50
mov ecx, dword [sym.imp.ws2_32.dll_ntohs]
mov ebp, eax
test ebp, ebp
je 0x408dbc
xor esi, esi
cmp dword [ebp], esi
jbe 0x408dbc
mov edi, ebp
nop dword [eax]
mov eax, dword [0x43fb54]
movzx eax, word [eax + 4]
push eax
call ecx
mov ecx, dword [sym.imp.ws2_32.dll_ntohs]
movzx eax, ax
cmp eax, dword [edi + 0x18]
je 0x408db5
inc esi
add edi, 0x38
cmp esi, dword [ebp]
jb 0x408d90
jmp 0x408dbc
mov eax, dword [edi + 0x38]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x408dfb
test ebx, ebx
je 0x408dfb
xor esi, esi
cmp dword [ebx], esi
jbe 0x408dfb
mov edi, ebx
nop
mov eax, dword [0x43fb54]
movzx eax, word [eax + 4]
push eax
call ecx
movzx eax, ax
cmp eax, dword [edi + 0xc]
je 0x408df4
mov ecx, dword [sym.imp.ws2_32.dll_ntohs]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jb 0x408dd0
jmp 0x408dfb
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
push 0x1c
push ebx
call fcn.0040ebcc
push 0x3c
push ebp
call fcn.0040ebcc
add esp, 0x10
cmp dword [esp + 0x10], 0
jne 0x408ec4
push str.Lookup_process_by_uptime_pid
push 2
push 0x41b030
call fcn.00401ad0
add esp, 0xc
mov dword [esp + 0x14], 0
lea eax, [esp + 0x24]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x18], 0x105
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x43fb54]
push 0
add eax, 0x316
push eax
call dword [sym.imp.instapi150.dll_GetInstRegPathByName]
test eax, eax
je 0x408ec4
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
lea eax, [esp + 0x30]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408ec4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.uptime_pid
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x10]
push str.Lookup_process_finished_with_PID_d
push 2
push 0x41b030
call fcn.00401ad0
mov ecx, dword [esp + 0x248]
add esp, 0x10
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e29f
add esp, 0x22c
ret
Function at 0x40b2d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x74
mov eax, dword [0x41b008]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x14]
push edi
push eax
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.version.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x40b330
push str.GetFileVersionInfoSize
call fcn.0040b4c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040e29f
add esp, 0x74
ret 4
push ebx
call fcn.0040ebcc
mov edi, eax
add esp, 4
test edi, edi
jne 0x40b368
push ebx
push str.Could_not_allocate__d_bytes_of_memory_for_marshaled_slab
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040e29f
add esp, 0x74
ret 4
push edi
push ebx
push 0
push esi
call dword [sym.imp.version.dll_GetFileVersionInfoW]
test eax, eax
jne 0x40b39e
push edi
call fcn.0040e2dd
add esp, 4
push str.GetFileVersionInfo
call fcn.0040b4c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040e29f
add esp, 0x74
ret 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0x417344
push edi
call dword [sym.imp.version.dll_VerQueryValueW]
test eax, eax
jne 0x40b3c3
push esi
push 0x417348
jmp 0x40b48c
cmp dword [esp + 0x14], 0
jne 0x40b3d5
push esi
push str.Fixed_version_resource_for__ls_is_unavailable
jmp 0x40b48c
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x28]
push edx
push str._u._u:_u._u
push 0x17
push eax
call fcn.00401090
add esp, 0x1c
test eax, eax
js 0x40b423
lea eax, [esp + 0x1c]
push eax
push esi
push str.File_version_of_module__ls_:__ls
push 2
push 0x41b030
call fcn.00401ad0
add esp, 0x14
jmp 0x40b438
push eax
push str.File_version_dump_failed_HRESULT_code_0x_x
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x10
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x58]
push edx
push str._u._u:_u._u
push 0x17
push eax
call fcn.00401090
add esp, 0x1c
test eax, eax
js 0x40b486
lea eax, [esp + 0x4c]
push eax
push esi
push str.Product_version_of_module__ls_:__ls
push 2
push 0x41b030
call fcn.00401ad0
add esp, 0x14
jmp 0x40b49b
push eax
push str.Product_version_dump_failed_HRESULT_code_0x_x
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x10
push edi
call fcn.0040e2dd
mov ecx, dword [esp + 0x80]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e29f
add esp, 0x74
ret 4
Function at 0x40b5e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x1c
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
push ebx
push ebp
push esi
mov eax, dword [edx + 8]
xor ebp, ebp
push edi
mov dword [esp + 0x14], 0
lea edi, [edx + 8]
lea esi, [eax*8 + 8]
test esi, esi
je 0x40b62a
nop dword [eax]
movzx eax, byte [edi]
lea edi, [edi + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x410650]
sub esi, 1
jne 0x40b610
mov eax, dword [edx + 4]
cmp ecx, eax
je 0x40b660
or dword [0x41b020], 0x20000400
push eax
push ecx
push str.Mismatched_struct_checksum_for_head_slab___computed__X___read__X
push 1
push 0x41b030
mov dword [edx + 8], ebp
mov dword [edx], ebp
call fcn.00401ad0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov edi, dword [edx]
mov dword [edx], ebp
test edi, edi
je 0x40b7b7
xor esi, esi
nop
mov eax, ebp
mov dword [esp + 0x18], 0
inc ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
cmp eax, 0x400
jae 0x40b798
push 0x10
lea eax, [esp + 0x1c]
mov ecx, 0x41fe30
push eax
push edi
call fcn.00402b70
test eax, eax
je 0x40b784
mov eax, dword [esp + 0x20]
cmp eax, 0x1000
ja 0x40b75f
lea ebx, [eax*8 + 0x10]
push ebx
call fcn.0040ebcc
add esp, 4
mov esi, eax
push ebx
test esi, esi
je 0x40b745
push esi
push edi
mov ecx, 0x41fe30
call fcn.00402b70
test eax, eax
je 0x40b736
mov ecx, esi
call fcn.0040b7d0
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x40b716
mov edx, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [edx], esi
mov eax, dword [esi]
mov dword [esi], 0
mov esi, eax
mov dword [esp + 0x14], eax
jmp 0x40b784
or dword [0x41b020], 0x20000400
push ecx
push eax
push str.Mismatched_struct_checksum_for_intermediate_slab___computed__X___read__X
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x14
push esi
call fcn.0040e2dd
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x40b784
push str.Could_not_allocate__d_bytes_of_memory_for_marshaled_slab
push 1
push 0x41b030
call fcn.00401ad0
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x40b784
or dword [0x41b020], 0x20000800
push 0x1000
push eax
push edi
push str.Slab_at__p_did_not_pass_sanity_check___read__d___max_expected__d
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x18
mov edi, esi
test esi, esi
jne 0x40b670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
or dword [0x41b020], 0x20000800
push ebp
push str.Slab_list_did_not_pass_sanity_check___list_too_long___stopping_after__d_elements
push 1
push 0x41b030
call fcn.00401ad0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8

Function at 0x40b7d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea edx, [ecx + 8]
or eax, 0xffffffff
mov ecx, dword [edx]
push esi
lea esi, [ecx*8 + 8]
test esi, esi
je 0x40b7fe
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x410650]
sub esi, 1
jne 0x40b7e4
pop esi
ret
Function at 0x10005a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009a240
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1008f8f3
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100068c0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10005ac4
jmp dword [ecx*4 + 0x10005c2c]
mov al, byte [esi]
test al, al
je 0x10005af2
cmp al, 0x20
je 0x10005ade
cmp al, 0xa1
jne 0x10005af2
cmp byte [esi + 1], al
jne 0x10005af2
test al, 0x80
je 0x10005aea
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10005af2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10005ad1
test ecx, ecx
je case.default.0x10005ac4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10005ac4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10005b38
cmp dl, 0xa1
jne 0x10005b2c
cmp byte [eax + 1], 0xa1
jne 0x10005b2c
test ecx, ecx
jne 0x10005b24
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10005b4c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10005b66
jmp 0x10005b4c
cmp dl, 0x20
jne 0x10005b4a
test ecx, ecx
jne 0x10005b43
mov edi, eax
mov ecx, 1
jmp 0x10005b4c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10005b0c
cmp ecx, 1
jne case.default.0x10005ac4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10005ac4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10005ac4
mov al, byte [esi]
test al, al
je 0x10005bbe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10005ba4
mov cl, byte [esi + 1]
test cl, cl
je 0x10005bbe
cmp al, 0xa1
jne 0x10005b94
cmp cl, al
je 0x10005ba1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10006b50
inc esi
jmp 0x10005bb6
cmp al, 0x20
je 0x10005bb6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10006b90
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10005b7d
push 0
lea ecx, [esp + 0x14]
call fcn.10006b90
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1000fb10
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10005bf1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1009ea00
call fcn.10006ac0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1008f885
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret