joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4177c7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x443338]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41780d
cmp word [ebx], dx
jne 0x41780d
or byte [eax + edi + 0x28], 4
jmp 0x417812
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x417975
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x417955
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x417853
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417889
cmp eax, edx
jae 0x417897
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41782e
jmp 0x417975
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417950
cmp dword [ebp - 0x18], 0
je 0x417950
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x443338]
test byte [eax + edi + 0x28], 0x48
je 0x417926
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x4178ea
mov word [esi], cx
jmp 0x417921
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x443338]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x443338]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x443338]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x417975
pop eax
cmp word [ebp - 4], ax
jne 0x417936
cmp esi, ebx
jne 0x417936
mov word [esi], ax
jmp 0x417972
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041839a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x417975
push 0xd
pop eax
jmp 0x417931
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x443338]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41796f
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x417975
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a657
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9b8
push 0x42d9b0
push str.FlsAlloc
push 0x1f
call fcn.0041a516
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a68b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4261f0]
call esi
jmp 0x41a691
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41a6d5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9c8
push 0x42d9c0
push str.FlsGetValue
push 0x21
call fcn.0041a516
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a70c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4261f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41a714
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42d9d0
push 0x42d9c8
push str.FlsSetValue
push 0x22
call fcn.0041a516
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41a74e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4261f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41b44d
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x434004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x41b490
call fcn.00411cc6
mov dword [eax], 0xf
call fcn.00411cd9
mov dword [eax], 0xd
call fcn.00416c17
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a13e
leave
ret
test eax, eax
jne 0x41b497
inc eax
jmp 0x41b484
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x41b482
xor eax, eax
cmp ecx, 1
setne al
jmp 0x41b484

Function at 0x41c569
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c084
Function at 0x41cee4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x434004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41cf2f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041d07f
test al, al
jne 0x41cf29
sub edx, 2
cmp edx, edi
jne 0x41cf0f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41cf51
lea eax, [edi + 2]
cmp edx, eax
je 0x41cf51
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041ce30
add esp, 0x10
jmp 0x41d04b
push esi
lea ecx, [ebp - 0x255]
call fcn.0041d07f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41cf94
push dword [ebp - 0x25c]
jmp 0x41cf41
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41cfd1
cmp word [ebp - 0x226], 0
je 0x41cff2
cmp word [ebp - 0x226], ax
jne 0x41cfd1
cmp word [ebp - 0x224], 0
je 0x41cff2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041ce30
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41d03e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41cfab
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41d026
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41d04b
push 0x41cc60
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004225d0
add esp, 0x10
jmp 0x41d01b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a13e
leave
ret
Function at 0x41d957
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41d9f4
push ebx
push esi
call fcn.0041d920
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041b578
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41d9a1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d9f3
push edi
push eax
call fcn.00419471
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41d9c1
call fcn.00416c5b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d9f2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041b578
add esp, 0x20
test eax, eax
jne 0x41d9e0
push edi
call fcn.00416c5b
jmp 0x41d9e8
push ebx
call fcn.00416c5b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41d9f7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41da08
pop esi
ret
push ebx
push edi
push esi
call fcn.0041d920
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00419471
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41da30
push ebx
push esi
push edi
call fcn.0040add0
add esp, 0xc
push 0
call fcn.00416c5b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x423985
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00423901
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423af4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423af4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423aa9
jg 0x4239e1
test eax, eax
je 0x423a9f
push 1
push 0x1000
call fcn.0041a386
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423a04
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423a96
push 0x8000
push ebx
call fcn.00412fbb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423a2d
jg 0x423a28
cmp ecx, 0x1000
jb 0x423a2d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00418ed6
add esp, 0x10
cmp eax, 0xffffffff
je 0x423a72
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423a28
jl 0x423a59
test ecx, ecx
jne 0x423a1a
push dword [ebp - 0xc]
push ebx
call fcn.00412fbb
push esi
call fcn.00416c5b
add esp, 0xc
xor ebx, ebx
jmp 0x423b02
cmp byte [edi + 0x24], 0
je 0x423a89
cmp dword [edi + 0x20], 5
jne 0x423a89
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423a94
mov ebx, dword [edi + 0x18]
jmp 0x423a96
xor ebx, ebx
push esi
call fcn.00416c5b
pop ecx
jmp 0x423b02
test ecx, ecx
jg 0x423a6b
jl 0x423aa9
test eax, eax
jae 0x423a6b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041839a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423ac9
cmp byte [edi + 0x1c], 0
je 0x423a6b
jmp 0x423afa
push ebx
call fcn.00414279
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423a6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423b02
cmp byte [edi + 0x1c], 0
je 0x423aff
mov ebx, dword [edi + 0x18]
jmp 0x423b02
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041839a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425770
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42579d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42579d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x73c70012
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x694e47b0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
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
pop eax
nop
nop
mov esi, 0x18d5114e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4151705f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000ebd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push esi
mov esi, dword [0x1018d38c]
xor ebx, ebx
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x67
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x76
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], 0x74
mov byte [esp + 0x21], 0x71
mov byte [esp + 0x22], 0x65
mov byte [esp + 0x23], 0x67
mov byte [esp + 0x24], 0x75
mov byte [esp + 0x25], 0x75
mov byte [esp + 0x26], 0x43
mov byte [esp + 0x27], bl
mov al, byte [esp + 0x19]
mov eax, ebx
sub byte [esp + eax + 0x19], 2
inc eax
cmp eax, 0xe
jb 0x1000ec33
mov byte [esp + 0x10], 0x6c
mov byte [esp + 0x11], 0x66
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x66
mov byte [esp + 0x15], 0x6d
mov byte [esp + 0x16], 0x34
mov byte [esp + 0x17], 0x33
mov byte [esp + 0x18], bl
mov al, byte [esp + 0x10]
mov eax, ebx
dec byte [esp + eax + 0x10]
inc eax
cmp eax, 8
jb 0x1000ec70
push 1
push 0xa
push 0x1000e9bf
push ecx
lea eax, [esp + 0x29]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1005d818
pop ecx
push eax
mov ecx, esi
call fcn.1005bf5f
mov byte [esp + 0x19], 0x4b
mov byte [esp + 0x1a], 0x7a
mov byte [esp + 0x1b], 0x6d
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x7c
mov byte [esp + 0x1e], 0x6d
mov byte [esp + 0x1f], 0x58
mov byte [esp + 0x20], 0x7a
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0x6b
mov byte [esp + 0x23], 0x6d
mov byte [esp + 0x24], 0x7b
mov byte [esp + 0x25], 0x7b
mov byte [esp + 0x26], 0x5f
mov byte [esp + 0x27], bl
mov al, byte [esp + 0x19]
mov eax, ebx
sub byte [esp + eax + 0x19], 8
inc eax
cmp eax, 0xe
jb 0x1000ecee
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], 0x7d
mov byte [esp + 0x13], 0x79
mov byte [esp + 0x14], 0x70
mov byte [esp + 0x15], 0x77
mov byte [esp + 0x16], 0x3e
mov byte [esp + 0x17], 0x3d
mov byte [esp + 0x18], bl
mov al, byte [esp + 0x10]
sub byte [esp + ebx + 0x10], 0xb
inc ebx
cmp ebx, 8
jb 0x1000ed29
push 1
push 0xa
push 0x1000ea48
push ecx
lea eax, [esp + 0x29]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.1005d818
pop ecx
push eax
mov ecx, esi
call fcn.1005bf5f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000ed5e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [0x1018d38c]
xor ecx, ecx
mov byte [ebp - 0xf], 0x7a
mov byte [ebp - 0xe], 0x6b
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x71
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x34
mov byte [ebp - 8], 0x6a
mov byte [ebp - 7], 0x72
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 6
inc ecx
cmp ecx, 0xa
jb 0x1000ed9b
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x54], eax
pop esi
leave
ret
Function at 0x1001a454
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b03d
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x30]
test edi, edi
je 0x1001a485
mov ecx, edi
call fcn.1001a23b
mov ecx, edi
call fcn.1001d7dc
mov edi, dword [esi + 0x34]
test edi, edi
je 0x1001a49a
mov ecx, edi
call fcn.1001a23b
mov ecx, edi
call fcn.1001d7dc
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push 0x100182ba
push 2
push 0xc
push eax
call fcn.1007a4a1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
not edx
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10093968]
inc edi
sub esi, 1
jne 0x1001b95c
pop edi
not edx
pop esi
mov eax, edx
pop ebp
ret

Function at 0x1001b97c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x1001b9e0
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x1001b9a8
cmp edi, 2
jb 0x1001b9a8
cmp byte [esi], al
jne 0x1001b9a8
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10093968]
test edi, edi
jne 0x1001b991
jmp 0x1001b9e7
cmp al, 0x23
jne 0x1001b9ce
cmp byte [esi], al
jne 0x1001b9ce
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10093968]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001b9c0
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x1001bb09
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1001bb19
and dword [ebx], 0
call fcn.1001b9f0
mov esi, eax
test esi, esi
je 0x1001bb7a
mov ecx, esi
call fcn.1001baad
mov edi, eax
cmp edi, 0xffffffff
je 0x1001bb73
mov ecx, edi
call fcn.1001d7c4
mov dword [ebp + 8], eax
test eax, eax
je 0x1001bb73
push esi
push edi
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
mov ecx, esi
cmp eax, edi
je 0x1001bb63
call fcn.1001ba9e
mov ecx, dword [ebp + 8]
call fcn.1001d7dc
jmp 0x1001bb7a
call fcn.1001ba9e
test ebx, ebx
je 0x1001bb6e
mov dword [ebx], edi
mov eax, dword [ebp + 8]
jmp 0x1001bb7c
mov ecx, esi
call fcn.1001ba9e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100393ac
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x100393ba
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x10039808
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xf], 0x7e
xor ecx, ecx
mov byte [ebp - 0xe], 0x7f
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x78
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x3a
mov byte [ebp - 8], 0x3a
mov byte [ebp - 7], 0x7d
mov byte [ebp - 6], 0x80
mov byte [ebp - 5], 0x79
mov byte [ebp - 4], 0x3a
mov byte [ebp - 3], 0x30
mov byte [ebp - 2], 0x6f
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 0xb
inc ecx
cmp ecx, 0xe
jb 0x1003984e
mov eax, dword [0x1018d388]
push dword [eax + 0x108]
lea eax, [ebp - 0xf]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100395ca
add esp, 0x10
xor eax, eax
leave
ret 8

Function at 0x1003a920
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008b0fc
call fcn.10089bfc
sub esp, 0xc
push esi
push 0xc
push 0x100d6180
push 0x14b
xor esi, esi
call fcn.10038686
push 4
call fcn.1007a471
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1003a903
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push esi
push eax
push 0x1003a9c2
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003a98c
inc esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0
je 0x1003a9a2
push dword [ebp - 0x14]
push eax
call fcn.1007946c
pop ecx
pop ecx
test eax, eax
jne 0x1003a9a2
jmp 0x1003a993
mov dword [ebp - 0x14], esi
push 6
jmp 0x1003a9a3
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
push esi
call fcn.100792bd
int3
Function at 0x1003b94b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
mov al, byte [ecx + 0x1018d738]
mov byte [ecx + 0x1018e220], al
inc ecx
test al, al
jne 0x1003b953
mov byte [ebp - 9], 0x3c
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x7a
mov byte [ebp - 6], 0x6e
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], 0x72
mov byte [ebp - 3], 0x80
mov byte [ebp - 2], 0x3c
mov byte [ebp - 1], al
mov al, byte [ebp - 9]
xor eax, eax
sub byte [ebp + eax - 9], 0xd
inc eax
cmp eax, 8
jb 0x1003b98c
push ebx
push esi
lea edx, [ebp - 9]
push edi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003b99f
mov ebx, 0x1018e220
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9b0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003b9cb
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9d7
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1003ba11
mov ecx, ebx
call fcn.100440bc
push ecx
push dword [ebp + 8]
call fcn.1005b2c5
test al, al
jne 0x1003ba11
mov byte [0x1018e220], al
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4