joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001da0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
add eax, 0x14
push eax
call fcn.10001f90
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001dcd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10001e7c
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
cmp dword [ebp + 0xc], 0
je 0x10001e11
cmp dword [ebp + 0x10], 0
jbe 0x10001e11
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
call fcn.1004e8c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
cmp dword [ebp + 0x20], 0xffffffff
jne 0x10001e48
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x10001e46
push 0x1008a1b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10001e51
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x14
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10001b10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call fcn.10001fb0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10001ea0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
add eax, 0x14
push eax
call fcn.10001f90
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10001f7c
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
cmp dword [ebp + 0xc], 0
je 0x10001f11
cmp dword [ebp + 0x10], 0
jbe 0x10001f11
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
call fcn.1004e8c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
cmp dword [ebp + 0x20], 0xffffffff
jne 0x10001f48
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x10001f46
push str.Get_Session_id_fail.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10001f51
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x20]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x14
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100018b0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call fcn.10001fb0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x100033a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10093acc], 0
jne 0x1000342c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100033f2
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100033d8
sub ecx, edx
lea eax, [ebp - 0x14]
push ecx
push eax
mov ecx, 0x10093abc
call fcn.10007e00
jmp 0x10003412
cmp dword [0x10093ad0], 0x10
mov eax, 0x10093abc
mov dword [0x10093acc], 0
cmovae eax, dword [0x10093abc]
mov byte [eax], 0
cmp dword [0x10093acc], 0
jne 0x1000342c
push 9
push str._unknown_
mov ecx, 0x10093abc
call fcn.10007e00
mov ecx, dword [ebp - 4]
mov eax, 0x10093abc
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x10003560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10093ab9], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
je 0x10003689
cmp byte [0x100958a0], 0
je 0x10003689
test edi, edi
js 0x1000359a
cmp edi, 4
jl 0x100035b1
push 0xed
push 0x1008a9e0
push str.severity___0__severity___NUM_SEVERITIES
call fcn.1005d140
add esp, 0xc
xor esi, esi
cmp edi, 3
ja case.default.0x100035b8
jmp dword [edi*4 + 0x100036b0]
xor esi, esi
jmp 0x100035e8
mov esi, 3
jmp 0x100035e8
mov esi, 1
jmp 0x100035e8
push 0xfc
push 0x1008a9e0
push str.false
call fcn.1005d140
add esp, 0xc
test esi, esi
je 0x10003689
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [ebp - 0x14]
push 2
mov dword [ebp - 0x20], eax
call fcn.10056104
push eax
call fcn.10057b17
add esp, 8
sub esi, 1
je 0x10003640
sub esi, 1
je 0x10003639
sub esi, 1
je 0x10003632
mov eax, 8
jmp 0x10003645
mov eax, 0xe
jmp 0x10003645
mov eax, 0xa
jmp 0x10003645
mov eax, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
push edi
call esi
push 2
call fcn.10056104
push eax
push 1
push dword [ebp + 8]
push ebx
call fcn.100564e8
push 2
call fcn.10056104
push eax
call fcn.10057b17
add esp, 0x1c
push dword [ebp - 0x20]
push edi
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
push 2
call fcn.10056104
push eax
push 1
push dword [ebp + 8]
push ebx
call fcn.100564e8
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x10006850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100712e6
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1009d078]
test eax, eax
jne 0x10006ae3
push 0xc
call fcn.1004ce07
add esp, 4
mov dword [0x1009d078], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
cmp dword [0x10095600], 0
je 0x10006970
cmp dword [0x10095604], 0x10
mov edx, 0x100955f0
mov dword [ebp - 0x12c], 0
cmovae edx, dword [0x100955f0]
mov ecx, edx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100068f6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x12c]
call fcn.10007e00
mov dword [ebp - 4], 0
mov eax, dword [0x1009d078]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10006ab7
lea edx, [ebp - 0x12c]
push edx
push ecx
mov ecx, eax
call fcn.1000b040
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x10006ade
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006ad4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006afd
jmp 0x10006ad4
call fcn.10006590
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x10006a68
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100069c0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10007e00
mov dword [ebp - 4], 1
mov ecx, dword [0x1009d078]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10006a1a
movups xmm0, xmmword [ebp - 0x12c]
mov edx, 0xf
mov byte [ebp - 0x12c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [eax + 0x10], xmm0
add dword [ecx + 4], 0x18
jmp 0x10006a2d
lea edx, [ebp - 0x12c]
push edx
push eax
call fcn.1000b040
mov edx, dword [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10006a68
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006a5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006afd
push edx
push ecx
call fcn.1004ce37
add esp, 8
push 2
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push 0x1008aed8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.10007e00
mov dword [ebp - 4], 2
mov eax, dword [0x1009d078]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x10006924
movups xmm0, xmmword [ebp - 0x12c]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x11c]
movq qword [ecx + 0x10], xmm0
add dword [eax + 4], 0x18
jmp 0x10006ae3
push edx
push ecx
call fcn.1004ce37
add esp, 8
mov eax, dword [0x1009d078]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
call fcn.10051daf
int3
Function at 0x100075f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071370
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1004ce07
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004c01f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 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 0x1000d300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007197d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x14]
push eax
call fcn.1000b030
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1000b030
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.1000b030
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1000b030
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000d620
add esp, 0x14
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.1000cbd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000da20
mov dword [ebp - 0x20], 0x1000d1d0
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.1000db30
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.10055fab
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x1000d3c6
lea ecx, [ebp - 0x14]
call fcn.1000ecf0
jmp 0x1000d3d7
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.1004bd75
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000da20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000e340
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071a7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x19c], 0
lea ecx, [ebp - 0x40]
call fcn.10008210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10008210
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x1000e3c6
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100080b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100080b0
mov eax, dword [ebp - 0x1a0]
jmp 0x1000e540
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008080
lea ecx, [ebp - 0x28]
call fcn.10007da0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10007dc0
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x1000e3f8
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.1000dc50
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x40]
call fcn.1000c470
push 0x100763a8
lea ecx, [ebp - 0x40]
call fcn.10007f30
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x40]
call fcn.10007db0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0xffffffff
jne 0x1000e466
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100080b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100080b0
mov eax, dword [ebp - 0x1a4]
jmp 0x1000e540
mov ecx, 1
test ecx, ecx
je 0x1000e504
mov edx, dword [ebp - 0x198]
and edx, 0x10
jne 0x1000e4e5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.10008230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10007f30
mov edx, dword [ebp - 0x180]
push edx
mov eax, dword [ebp - 0x184]
push eax
call fcn.1000dcf0
add esp, 8
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x1b0]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000dac0
mov ecx, eax
call fcn.1000c470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.100080b0
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000e4ff
jmp 0x1000e504
jmp 0x1000e466
mov edx, dword [ebp - 0x19c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0xc]
call fcn.1000ed20
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100080b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100080b0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x1000f0c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1000f0e7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000f0ee
mov al, 1
jmp 0x1000f1cc
call fcn.100075b0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.100075b0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.10009750
add esp, 8
movzx eax, al
test eax, eax
je 0x1000f12a
xor al, al
jmp 0x1000f1cc
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.10010db0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f166
cmp dword [ebp - 0x30], 1
je 0x1000f16d
cmp dword [ebp - 0x30], 3
je 0x1000f1bf
jmp 0x1000f1ca
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000f19f
lfence
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.100564e8
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000f19f
xor al, al
jmp 0x1000f1cc
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000f1b3
mov dword [ebp - 0x38], 1
jmp 0x1000f1ba
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000f1cc
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x1000f1cc
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret

Function at 0x1000fab0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x10010f90
Capabilities:
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x98], ecx
push 0x80
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.1004ee40
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.GlobalF1401ECB_5F01_4C5D_8BC8_5F6BF_08d
lea edx, [ebp - 0x84]
push edx
call fcn.10010f60
add esp, 0xc
mov dword [ebp - 0x90], 0x80
lea eax, [ebp - 0x84]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x10011006
or eax, 0xffffffff
jmp 0x10011081
mov ecx, dword [ebp - 0x90]
push ecx
push 0
push 0
push 4
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1001104c
push str.MapViewOfFile_error.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x10011081
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.10057177
add esp, 4
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret 4

Function at 0x100110a0
Capabilities:
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100110c7
or eax, 0xffffffff
jmp 0x10011144
push 0x540
push 0
push 0
push 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100110ff
push 0x1007662c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x10011144
mov eax, dword [ebp - 4]
push eax
call fcn.10057177
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x1001112d
mov ecx, dword [ebp - 4]
add ecx, 0x340
mov dword [ebp - 0xc], ecx
mov ecx, 0x80
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100118e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10093054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x100119df
mov dword [ebp - 0x208], 0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.10011b10
add esp, 8
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0x100
jbe 0x10011974
lfence
mov eax, dword [ebp - 0x20c]
shl eax, 1
push eax
call fcn.10055e08
add esp, 4
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0
jne 0x10011972
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10076c14
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x100119df
jmp 0x1001198a
lea edx, [ebp - 0x204]
mov dword [ebp - 0x208], edx
mov dword [ebp - 0x20c], 0x100
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x208]
push eax
call fcn.10011230
add esp, 0x10
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x204]
cmp dword [ebp - 0x208], edx
je 0x100119df
mov eax, dword [ebp - 0x208]
push eax
call fcn.1005654b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ce45
mov esp, ebp
pop ebp
ret
Function at 0x10014390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071c1d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10093054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.1000b030
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000b030
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.1000b030
add esp, 4
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100144a0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000cbd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10014640
mov dword [ebp - 0x20], 0x100142d0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.1000db30
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
call fcn.10055fab
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x10014449
lea ecx, [ebp - 0x14]
call fcn.1000ecf0
jmp 0x1001445a
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call fcn.1004bd75
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10014830
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001487b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100772a0
push 0x100947d8
call fcn.1000ade0
add esp, 8
mov ecx, eax
call fcn.10014670
xor eax, eax
jmp 0x100148db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x217
je 0x100148a1
cmp dword [ebp - 4], 0x3e5
je 0x10014898
jmp 0x100148b4
mov dword [ebp - 8], 1
jmp 0x100148d8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x100148b4
jmp 0x100148d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ConnectNamedPipe_failed_with
push 0x100947d8
call fcn.1000ade0
add esp, 8
mov ecx, eax
call fcn.10014670
xor eax, eax
jmp 0x100148db
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8