joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101d0920
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101d0a1b
mov eax, dword [ebp - 0x114]
sub eax, 5
je 0x101d09a2
sub eax, 1
jne 0x101d0996
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x101d097e
sub eax, 1
jne 0x101d0996
mov dword [0x1025c594], 4
jmp 0x101d09c0
mov dword [0x1025c594], 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov dword [0x1025c594], 6
jmp 0x101d09c0
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x101d0a11
sub eax, 1
je 0x101d09f9
sub eax, 1
je 0x101d09e1
cmp dword [0x1025c594], 4
jl 0x101d0988
call fcn.101cb5d0
cmp dword [0x1025c594], 6
jl 0x101d0988
call fcn.101db1b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov dword [0x1025c594], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x1025c594], 1
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov dword [0x1025c594], 0
lea ecx, [ebp - 0x124]
call fcn.101cc1d0
push 0x102379b4
lea eax, [ebp - 0x124]
push eax
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x101d2d10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x101d2d6b
mov ecx, dword [edi]
lea esp, [esp]
cmp dword [eax + 4], ecx
je 0x101d2d73
mov eax, dword [eax]
test eax, eax
jne 0x101d2d60
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x101d2d6d
mov ecx, dword [eax + 8]
pop edi
mov dword [edx], ecx
pop esi
pop ebp
ret 8
Function at 0x101d3fc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi]
mov eax, dword [esi + 8]
lea ebx, [edx*4]
mov eax, dword [ebx + eax]
test eax, eax
je 0x101d401f
mov ecx, dword [edi]
cmp dword [eax + 4], ecx
je 0x101d4047
mov eax, dword [eax]
test eax, eax
jne 0x101d4014
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
test edx, edx
je 0x101d4050
mov dword [edx], 0
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edx + 8], eax
jmp 0x101d4052
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
xor edx, edx
mov ecx, dword [esi + 8]
mov eax, edx
pop edi
mov ecx, dword [ebx + ecx]
mov dword [edx], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + ecx], edx
inc dword [esi + 4]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x101d5c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ff604
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102519c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x54]
mov dword [esi + 0x1c], eax
mov al, byte [ebp + 0xc]
mov dword [esi], vtable.Concurrency::details::ContextBase.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [esi + 0x4c], al
mov dword [ebp - 4], 0
mov dword [esi + 0x50], 0
call fcn.101c9280
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
push 0x1c
mov dword [esi + 0x80], 7
mov dword [esi + 0x84], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ecx, dword [esi + 0x80]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x88], eax
call sub.msvcrt.dll_memset
push 0x10
mov byte [ebp - 4], 1
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 0x14
mov dword [esi + 0x94], eax
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.101d34b0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 8], eax
push eax
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 4
push 1
mov ecx, esi
call fcn.101d7250
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x101d7040
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 0x80]
test edx, edx
jle 0x101d7074
mov esi, dword [ebx + 0x88]
mov ecx, esi
cmp dword [ecx], edi
jne 0x101d7144
inc eax
add ecx, 4
cmp eax, edx
jl 0x101d7064
xor eax, eax
mov dword [ebp - 8], eax
test eax, eax
je 0x101d71a4
mov esi, dword [eax]
test esi, esi
jne 0x101d70b6
mov edx, dword [ebx + 0x80]
inc edi
mov eax, edi
cmp edi, edx
jge 0x101d70b1
mov esi, dword [ebx + 0x88]
lea ecx, [esi + edi*4]
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x101d714e
inc eax
add ecx, 4
cmp eax, edx
jl 0x101d70a0
xor esi, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
call fcn.101d87d0
test al, al
je 0x101d7197
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov ecx, eax
mov dword [ebp - 0xc], eax
call fcn.101d87e0
mov ebx, eax
movzx ecx, bl
xor ecx, 0x811c9dc5
mov dword [ebp - 8], ebx
movzx eax, byte [ebp - 6]
imul edx, ecx, 0x1000193
movzx ecx, bh
xor edx, ecx
imul ecx, edx, 0x1000193
xor edx, edx
xor ecx, eax
movzx eax, byte [ebp - 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 4]
div dword [ecx + 0x80]
mov eax, dword [ecx + 0x88]
lea eax, [eax + edx*4]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [eax]
test eax, eax
je 0x101d7177
lea esp, [esp]
mov ecx, dword [eax]
cmp dword [eax + 4], ebx
je 0x101d7158
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x101d7130
mov ebx, dword [ebp - 4]
jmp 0x101d7179
mov edi, eax
mov eax, dword [esi + eax*4]
jmp 0x101d7076
mov esi, dword [esi + eax*4]
mov edi, eax
jmp 0x101d70b3
test edx, edx
jne 0x101d715f
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
push 0xc
mov dword [edx], ecx
push eax
dec dword [ebx + 0x84]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x101d7179
mov ebx, ecx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x101d7197
mov ecx, eax
call fcn.101d76f0
push 0x90
push dword [ebp - 0xc]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov dword [ebp - 8], eax
test esi, esi
jne 0x101d7081
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101db9a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ffa68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x102519c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0x1025c5d0
mov eax, 1
mov esi, 0x1025c5d0
xchg dword [esi], eax
test eax, eax
je 0x101dbaa0
xor eax, eax
mov ecx, 0x101cbfd0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp eax, 4
ja case.default.0x101db9f9
jmp dword [eax*4 + 0x101dbbf0]
pause
sub dword [ebp - 0x20], 1
jne case.default.0x101db9f9
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
add eax, 3
mov dword [ebp - 0x18], eax
jmp case.default.0x101db9f9
sub dword [ebp - 0x1c], 1
jne case.0x101db9f9.4
mov dword [ebp - 0x18], 3
call ecx
jmp case.default.0x101db9f9
mov dword [ebp - 0x18], 0
call fcn.101c9b40
test eax, eax
jne 0x101dba45
mov dword [ebp - 0x18], 4
jmp case.default.0x101db9f9
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
jmp case.default.0x101db9f9
mov dword [ebp - 0x18], 0
call fcn.101c9b40
test eax, eax
jne 0x101dba71
mov dword [ebp - 0x18], 4
jmp 0x101dba82
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
call fcn.101c9a20
mov eax, 1
xchg dword [esi], eax
test eax, eax
je 0x101dbaa0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
jmp 0x101db9f0
cmp dword [0x1025c608], 0
mov dword [ebp - 4], 0
jne 0x101dbbd4
push 0x18
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x101dbb91
push 0x800
push 0
push str.advapi32.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
jne 0x101dbb08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x101dbb85
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x101dbb85
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10220204
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi], eax
push str.UnregisterTraceGuids
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi + 4], eax
push str.TraceEvent
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi + 8], eax
push str.GetTraceLoggerHandle
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi + 0xc], eax
push str.GetTraceEnableLevel
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi + 0x10], eax
push str.GetTraceEnableFlags
push ebx
call esi
push eax
call fcn.101cbbd0
add esp, 4
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 0
mov dword [0x1025c608], edi
jmp 0x101dbb9d
mov dword [0x1025c608], 0
xor edi, edi
mov esi, dword [edi]
push 0
call fcn.101cbbd0
add esp, 4
cmp esi, eax
je 0x101dbbd4
push esi
call fcn.101cbbd0
add esp, 4
push 0x1025c5f0
push 0
push 0
push 0x10251a3c
push 7
push 0x10220134
push 0
push 0x101db800
call eax
mov dword [0x1025c5d0], 0
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 0x101e1360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [edi + 8], eax
mov dword [edi + 0x100], edx
mov eax, dword [edi + 0xc]
xor eax, dword [ecx]
and eax, 0xfffffff
xor dword [edi + 0xc], eax
mov eax, dword [ecx]
xor eax, dword [edi + 0xc]
and eax, 0xfffffff
xor eax, dword [ecx]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x18], eax
lea eax, [ebp - 0xc]
mov dword [edi + 0x110], 0
mov dword [edi + 0x11c], 1
mov ecx, dword [edx + 4]
push eax
call fcn.101d31d0
push dword [edi + 0x20]
lea ebx, [edi + 0x1c]
mov esi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov dword [esi], 0
mov dword [esi + 4], 0
push dword [ebp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 0x10]
add esp, 8
mov eax, dword [ecx]
and eax, 0xfffffff
cmp eax, 3
jne 0x101e1477
mov ebx, dword [ecx + 8]
xor edx, edx
mov esi, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, ebx
mov esi, dword [esi + 4]
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x168]
mov eax, dword [esi + 0x170]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x101e146e
cmp dword [eax + 4], ebx
je 0x101e149b
mov eax, dword [eax]
test eax, eax
jne 0x101e1463
mov eax, dword [ebp - 4]
mov dword [edi + 0x24], eax
lea ebx, [edi + 0x1c]
push ebx
lea ecx, [edi + 0x38]
call fcn.101e0c90
cmp dword [edi + 0x48], 0
je 0x101e1492
mov ecx, dword [edi + 0x48]
add ecx, 4
push ebx
call fcn.101e0c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 8]
jmp 0x101e1471

Function at 0x101e2f20
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1025c60c], eax
cmp eax, 0xffffffff
je 0x101e2f3a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x101e2f4c
movzx eax, ax
or eax, 0x80070000
push eax
lea ecx, [ebp - 0x10]
call fcn.101cc190
push 0x10237728
lea eax, [ebp - 0x10]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x101e49c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and eax, 0xfffffff
cmp eax, 3
ja case.default.0x101e49d6
jmp dword [eax*4 + 0x101e4a74]
push ebx
mov ebx, dword [edx + 8]
xor edx, edx
movzx eax, bl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 0xc]
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x101e4a3b
nop
cmp dword [eax + 4], ebx
je 0x101e4a3d
mov eax, dword [eax]
test eax, eax
jne 0x101e4a30
xor eax, eax
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 4
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x2c]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4

Function at 0x101e49dd
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
and eax, 0xfffffff
cmp eax, 3
ja case.default.0x101e49d6
jmp dword [eax*4 + 0x101e4a74]
push ebx
mov ebx, dword [edx + 8]
xor edx, edx
movzx eax, bl
xor eax, 0x811c9dc5
push esi
mov esi, dword [ecx + 0xc]
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
div dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x101e4a3b
nop
cmp dword [eax + 4], ebx
je 0x101e4a3d
mov eax, dword [eax]
test eax, eax
jne 0x101e4a30
xor eax, eax
test eax, eax
pop esi
setne al
pop ebx
pop ebp
ret 4
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x2c]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
sete al
pop ebp
ret 4
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4
Function at 0x101e6c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x101e6c97
mov ecx, 5
int 0x29
push 2
call fcn.101c8f00
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x101e6da2
test esi, esi
jne 0x101e6da2
push 2
call fcn.101c8f00
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret

Function at 0x101ef480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.101ef4b0
mov esi, dword [ebp + 8]
test al, al
je 0x101ef49e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.101ef4c0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x101ef5b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x101ef60c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x101ef60c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x101ef60c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x101ef60c
cmp dword [ecx + 0x74], 0xe
jbe 0x101ef60c
cmp dword [ecx + 0xe8], 0
je 0x101ef60c
push dword [ebp + 8]
call fcn.101ef4c0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x1029c66c
call fcn.101ef2b0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x101ef641
push dword [ebp + 8]
call fcn.101ef480
mov esp, ebp
pop ebp
ret
Function at 0x101ef7d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test bl, bl
jns 0x101ef8c5
mov ecx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x101ef7fe
lea eax, [ecx + 0x40]
cmp edi, eax
jne 0x101ef8c5
push esi
push edi
call fcn.101eb7e0
mov eax, dword [sym.imp.msvcrt.dll__iob]
add esp, 4
add eax, 0x20
cmp edi, eax
jne 0x101ef820
mov esi, 0x1029c671
mov eax, 0x1029c674
jmp 0x101ef82a
mov esi, 0x1029c672
mov eax, 0x1029c678
cmp byte [esi], 0
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
je 0x101ef87d
push edi
mov byte [eax + 1], bl
call fcn.101f7650
push edi
push 2
mov byte [ebp - 8], al
mov eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push edi
push dword [ebp - 8]
mov esi, eax
call fcn.101f7700
mov eax, dword [ebp - 4]
add esp, 0x1c
mov byte [eax], 0
test esi, esi
jne 0x101ef8b3
push edi
or ebx, 0xffffffff
call fcn.101eb820
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll___pctype_func
movzx ecx, bl
cmp word [eax + ecx*2], 0
jge 0x101ef8a6
mov eax, dword [ebp + 8]
push edi
mov byte [esi], 1
mov byte [eax], bl
call fcn.101eb820
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fputc]
add esp, 8
mov ebx, eax
push edi
call fcn.101eb820
add esp, 4
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.msvcrt.dll_fputc]
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101ef8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [sym.imp.msvcrt.dll__iob]
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x101ef911
lea eax, [ecx + 0x40]
cmp edi, eax
je 0x101ef911
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
pop edi
pop ebp
ret
push esi
push edi
call fcn.101eb7e0
push edi
call fcn.101f7650
push edi
push dword [ebp + 0x10]
mov byte [ebp + 0x14], al
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fwrite]
push edi
push dword [ebp + 0x14]
movzx esi, ax
call fcn.101f7700
push edi
call fcn.101eb820
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x101ef9b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fff60
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x102519c8]
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 ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp ebx, edx
je 0x101efb8a
mov edi, 0x5c
jmp 0x101efa00
mov eax, dword [ebx]
mov esi, dword [eax*4 + 0x1029c688]
lea ecx, [eax*4 + 0x1029c688]
mov dword [ebp - 0x414], ecx
test esi, esi
je 0x101efa28
cmp esi, 0xffffffff
jne 0x101efbb7
jmp 0x101efb7f
mov esi, dword [eax*4 + 0x10221228]
cmp byte [0x1029c680], 0
mov dword [ebp - 4], 0
je 0x101efa5d
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
jmp 0x101efb6f
test esi, esi
je 0x101efb6d
cmp word [esi], 0
je 0x101efb6d
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x101efb64
cmp eax, 0x200
jae 0x101efb64
mov word [ebp + eax*2 - 0x410], di
inc eax
cmp eax, 0x200
jae 0x101efb64
movzx ecx, word [esi]
test cx, cx
je 0x101efad4
mov edx, ecx
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x101efb64
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x101efab2
add eax, eax
cmp eax, 0x400
jae 0x101efbbb
mov edi, dword [0x102519c8]
xor ecx, ecx
mov word [ebp + eax - 0x410], cx
mov ecx, edi
xor edi, dword [0x1029c684]
and ecx, 0x1f
ror edi, cl
test edi, edi
je 0x101efb40
lea eax, [ebp - 0x418]
push eax
push 0
call edi
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov esi, eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x418]
call edi
mov ecx, dword [ebp - 0x414]
mov edi, 0x5c
mov edx, dword [ebp + 0xc]
jmp 0x101efb6f
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov ecx, dword [ebp - 0x414]
mov esi, eax
mov edx, dword [ebp + 0xc]
mov edi, 0x5c
jmp 0x101efb6f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x414]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x101efba8
or eax, 0xffffffff
xchg dword [ecx], eax
add ebx, 4
cmp ebx, edx
jne 0x101efa00
xor eax, eax
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.101f99c6
mov esp, ebp
pop ebp
ret
mov eax, esi
xchg dword [ecx], eax
test eax, eax
je 0x101efbb7
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x101efb8c
call fcn.101c8260
int3