joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb340d2
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0xc05fa8]
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
lea edi, [esi + 0x18]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [edx + ecx]
push ebx
push eax
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, edi
push eax
call fcn.00aa1c30
mov ecx, esi
mov esi, dword [esi + 0x18]
lea eax, [esi + 1]
cmp eax, 1
ja 0xb34141
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x19
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00b868d1
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ecx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push 7
push ecx
push dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0xb34269
xor eax, eax
push eax
push eax
push eax
push 6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, dword [ebp + 0x18]
test eax, eax
je 0xb3427c
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0xb341c7
test ecx, ecx
je 0xb341c7
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
lea edi, [edx + eax]
push ecx
push ebx
push edi
call fcn.00b8a240
add esp, 0xc
mov eax, 0xffffff00
mov ecx, dword [edi + eax + 0x100]
test ecx, ecx
je 0xb341c2
sub ecx, ebx
mov dword [edi + eax + 0x100], ecx
add eax, 4
jne 0xb341ae
mov eax, dword [ebp - 0x14]
mov dword [0xc0aa30], eax
sub esp, 0xc
mov edi, dword [ebp - 0x20]
mov dword [esp + 8], 4
mov dword [esp + 4], 0xc0aa30
mov ecx, edi
call fcn.00b3406e
test eax, eax
mov dword [0xc0aa30], 0
jne 0xb3425a
mov eax, dword [ebp + 0x10]
mov dword [0xc0b2f8], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0xc0b2f8
call fcn.00b3406e
test eax, eax
mov dword [0xc0b2f8], 0
jne 0xb3425a
mov eax, dword [ebp + 0x14]
mov dword [0xc0b2fc], eax
sub esp, 0xc
mov ecx, edi
mov dword [esp + 8], 4
mov dword [esp + 4], 0xc0b2fc
call fcn.00b3406e
test eax, eax
mov dword [0xc0b2fc], 0
je 0xb3428e
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0xb3412b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov ebx, 0x1a
jmp 0xb34129
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ebx, 0x1b
jmp 0xb3412b
mov esi, dword [ebp + 8]
mov eax, 0x20
lea ecx, [edi + eax]
mov dword [ebp - 0x1c], ecx
push eax
call fcn.00b86866
add esp, 4
mov ebx, eax
mov ecx, eax
push esi
push dword [edi + 0x24]
push dword [edi + 8]
push dword [edi]
call fcn.00b4c0fc
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.00b33cf8
mov ecx, dword [edi + 0x20]
push 0x400
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call fcn.00b4c18e
mov ebx, 4
test al, al
je 0xb3412b
mov ecx, edi
call fcn.00b05e30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0xb3412b
Function at 0xb48e1a
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [0xc05fa8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, 5
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0x10], ecx
mov dword [edx], 0xffffffff
jne 0xb48eb2
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
cmp byte [edi + 0xb], 0
jns 0xb48e5e
mov edi, dword [edi]
mov ebx, dword [ebx]
push 0
push esi
push edx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
je 0xb48e9f
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
lea ecx, [ebp - 0x14]
push 3
push edi
push edi
push ecx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
lea eax, [ebp - 0x14]
sbb edi, edi
or edi, dword [eax]
jmp 0xb48ea2
xor edi, edi
dec edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
xor eax, eax
cmp edi, 0xffffffff
sete al
lea esi, [eax + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00b868d1
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xb491dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov ecx, dword [ebp + 8]
mov eax, dword [0xc05fa8]
mov edi, 5
add ecx, 0xfffffffb
xor eax, ebp
cmp ecx, 1
mov dword [ebp - 0x10], eax
ja 0xb49324
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x54], 0x44
cmp byte [eax + 0xb], bl
jns 0xb49249
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
push eax
call fcn.00b9ba04
add esp, 4
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0xb49262
mov ecx, dword [edi + 4]
mov edi, dword [edi]
test ecx, ecx
mov edx, dword [ebp + 0x1c]
cmove edi, ecx
mov ecx, dword [ebp + 0xc]
cmp byte [esi + 0xb], bl
jns 0xb49274
mov esi, dword [esi]
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
push edx
push ecx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x58], eax
push eax
push esi
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, 5
test eax, eax
je 0xb49314
mov eax, dword [ebp + 8]
mov ebx, 0x101c01
cmp eax, 6
mov eax, 0x1fffff
cmove ebx, eax
mov eax, dword [esi]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push ebx
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebx, dword [esi + 4]
test eax, eax
je 0xb4930d
mov eax, esi
mov esi, 0x100c43
mov ecx, 0x1fffff
add eax, 4
cmp dword [ebp + 8], 6
mov edi, eax
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push esi
push edi
push dword [ebp - 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea edi, [ecx + ecx*4]
jmp 0xb49314
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0xb49324
push eax
call fcn.00ad85d0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00b868d1
mov eax, edi
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xb49338
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
xor ecx, ecx
mov edi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
xor ebx, ebx
push edi
mov edi, eax
push esi
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0xb493a9
mov edi, dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push ebx
push ebx
push dword [ebp - 0x10]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [ecx + ecx*4]
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0xb4b53a
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edx, dword [0xc05fa8]
mov al, byte [ebp + 8]
mov ebx, ecx
xor edx, ebp
test al, al
mov dword [ebp - 0x10], edx
je 0xb4b58d
xor esi, esi
mov edi, 0xbc76fc
mov ecx, ebx
inc esi
push 0
push 0xb5cc80
push esi
push str.NtMapViewOfSection
push edi
call fcn.00b4b0bc
mov ecx, ebx
push esi
push 0xb5ce60
push esi
push str.NtUnmapViewOfSection
push edi
call fcn.00b4b0bc
jmp 0xb4b597
cmp dword [ebx + 0xc], 0
je 0xb4b6da
mov eax, dword [ebx]
mov edi, dword [eax]
push 1
push 0x2000
push 0x10000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0xc0], eax
shl esi, 6
lea eax, [esi + 0x50]
mov dword [ebp - 0xc4], eax
push eax
call fcn.00b4af44
add esp, 4
mov dword [ebp - 0xc8], ebx
mov ebx, eax
mov eax, 0xfffff000
add esi, 0x104f
mov ecx, ebx
and ebx, 0xfff
and esi, eax
and ecx, eax
add ecx, dword [ebp - 0xc0]
push 0x40
push 0x1000
push esi
push ecx
mov dword [ebp - 0xc0], edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test eax, eax
jne 0xb4b632
lea esi, [ebp - 0xb4]
mov ecx, esi
push str.thunk_base
push 0x188
push str..._.._sandbox_win_src_interception.cc
call fcn.00ac6e70
mov ecx, esi
call fcn.00ac6f60
add edi, ebx
mov ebx, dword [ebp - 0xc4]
lea esi, [ebp - 0xb4]
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x10
push 0xa8
push eax
push 0xc0b6d0
call fcn.00b8ad40
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
push esi
push ebx
push edi
call fcn.00b4b8ee
mov ebx, eax
test eax, eax
jne 0xb4b6dc
lea eax, [ebp - 0xb8]
push eax
push 0x10
push esi
push edi
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
mov ebx, 0x2a
je 0xb4b6dc
cmp dword [ebp - 0xb8], 0x10
jne 0xb4b6dc
lea eax, [ebp - 0xbc]
push eax
push 0x20
push dword [ebp - 0xc4]
push edi
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
push 0xa8
push 0xc0b6d0
push str.g_originals
call fcn.00b3406e
mov ebx, eax
jmp 0xb4b6dc
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00b868d1
mov eax, ebx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, reloc.kernel32.dll_RemoveDirectoryA
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x2d2668fb
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x45bb7304
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0xc01058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc011a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc0107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0106a
add dl, dl
jne 0xc01089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc010dc
xor eax, eax
add dl, dl
jne 0xc01096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc0117d
add dl, dl
jne 0xc010a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc010b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc010bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc010c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc010d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc01075
mov eax, 1
add dl, dl
jne 0xc010ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc010f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc010e1
sub eax, ebx
mov ebx, 1
jne 0xc01128
mov ecx, 1
add dl, dl
jne 0xc0110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc01119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc01105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc01075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc0113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc0114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc01136
cmp eax, 0x7d00
jae 0xc0116d
cmp eax, 0x500
jb 0xc01168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc01075
cmp eax, 0x7f
ja 0xc01170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc01075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc0119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc01075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402d90
Capabilities:
Encrypt data using rc4 ksa
Set registry value

Disassembly:
xor eax, eax
mov byte [eax + 0x361f5d0], al
inc eax
cmp eax, 0x100
jne 0x402d92
push ebx
mov ebx, dword [0x361e340]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [0x3621578], esi
mov dword [0x361f5cc], edi
xor edx, edx
mov ecx, dword [esp + 0x14]
mov eax, edi
div dword [esp + 0x18]
movsx eax, byte [edx + ecx]
add esi, eax
mov dword [0x361f5c4], 0
movzx eax, byte [edi + 0x361f5d0]
add esi, eax
mov dword [0x3621578], esi
cmp ebx, 0x111b
jne 0x402e0d
push 0
push 0
push 0
call ebp
mov edi, dword [0x361f5cc]
mov esi, dword [0x3621578]
mov ebx, dword [0x361e340]
mov cl, byte [edi + 0x361f5d0]
and esi, 0xff
mov dword [0x3621578], esi
mov al, byte [esi + 0x361f5d0]
mov byte [edi + 0x361f5d0], al
inc edi
mov byte [esi + 0x361f5d0], cl
mov dword [0x361f5cc], edi
cmp edi, 0x100
jne 0x402dc0
pop edi
pop esi
pop ebp
cmp ebx, 0x10b2
mov dword [0x361f5cc], 0
pop ebx
jne 0x402e68
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [0x3621578], 0
ret
Function at 0x417702
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45fd20]
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.0040cb38
mov dword [ebp - 0x14], eax
cmp dword [0x3622480], esi
jne 0x4177f5
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x417782
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4178d5
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4178d5
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4178d5
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x3622480], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x3622484], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x3622488], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x3622490], eax
test eax, eax
je 0x4177f2
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x362248c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41781a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41780d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41782f
push 4
pop eax
jmp 0x4178d7
cmp dword [ebp - 0x14], esi
je 0x41782f
push dword [0x3622480]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x417814
mov eax, dword [0x362248c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41788d
cmp dword [0x3622490], edi
je 0x41788d
push eax
call ebx
push dword [0x3622490]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41788d
test eax, eax
je 0x41788d
call ecx
test eax, eax
je 0x417882
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 0x417882
test byte [ebp - 8], 1
jne 0x41788d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4178bd
mov eax, dword [0x3622484]
cmp eax, edi
je 0x4178ba
push eax
call ebx
test eax, eax
je 0x4178ba
call eax
mov esi, eax
test esi, esi
je 0x4178ba
mov eax, dword [0x3622488]
cmp eax, edi
je 0x4178ba
push eax
call ebx
test eax, eax
je 0x4178ba
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x3622480]
call ebx
test eax, eax
je 0x4178d5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4178d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404b9a
mov esp, ebp
pop ebp
ret
Function at 0x100044b0
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a88df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.10004740
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10004740
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10004740
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.100046e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.100046e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.10004790
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.10003430
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.10001a80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xe8
call fcn.10001a80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xf4
call fcn.10001a80
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x100
call fcn.10003750
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001b860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10086465
add esp, 0x10
xor edx, edx
pop ebp
ret

Function at 0x1001ba50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0x100ac808
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1001bab1
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0x10]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x1001ba6b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1001bac0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0x100ac808
cmp dword [ebp + 0xc], 0
je 0x1001bb79
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x1001bb77
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x1001bb54
cmp dword [ebp + 0xc], 2
jb 0x1001bb54
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x1001bb54
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x1001bb54
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x1001baeb
jmp 0x1001bbee
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x1001bbee
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x1001bbcf
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1001bbcf
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x1001bbcf
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x1001bb79
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret