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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100743dd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100743dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100743dd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100743dd
cmp dword [ecx + 0x74], 0xe
jbe 0x100743dd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1007a832
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100b16b0]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1007a874
cmp byte [ebx], 0xa
jne 0x1007a874
or byte [edi + eax + 0x28], 4
jmp 0x1007a879
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1007a97c
mov cl, byte [eax]
cmp cl, 0x1a
je 0x1007a957
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x1007a8a8
mov eax, dword [ebp - 8]
jmp 0x1007a8c8
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x1007a8e4
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x1007a8c2
add eax, 2
mov cl, 0xa
jmp 0x1007a8c5
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x1007a88a
jmp 0x1007a97c
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007a952
cmp dword [ebp - 0x10], 0
je 0x1007a952
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x100b16b0]
test byte [eax + edi + 0x28], 0x48
je 0x1007a931
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x1007a921
mov byte [esi], 0xa
jmp 0x1007a97b
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x100b16b0]
mov byte [eax + edi + 0x2a], cl
jmp 0x1007a97b
cmp byte [ebp - 1], 0xa
jne 0x1007a93b
cmp esi, ebx
je 0x1007a91c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100847a4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1007a97c
mov byte [esi], 0xd
jmp 0x1007a97b
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x100b16b0]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x1007a979
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x1007a97c
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1007a985
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x100b16b0]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1007a9c9
push 0xa
pop esi
cmp word [ebx], si
jne 0x1007a9c9
or byte [eax + edi + 0x28], 4
jmp 0x1007a9ce
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x1007ab39
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x1007ab11
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x1007aa1b
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x1007aa45
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x1007aa64
push 0xa
pop ebx
cmp word [edx], bx
jne 0x1007aa32
push ebx
add eax, 4
pop edx
jmp 0x1007aa3a
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x1007a9e0
jmp 0x1007ab39
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1007ab0c
cmp dword [ebp - 0x14], 0
je 0x1007ab0c
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x100b16b0]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x1007aae8
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x1007aab0
mov word [esi], ax
jmp 0x1007ab36
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x100b16b0]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100b16b0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100b16b0]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x1007ab36
cmp word [ebp - 4], ax
jne 0x1007aaf2
cmp esi, ebx
je 0x1007aaa8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100847a4
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1007ab39
push 0xd
pop eax
jmp 0x1007aaa8
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x100b16b0]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x1007ab33
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x1007ab39
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100828b7
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 0x10082954
push ebx
push esi
call fcn.10082880
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.100807bc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10082901
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10082953
push edi
push eax
call fcn.1007d510
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10082921
call fcn.1007b360
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10082952
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100807bc
add esp, 0x20
test eax, eax
jne 0x10082940
push edi
call fcn.1007b360
jmp 0x10082948
push ebx
call fcn.1007b360
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 0x10082957
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10082968
pop esi
ret
push ebx
push edi
push esi
call fcn.10082880
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1007d510
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10082990
push ebx
push esi
push edi
call fcn.1006b7f0
add esp, 0xc
push 0
call fcn.1007b360
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x10082d5f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100829a5
Function at 0x10087559
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1007bcc3
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100875c8
cmp esi, dword [ebp - 4]
je 0x100875c3
cmp dword [ebp + 0xc], 0
je 0x100875c3
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100875a0
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100870ae
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100875ca
xor eax, eax
inc eax
jmp 0x100875ca
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10087635
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1007bcc3
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1007bcc3
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100876ac
cmp word [ecx], dx
je 0x100876ac
mov eax, dword [0x1009700c]
push edi
dec eax
push eax
push 0x10096ef8
call fcn.100875ce
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1008771f
cmp word [eax], dx
je 0x1008771f
mov eax, dword [edi]
test eax, eax
je 0x100876d0
cmp word [eax], dx
je 0x100876d0
lea eax, [ebp - 0x10]
push eax
call fcn.10086fb4
jmp 0x100876d9
lea eax, [ebp - 0x10]
push eax
call fcn.1008704f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10087749
mov eax, dword [0x10096ef4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10096be8
call fcn.100875ce
add esp, 0xc
test al, al
je 0x10087749
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10087714
cmp word [eax], di
je 0x10087714
lea eax, [ebp - 0x10]
push eax
call fcn.10086fb4
pop ecx
jmp 0x1008774b
lea eax, [ebp - 0x10]
push eax
call fcn.1008704f
jmp 0x10087711
mov eax, dword [edi]
test eax, eax
je 0x10087736
cmp word [eax], dx
je 0x10087736
lea eax, [ebp - 0x10]
push eax
call fcn.10086f69
pop ecx
jmp 0x10087749
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10087814
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10087453
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10087814
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10087814
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10087814
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100877a1
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1007f2f3
test ebx, ebx
je 0x1008780f
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1007f2f3
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10087814
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10087814
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1008a2d6
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10087816
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10069b90
leave
ret
Function at 0x10089193
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x100891ad
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x100891c4
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x1008921c
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.10084552
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x1008921c
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1008921c
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1008921c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x10089216
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x10089218
xor bl, bl
mov al, bl
jmp 0x1008921e
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x10089fe3
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.10089f5f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1008a152
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1008a152
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1008a107
jg 0x1008a03f
test eax, eax
je 0x1008a0fd
push 1
push 0x1000
call fcn.1007ebf0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1008a062
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1008a0f4
push 0x8000
push ebx
call fcn.10089e8e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1008a08b
jg 0x1008a086
cmp ecx, 0x1000
jb 0x1008a08b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1008526b
add esp, 0x10
cmp eax, 0xffffffff
je 0x1008a0d0
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 0x1008a086
jl 0x1008a0b7
test ecx, ecx
jne 0x1008a078
push dword [ebp - 0xc]
push ebx
call fcn.10089e8e
push esi
call fcn.1007b360
add esp, 0xc
xor ebx, ebx
jmp 0x1008a160
cmp byte [edi + 0x24], 0
je 0x1008a0e7
cmp dword [edi + 0x20], 5
jne 0x1008a0e7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1008a0f2
mov ebx, dword [edi + 0x18]
jmp 0x1008a0f4
xor ebx, ebx
push esi
call fcn.1007b360
pop ecx
jmp 0x1008a160
test ecx, ecx
jg 0x1008a0c9
jl 0x1008a107
test eax, eax
jae 0x1008a0c9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100847a4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1008a127
cmp byte [edi + 0x1c], 0
je 0x1008a0c9
jmp 0x1008a158
push ebx
call fcn.10084552
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1008a0c9
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 0x1008a160
cmp byte [edi + 0x1c], 0
je 0x1008a15d
mov ebx, dword [edi + 0x18]
jmp 0x1008a160
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100847a4
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1008c690
Capabilities:
Parse pe header

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x2cb4656e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x6d061e30
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
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 [0x1018a38c]
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.1005da39
pop ecx
push eax
mov ecx, esi
call fcn.1005c180
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.1005da39
pop ecx
push eax
mov ecx, esi
call fcn.1005c180
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 [0x1018a38c]
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 0x10013bf5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x1018a398], 0
jne 0x10013cc4
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x3d
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x6d
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0x7a
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x7c
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x3e
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0x38
mov byte [ebp - 0xf], 0x6e
mov byte [ebp - 0xe], 0x76
push ebx
xor ebx, ebx
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x1e]
mov eax, ebx
sub byte [ebp + eax - 0x1e], 0xa
inc eax
cmp eax, 0x12
jb 0x10013c5b
lea eax, [ebp - 0x1e]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1018a39c], eax
mov byte [ebp - 0xb], 0x49
mov byte [ebp - 0xa], 0x38
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x48
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0x75
mov byte [ebp - 4], 0x6e
mov byte [ebp - 3], 0x71
mov byte [ebp - 2], 0x6a
mov byte [ebp - 1], bl
mov al, byte [ebp - 0xb]
sub byte [ebp + ebx - 0xb], 5
inc ebx
cmp ebx, 0xa
jb 0x10013ca3
pop ebx
lea eax, [ebp - 0xb]
push eax
push dword [0x1018a39c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1018a398], eax
leave
ret
Function at 0x1001a454
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b26d
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.1007a6c2
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