joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6824b4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x6824e2
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x6824e9
cmp ebx, dword [eax + 4]
jae 0x6824e9
xor eax, eax
jmp 0x6826d9
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x6824fa
xor eax, eax
inc eax
jmp 0x6826d8
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x682510
cmp ecx, edx
jae 0x682655
cmp dword [eax + 4], 0
je 0x682519
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x682501
cmp dword [ebp + 8], 0
je 0x68253b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x682655
cmp eax, esi
jae 0x682655
mov eax, dword [0x7e43a0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x682560
cmp dword [esi*4 + 0x7e43a8], edi
je 0x682659
inc esi
cmp esi, eax
jl 0x68254e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x6826d5
cmp dword [ebp - 8], 0x1000000
jne 0x6826d5
test byte [ebp - 0xc], 0xcc
je 0x6825de
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x6826d5
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x6826d5
cmp word [eax + 0x18], 0x10b
jne 0x6826d5
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x6826d5
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x6825de
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x6825de
test byte [ecx + 0x27], 0x80
jne 0x682655
push 1
push 0x7e43e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x6824f2
mov ecx, dword [0x7e43a0]
test ecx, ecx
mov edx, ecx
jle 0x682612
lea eax, [ecx*4 + 0x7e43a4]
cmp dword [eax], edi
je 0x682612
dec edx
sub eax, 4
test edx, edx
jg 0x682606
test edx, edx
jne 0x682643
push 0xf
pop ebx
cmp ecx, ebx
jg 0x68261f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x682637
lea eax, [edx*4 + 0x7e43a8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x682625
cmp ecx, 0x10
jge 0x682643
inc ecx
mov dword [0x7e43a0], ecx
push 0
push 0x7e43e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x6824f2
xor eax, eax
jmp 0x6826d8
test esi, esi
jle 0x6824f2
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x7e43e8
call ebx
test eax, eax
jne 0x6824f2
cmp dword [esi*4 + 0x7e43a8], edi
je 0x6826af
mov eax, dword [0x7e43a0]
lea esi, [eax - 1]
test esi, esi
jl 0x68269d
cmp dword [esi*4 + 0x7e43a8], edi
je 0x682699
dec esi
jns 0x68268d
test esi, esi
jge 0x6826ad
cmp eax, 0x10
jge 0x6826a8
inc eax
mov dword [0x7e43a0], eax
lea esi, [eax - 1]
jmp 0x6826af
je 0x6826c7
xor ecx, ecx
test esi, esi
jl 0x6826c7
lea eax, [ecx*4 + 0x7e43a8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x6826b5
push 0
push 0x7e43e8
call ebx
jmp 0x6824f2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6826dd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x7e43ec], ebx
push esi
push edi
jne 0x68275d
push 0x6d30a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x682798
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6d3094
push edi
call esi
test eax, eax
mov dword [0x7e43ec], eax
je 0x682798
push 0x6d3084
push edi
call esi
push 0x6d3070
push edi
mov dword [0x7e43f0], eax
call esi
cmp dword [0x7e40e8], 2
mov dword [0x7e43f4], eax
jne 0x68275d
push 0x6d3054
push edi
call esi
test eax, eax
mov dword [0x7e43fc], eax
je 0x68275d
push 0x6d303c
push edi
call esi
mov dword [0x7e43f8], eax
mov eax, dword [0x7e43f8]
test eax, eax
je 0x6827a2
call eax
test eax, eax
je 0x682789
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x7e43fc]
test eax, eax
je 0x682789
test byte [ebp - 8], 1
jne 0x6827a2
cmp dword [0x7e40f4], 4
jb 0x68279c
or byte [ebp + 0x12], 0x20
jmp 0x6827c1
xor eax, eax
jmp 0x6827d1
or byte [ebp + 0x12], 4
jmp 0x6827c1
mov eax, dword [0x7e43f0]
test eax, eax
je 0x6827c1
call eax
mov ebx, eax
test ebx, ebx
je 0x6827c1
mov eax, dword [0x7e43f4]
test eax, eax
je 0x6827c1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x7e43ec]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6827d6
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6f2220]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x682807
xor eax, eax
jmp 0x682990
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x7e4860]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x682843
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0068811d
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x68291e
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x68295c
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x6828a7
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x682898
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x682878
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x6828e7
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x6828f0
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x682869
jmp 0x6828f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x68298b
cmp dword [ebp - 0x6c], edi
je 0x68295c
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x682951
call fcn.006783be
mov dword [eax], 9
call fcn.006783c7
mov dword [eax], esi
jmp 0x682986
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x682946
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x6828f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x6828f2
push dword [ebp - 0x6c]
call fcn.006783d0
pop ecx
jmp 0x682986
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x682974
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x682974
xor eax, eax
jmp 0x68298e
call fcn.006783be
mov dword [eax], 0x1c
call fcn.006783c7
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x68298e
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00674e87
add ebp, 0x3a0
leave
ret
Function at 0x6882b3
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00676300
mov eax, dword [0x6f2220]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00682102
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x6883e6
push 2
push esi
push dword [ebp + 8]
call fcn.00682102
add esp, 0xc
cmp eax, ebx
je 0x6883e6
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x688386
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00685ab0
push 0x8000
push dword [ebp + 8]
call fcn.00688ea1
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x68833c
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.006827d6
add esp, 0xc
cmp eax, 0xffffffff
je 0x68835c
sub edi, eax
test edi, edi
jg 0x688334
jmp 0x688374
call fcn.006783c7
cmp dword [eax], 5
jne 0x688371
call fcn.006783be
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00688ea1
pop ecx
pop ecx
jmp 0x6883ce
jge 0x6883ce
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00682102
push dword [ebp + 8]
call fcn.0068773b
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x6883ce
call fcn.006783be
mov dword [eax], 0xd
call fcn.006783c7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00682102
add esp, 0xc
mov eax, esi
pop edi
jmp 0x6883e8
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00674e87
leave
ret
Function at 0x6883f4
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x6d5ee0
call fcn.0067b28c
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x7e45a0], edi
jne 0x688438
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x688423
mov dword [0x7e45a0], ebx
jmp 0x688438
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x688438
mov dword [0x7e45a0], 2
mov eax, dword [0x7e45a0]
cmp eax, ebx
jne 0x688458
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x68851b
cmp eax, 2
je 0x688461
cmp eax, edi
jne 0x688489
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x688474
mov eax, dword [0x7e4558]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x688490
xor eax, eax
jmp 0x68851b
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00676300
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x6884c3
cmp esi, edi
jne 0x6884d9
push dword [ebp - 0x20]
call fcn.00676bc6
pop ecx
mov esi, eax
cmp esi, edi
je 0x688489
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x68850c
cmp dword [ebp + 0x14], edi
jne 0x6884f6
push edi
push edi
jmp 0x6884fc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x688518
push esi
call fcn.0067544a
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0067b2c7
ret
Function at 0x688524
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x6d5ef0
call fcn.0067b28c
xor esi, esi
cmp dword [0x7e45a4], esi
jne 0x688568
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x688553
mov dword [0x7e45a4], edi
jmp 0x688568
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x688568
mov dword [0x7e45a4], 2
mov eax, dword [0x7e45a4]
cmp eax, 2
je 0x688649
cmp eax, esi
je 0x688649
cmp eax, 1
jne 0x6885ad
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x688596
mov eax, dword [0x7e4558]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x6885b4
xor eax, eax
jmp 0x68865b
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00676300
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x6885ea
cmp edi, esi
jne 0x688605
lea eax, [ebx + ebx]
push eax
call fcn.00676bc6
pop ecx
mov edi, eax
cmp edi, esi
je 0x6885ad
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x688638
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x688622
push esi
push esi
jmp 0x688628
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x688644
push edi
call fcn.0067544a
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x68865b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0067b2c7
ret
Function at 0x68935b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x689374
or eax, 0xffffffff
jmp 0x6893d5
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x6893d1
push 0x3d
push esi
call fcn.0067a6dd
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x6893d1
cmp esi, eax
je 0x6893d1
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x7e4108]
sete cl
cmp eax, dword [0x7e410c]
mov dword [ebp - 8], ecx
jne 0x6893b7
mov edi, eax
call fcn.006892fa
mov dword [0x7e4108], eax
cmp eax, ebx
jne 0x689410
cmp dword [ebp + 0xc], ebx
je 0x6893d9
cmp dword [0x7e4110], ebx
je 0x6893d9
call fcn.00688af8
test eax, eax
je 0x689410
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x6893e2
xor eax, eax
jmp 0x6893d4
push 4
call fcn.00676bc6
cmp eax, ebx
pop ecx
mov dword [0x7e4108], eax
je 0x6893d1
mov dword [eax], ebx
cmp dword [0x7e4110], ebx
jne 0x689410
push 4
call fcn.00676bc6
cmp eax, ebx
pop ecx
mov dword [0x7e4110], eax
je 0x6893d1
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x7e4108]
call fcn.006892ad
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x689471
cmp dword [esi], ebx
je 0x689471
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0067544a
cmp dword [ebp - 8], ebx
pop ecx
jne 0x689454
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x6894b2
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x68944b
mov eax, edi
shl eax, 2
push eax
push dword [0x7e4108]
call fcn.00676cc2
cmp eax, ebx
pop ecx
pop ecx
je 0x6894b2
jmp 0x6894ad
cmp dword [ebp - 8], ebx
jne 0x68951d
cmp edi, ebx
jge 0x689480
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x7e4108]
call fcn.00676cc2
cmp eax, ebx
pop ecx
pop ecx
je 0x6893d1
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x7e4108], eax
cmp dword [ebp + 0xc], ebx
je 0x689507
push dword [ebp - 4]
call fcn.0067a8f0
inc eax
inc eax
push eax
call fcn.00676bc6
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x689507
push dword [ebp - 4]
push esi
call fcn.0067a2a0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x689500
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0067544a
pop ecx
cmp dword [ebp - 8], ebx
je 0x689515
push dword [ebp - 4]
call fcn.0067544a
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x6893d4
push dword [ebp - 4]
call fcn.0067544a
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x6893de
Function at 0x11210
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 9], 1
mov ecx, dword [ebp + 8]
add ecx, 8
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp - 0xa], al
mov eax, dword [ebp + 8]
push eax
call fcn.00011410
movzx ecx, al
test ecx, ecx
jne 0x112c0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
je 0x112c0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0xc]
jl 0x112b6
mov edx, dword [ebp + 8]
push edx
call fcn.00011430
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x112a7
mov byte [ebp - 9], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.000114d0
jmp 0x112c0
push str.RemoveTailList_Failed___n
call sub.ntoskrnl.exe_DbgPrint
add esp, 4
jmp 0x112c0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x1124f
movzx ecx, byte [ebp - 9]
test ecx, ecx
je 0x112f9
mov edx, dword [ebp + 8]
add edx, 0x18
push edx
call fcn.00011510
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.000114d0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 8]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 8
mov dl, byte [ebp - 0xa]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x11700
Capabilities:
Check processdebugport

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
push 4
lea eax, [ebp - 8]
push eax
push 7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_NtQueryInformationProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x11727
xor al, al
jmp 0x11735
cmp dword [ebp - 8], 0
je 0x11733
mov al, 1
jmp 0x11735
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x11ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6c], 0
mov dword [ebp - 0xa0], 0xa1b2c3d4
mov ecx, 2
mov word [ebp - 0x9c], cx
mov edx, 4
mov word [ebp - 0x9a], dx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], 0x800
mov dword [ebp - 0x94], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 8
ja case.0x11b1e.4
mov edx, dword [ebp - 0xa4]
jmp dword [edx*4 + 0x11bbc]
mov dword [ebp - 0x8c], 1
jmp 0x11b77
mov dword [ebp - 0x8c], 1
jmp 0x11b77
mov dword [ebp - 0x8c], 0xa
jmp 0x11b77
mov dword [ebp - 0x8c], 6
jmp 0x11b77
mov dword [ebp - 0x8c], 7
jmp 0x11b77
mov dword [ebp - 0x8c], 0xb
jmp 0x11b77
mov dword [ebp - 0x8c], 1
push 0
push 0
push 0x18
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x84]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jge 0x11bb0
mov dword [ebp - 0x7c], 0xc000000f
mov eax, dword [ebp - 0x7c]
jmp 0x11bb3
mov eax, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret 8

Function at 0x11c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
cmp dword [ebp + 0x10], 0x5ea
jle 0x11c30
push 0
push 0x131
push str.dump.c
push str.FALSE
call dword [sym.imp.ntoskrnl.exe_RtlAssert]
xor eax, eax
jmp 0x11cce
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.ntoskrnl.exe_KeQuerySystemTime]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x620], ecx
mov edx, dword [ebp + 0x10]
add edx, 4
mov dword [ebp - 0x61c], edx
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x608], eax
mov ecx, dword [ebp - 0x624]
mov dword [ebp - 0x604], ecx
mov edx, dword [ebp - 0x620]
mov dword [ebp - 0x600], edx
mov eax, dword [ebp - 0x61c]
mov dword [ebp - 0x5fc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x5f8]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x608]
push edx
lea eax, [ebp - 0x630]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x634]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x11d60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x11da4
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [eax*4 + 0x17058]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x11d6b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x11e00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
test ecx, ecx
je 0x11e44
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 4]
and ecx, 0xff
mov edx, dword [ebp - 4]
shr edx, 8
xor edx, dword [ecx*4 + 0x17058]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x11e0a
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret 0xc

Function at 0x14600
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], 0
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov dword [ebp - 0x10], eax
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x14658
push 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x14]
jmp 0x146d6
mov dword [ebp - 0xc], 0
jmp 0x1466a
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx]
jae 0x146c7
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x11c
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 4]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x11c
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax + 0x1e]
lea ecx, [edx + eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.ntoskrnl.exe__stricmp
add esp, 8
test eax, eax
jne 0x146c5
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x11c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x146c7
jmp 0x14661
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4