joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414102
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.0040fa0b
mov dword [ebp - 0x14], eax
cmp dword [0x7ab344], esi
jne 0x4141f5
push 0x800
push esi
push 0x41e7d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x414182
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4142d5
push esi
push esi
push 0x41e7d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4142d5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4142d5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x7ab344], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x7ab348], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x7ab34c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ab354], eax
test eax, eax
je 0x4141f2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x7ab350], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41421a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41420d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41422f
push 4
pop eax
jmp 0x4142d7
cmp dword [ebp - 0x14], esi
je 0x41422f
push dword [0x7ab344]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414214
mov eax, dword [0x7ab350]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41428d
cmp dword [0x7ab354], edi
je 0x41428d
push eax
call ebx
push dword [0x7ab354]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41428d
test eax, eax
je 0x41428d
call ecx
test eax, eax
je 0x414282
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 0x414282
test byte [ebp - 8], 1
jne 0x41428d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4142bd
mov eax, dword [0x7ab348]
cmp eax, edi
je 0x4142ba
push eax
call ebx
test eax, eax
je 0x4142ba
call eax
mov esi, eax
test esi, esi
je 0x4142ba
mov eax, dword [0x7ab34c]
cmp eax, edi
je 0x4142ba
push eax
call ebx
test eax, eax
je 0x4142ba
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x7ab344]
call ebx
test eax, eax
je 0x4142d5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4142d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409948
mov esp, ebp
pop ebp
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..pdata
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x59ec7669
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3bb0302f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x10010e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1007e0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [0x1007f4ca], 1
mov byte [edi + 0x18], 1
call esi
mov dword [edi + 0x1a], eax
call esi
mov dword [edi + 0x24], eax
call esi
push str.START
push 3
push 1
push 1
mov dword [edi + 0x28], eax
call fcn.1000a570
add esp, 0x10
call fcn.10014c60
test eax, eax
je 0x10010e74
lea edx, [ebp - 0x34]
mov ecx, eax
call fcn.10014b90
jmp 0x10010e89
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movq xmm0, qword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
movss xmm0, dword [edi + 0x38]
divss xmm0, dword [0x10077744]
cvttss2si ecx, xmm0
movss xmm0, dword [edi + 0x34]
divss xmm0, dword [0x10077744]
push ecx
cvttss2si eax, xmm0
xorps xmm0, xmm0
push eax
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xe
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.POSITION__d__d]
movq qword [ecx], xmm0
mov eax, dword [0x10076bb8]
mov dword [ecx + 8], eax
mov ax, word [0x10076bbc]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x28]
push eax
mov byte [ecx + 0xe], 0
call fcn.1000a7c0
add esp, 0x24
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x10010f13
mov eax, dword [eax]
push eax
push 4
push 1
push 1
call fcn.1000a570
mov dword [ebp - 4], 0xffffffff
add esp, 0x10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10010f5f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010f55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10010f55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a813
add esp, 8
cmp byte [edi + 0x18], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
je 0x10010fb9
cmp byte [0x1007e164], 0
je 0x10010fa6
push str.BAIT_1_SLOT
push 4
push 1
push 1
call fcn.1000a570
add esp, 0x10
mov ecx, 1
call fcn.100114f0
mov ecx, edi
call fcn.10011570
jmp 0x10010fb9
push str.NO_BAITS_ABORT_
push 4
push 1
push 1
call fcn.1000a570
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a4bb
mov esp, ebp
pop ebp
ret

Function at 0x10011690
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x100116da
cmp byte [0x1007e164], 0
je 0x100116c7
push str.BAIT_1_SLOT
push 4
push 1
push 1
call fcn.1000a570
add esp, 0x10
mov ecx, 1
call fcn.100114f0
mov ecx, esi
pop esi
jmp fcn.10011570
push str.NO_BAITS_ABORT_
push 4
push 1
push 1
call fcn.1000a570
add esp, 0x10
pop esi
ret
Function at 0x10016970
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056405
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1007e0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10016690
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x100169fa
add eax, 0x10
push eax
lea eax, [ebp + 8]
push eax
call fcn.10018d60
test al, al
jne 0x100169fa
lea eax, [ebp + 8]
push eax
call fcn.100165b0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi]
cmp eax, ebx
jbe 0x100169f6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea eax, [ebp + 8]
push eax
call fcn.100165b0
mov dword [eax], esi
jmp 0x10016a52
xor bl, bl
jmp 0x10016a54
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.10005850
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100167b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10016a52
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016a48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016a7a
push ecx
push edx
call fcn.1001a813
add esp, 8
mov bl, 1
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x10016a8a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016a80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016a80
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a813
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a4bb
mov esp, ebp
pop ebp
ret
Function at 0x10018a50
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 6
cmp eax, dword [esi + 0x3c]
je 0x10018b0e
cmp byte [esi + 0x4a], 0
je 0x10018b02
cmp byte [esi + 0x46], 0
je 0x10018a8d
mov ecx, dword [0x1007f46c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x47], 0
je 0x10018a9e
mov ecx, dword [0x1007f46c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4c], 0
je 0x10018ab5
push 0
push 0
push 0
push 0x10009230
push 0
push 0
call edi
cmp byte [esi + 0x4d], 0
je 0x10018ac6
mov ecx, dword [0x1007f47c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4e], 0
je 0x10018ad7
mov ecx, dword [0x1007f488]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4f], 0
jne 0x10018b8b
cmp byte [esi + 0x50], 0
je 0x10018af5
push 9
push dword [0x1007f484]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x51], 0
je 0x10018b02
mov ecx, esi
call fcn.10018590
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 6
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
sar eax, 6
cmp eax, dword [esi + 0x40]
je 0x10018bc0
cmp byte [esi + 0x4b], 0
je 0x10018bb4
cmp byte [esi + 0x46], 0
je 0x10018b3b
mov ecx, dword [0x1007f46c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x47], 0
je 0x10018b4c
mov ecx, dword [0x1007f46c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4c], 0
je 0x10018b63
push 0
push 0
push 0
push 0x10009230
push 0
push 0
call edi
cmp byte [esi + 0x4d], 0
je 0x10018b74
mov ecx, dword [0x1007f47c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4e], 0
je 0x10018b85
mov ecx, dword [0x1007f488]
mov eax, dword [ecx]
call dword [eax + 8]
cmp byte [esi + 0x4f], 0
je 0x10018b93
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp byte [esi + 0x50], 0
je 0x10018ba7
push 9
push dword [0x1007f484]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x51], 0
je 0x10018bb4
mov ecx, esi
call fcn.10018590
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
sar eax, 6
mov dword [esi + 0x40], eax
cmp byte [esi + 0x52], 0
je 0x10018bea
push 0
push 0
push 0
push 0x10009230
push 0
push 0
call edi
mov ecx, dword [0x1007f47c]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [esi + 0x45], 0
mov byte [esi + 0x52], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100192d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100566bf
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1007e0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
mov eax, edi
mov dword [edi + 4], vtable.Singleton_class_Automation_.0
mov dword [0x1007f46c], eax
mov dword [edi], vtable.Automation.0
mov dword [edi + 4], vtable.Automation.1.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0x20]
mov dword [ebp - 0x2c], esi
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001a4c9
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [str.0xa3a25]
lea esi, [edi + 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
mov ax, word [0x10075b78]
mov word [ebp - 0x24], ax
mov al, byte [0x10075b7a]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], 0
mov byte [ebp - 4], 5
push 0x28
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001a4c9
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10019180
push fcn.10004f00
push 1
push 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.1001a852
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 8]
sar eax, 6
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
sar eax, 6
mov dword [edi + 0x40], eax
mov eax, edi
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov word [edi + 0x50], 0
mov byte [edi + 0x52], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a4bb
mov esp, ebp
pop ebp
ret
Function at 0x1001f030
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1007b368
push 0x1001a967
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1007e0c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x148], edx
push ecx
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x14c], esi
cmp esi, 0xffffffff
je 0x1001f1d8
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x140], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0
lea eax, [ebp - 0x144]
push eax
push 8
lea eax, [ebp - 0x140]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1001f10f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001f1d8
push dword [ebp - 0x13c]
call fcn.1001a844
mov edi, eax
mov dword [ebp - 0x150], edi
push dword [ebp - 0x13c]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x13c]
push edi
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1001f1c8
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1001f1c8
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x148]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001a84d
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1001f1da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001a84d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1001a4bb
mov esp, ebp
pop ebp
ret
Function at 0x10020b80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x1007f11c]
push edi
cmp byte [esi + 0x2efc], 0
je 0x10020c1f
cmp dword [esi + 0x2f04], 0
lea edi, [esi + 0x2f08]
je 0x10020c11
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x10020bc9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1000e270
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1002f290
mov edx, dword [edi]
mov ecx, 0x1007f052
push dword [esi + 0x2f04]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2f10]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1002f290
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1007f11c]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1a6c]
mov esi, 4
mov eax, dword [edi + 0xb8]
add edi, 0xb8
mov dword [ebp - 4], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10059f30]
sub esi, 1
jne 0x100253d2
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10025419
inc ecx
test esi, esi
je 0x10025407
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1002540c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1000dfa0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a260
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1002a29d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1002a283
cmp byte [esi], bl
jne 0x1002a283
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10059f30]
test bl, bl
jne 0x1002a274
pop edi
pop esi
not ecx
pop ebx
jmp 0x1002a2b0
mov eax, dword [0x1007f11c]
push ebx
push esi
push edi
mov esi, dword [eax + 0x1a64]
mov edi, ecx
mov eax, dword [eax + 0x1a5c]
lea ebx, [esi + eax*8]
test eax, eax
je 0x1002a2ee
nop dword [eax]
mov edx, eax
shr edx, 1
cmp dword [esi + edx*8], edi
lea ecx, [esi + edx*8]
jae 0x1002a2e8
lea esi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add eax, ecx
jmp 0x1002a2ea
mov eax, edx
test eax, eax
jne 0x1002a2d0
cmp esi, ebx
je 0x1002a2fd
cmp dword [esi], edi
jne 0x1002a2fd
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1002dce0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056dc3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x1007e0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1007f11c]
test eax, eax
je 0x1002dd17
inc dword [eax + 0x370]
push 0x3d38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002dd4c
push 0
mov ecx, eax
call fcn.1000c440
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x1002dd51
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1007f11c], 0
jne 0x1002dd67
mov dword [0x1007f11c], edi
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x10076605
mov dword [ebp - 0x40], 0x10076604
mov al, 0x57
or edi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x1002dd9e
cmp byte [esi], al
jne 0x1002dd9e
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10059f30]
test al, al
jne 0x1002dd90
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
not edx
mov dword [ebp - 0x38], 0x10020070
push eax
mov dword [ebp - 0x3c], edx
lea ecx, [ebx + 0x2ecc]
mov dword [ebp - 0x30], 0x1001ffc0
mov dword [ebp - 0x2c], 0x1001ff10
mov dword [ebp - 0x28], 0x1001fdf0
mov dword [ebp - 0x24], 0x1001fbc0
call fcn.1000d850
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov esi, 0x10076809
mov dword [ebp - 0x40], str.Table
mov al, 0x54
or edi, 0xffffffff
cmp al, 0x23
jne 0x1002de21
cmp byte [esi], al
jne 0x1002de21
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10059f30]
test al, al
jne 0x1002de13
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], 0x10045820
not edx
mov dword [ebp - 0x30], 0x10045750
push eax
lea ecx, [ebx + 0x2ecc]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x2c], 0x10045520
mov dword [ebp - 0x28], 0x100457e0
mov dword [ebp - 0x24], 0x10045220
call fcn.1000d850
mov edi, dword [ebp - 0x14]
mov eax, edi
mov byte [edi], 1
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 0x1002e4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xb8]
mov eax, dword [ecx + 0xc0]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10059f30]
sub edi, 1
jne 0x1002e4d0
mov ecx, dword [0x1007f11c]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1aa4], eax
jne 0x1002e502
mov dword [ecx + 0x1aa8], eax
cmp dword [ecx + 0x1adc], eax
jne 0x1002e511
mov byte [ecx + 0x1ae0], 1
pop ebp
ret 4