joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009edc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1009ee7d
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x1009ee04
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009ee7d
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + eax*2 - 0x414]
nop
mov ecx, eax
sub eax, 2
cmp word [eax], 0x5c
jne 0x1009ee20
push edi
push 0x104
push ecx
call fcn.100c65c0
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1009ee7d
test bl, bl
je 0x1009ee6a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009ee7d
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ba602
mov esp, ebp
pop ebp
ret

Function at 0x1009f400
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c94d6c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c94904]
cmp eax, dword [ecx + 4]
jg 0x1009f449
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c94450
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x1009f444
add esi, 4
cmp esi, 0x10c94900
jne 0x1009f430
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c94904
call fcn.100ba745
add esp, 4
cmp dword [0x10c94904], 0xffffffff
jne 0x1009f41f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x1011ea30
push 0x4b0
push 0x10c94450
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10c94904
mov dword [0x10c94900], eax
call fcn.100ba6f4
add esp, 4
jmp 0x1009f41f

Function at 0x1009f490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009f4d0
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009f4d0
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009f4d0
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1009f4d2
add eax, 4
cmp eax, ecx
jb 0x1009f4c5
xor eax, eax
pop ebp
ret
Function at 0x1009f4e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009f537
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x1009f537
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x1009f519
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x1009f510
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x1009f800
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ec596
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x10118fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x1009f8e6
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1009f889
add esi, dword [ebp - 0x70]
jmp 0x1009f8d9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x1009f8d7
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x1009f8d7
test eax, 0x100
jne 0x1009f8d7
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x1009f8be
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1009f8d4
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.10009fb0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x1009f860
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x1009f8e8
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x1009f987
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x1009f977
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.1009f700
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1009f974
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x1009f960
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x1009f96c
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10009ed0
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x1009f930
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x1009f912
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1009f9b7
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1009f9ad
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009f9ca
push ecx
push esi
call fcn.100ba2da
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100c64bf
int3
Function at 0x1009f9d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1009fa51
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1009fa51
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1009fa51
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.100a2430
add esp, 0xc
test eax, eax
je 0x1009fa51
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1009fa22
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.100a2480
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1009fb00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1009fb4e
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1009fb4e
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1009fb4e
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009fb5f
add eax, 4
cmp eax, ecx
jb 0x1009fb43
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009fb4e
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1009fbd5
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1009fbc0
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1009fba1
cmp dl, 0x11
jne 0x1009fbba
inc eax
cmp eax, 6
jl 0x1009fb90
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1009fb87
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.100a0440
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100ba602
mov esp, ebp
pop ebp
ret
Function at 0x1009fca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10118fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009fced
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009fced
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009fced
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009fcfd
add eax, 4
cmp eax, ecx
jb 0x1009fce2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009fced
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x1009fd11
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1009fd17
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x1009fd85
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1009fd70
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1009fd51
cmp dl, 0x11
jne 0x1009fd6a
inc eax
cmp eax, 6
jl 0x1009fd40
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1009fd37
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.100a0440
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100ba602
mov esp, ebp
pop ebp
ret

Function at 0x1009fdb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x1009fdf3
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009fdf3
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009fdf3
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1009fe0e
add eax, 4
cmp eax, ecx
jb 0x1009fde8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009fdf3
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x1009fe22
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1009fe28
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.1009f800
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x100a0520
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100a0470
add esp, 0x18
test eax, eax
je 0x100a0549
inc eax
cmp byte [eax], 0xcc
je 0x100a0543
pop ebp
ret
Function at 0x100a0750
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100a0690
add esp, 0x18
test eax, eax
je 0x100a0779
inc eax
cmp byte [eax], 0xcc
je 0x100a0773
pop ebp
ret

Function at 0x100a7f2b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100a7f52
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100a7f55
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100a7f07
pop esi
leave
ret 8

Function at 0x100ad3bf
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100ad3e2
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100ad3d0
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100ba23f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100d11a4
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100ba282
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100ba282
sub eax, 1
je 0x100ba27d
sub eax, 1
je 0x100ba279
xor eax, eax
leave
ret
push 3
jmp 0x100ba284
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d92d2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10101eec
push 0x10101ee4
push str.FlsAlloc
push 0x1e
call fcn.100d90ff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d9306
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f039c]
call esi
jmp 0x100d930c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d9350
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10101efc
push 0x10101ef4
push str.FlsGetValue
push 0x20
call fcn.100d90ff
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d9387
push dword [ebp + 8]
mov ecx, esi
call dword [0x100f039c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100dc7b9
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 0x100dc856
push ebx
push esi
call fcn.100dc782
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.100daee9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100dc803
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100dc855
push edi
push eax
call fcn.100d7aad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100dc823
call fcn.100d7a73
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100dc854
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100daee9
add esp, 0x20
test eax, eax
jne 0x100dc842
push edi
call fcn.100d7a73
jmp 0x100dc84a
push ebx
call fcn.100d7a73
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 0x100dc859
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100dc86a
pop esi
ret
push ebx
push edi
push esi
call fcn.100dc782
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100d7aad
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100dc892
push ebx
push esi
push edi
call fcn.100bbe80
add esp, 0xc
push 0
call fcn.100d7a73
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100dcc56
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100dc8a7
Function at 0x100e4a00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100e4a2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100e4a2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x9c0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9c01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9c007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c006a
add dl, dl
jne 0x9c0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c00dc
xor eax, eax
add dl, dl
jne 0x9c0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c017d
add dl, dl
jne 0x9c00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9c00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9c0075
mov eax, 1
add dl, dl
jne 0x9c00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c00e1
sub eax, ebx
mov ebx, 1
jne 0x9c0128
mov ecx, 1
add dl, dl
jne 0x9c010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9c013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c0136
cmp eax, 0x7d00
jae 0x9c016d
cmp eax, 0x500
jb 0x9c0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
cmp eax, 0x7f
ja 0x9c0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9c019e
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 0x9c0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100027b0
Capabilities:
Encode data using xor
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movaps xmm0, xmmword [0x1000d520]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
movaps xmm0, xmmword [0x1000d500]
movups xmmword [ebp - 0x24], xmm0
movaps xmm0, xmmword [0x1000d4e0]
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x2e
jb 0x100027e0
push 0
push 1
lea eax, [ebp - 0x33]
mov byte [ebp - 5], 0
push eax
push 0
push 0x100107e4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100028cc
push 0x100107e0
push 0
push 0
push 0x8004
push dword [0x100107e4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100028cc
movaps xmm0, xmmword [str.t7O]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x10], 0x1c441215
movaps xmm0, xmmword [0x1000d570]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0x16400634
movaps xmm0, xmmword [0x1000d590]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0x55040e21
mov word [ebp - 4], 9
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x3c
jb 0x10002870
push 1
push 0x3c
lea eax, [ebp - 0x3f]
mov byte [ebp - 3], 0
push eax
push dword [0x100107e0]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100028cc
push 0x100107dc
push 0x800000
push dword [0x100107e0]
push 0x6801
push dword [0x100107e4]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100028cc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x100107d8], eax
call fcn.10009ff0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1000a4c0
push 0x100026a0
push 0x100107d4
call fcn.10009d00
call fcn.1000a050
push 4
push 0x60f6e0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000293b
mov dword [0x100107d4], 0x60f6e0
call fcn.10009ff0
call esi
push eax
call fcn.1000a4c0
push 0x100026a0
push 0x100107d4
call fcn.10009870
call fcn.1000a050
call fcn.10009ff0
call esi
push eax
call fcn.1000a4c0
push 0x100026d0
push 0x100107d0
call fcn.10009d00
call fcn.1000a050
push 4
push 0x60eab0
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002998
mov dword [0x100107d0], 0x60eab0
call fcn.10009ff0
call esi
push eax
call fcn.1000a4c0
push 0x100026d0
push 0x100107d0
call fcn.10009870
call fcn.1000a050
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10010040]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [str..jKOCAHZX]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0xc], ecx
push edi
mov dword [esp + 0x14], ebx
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
mov byte [esp + 0x28], 0
mov al, byte [esp + 0x18]
xor byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0xf
jb 0x10005c84
sub esp, 0x18
mov byte [esp + 0x40], 0
lea eax, [esp + 0x31]
mov ecx, esp
push eax
call fcn.10002e60
lea ecx, [esp + 0x44]
call fcn.10008400
mov edi, dword [esp + 0x44]
xor edx, edx
add esp, 0x18
mov dword [esp + 0xc], edx
test ebx, ebx
mov ebx, dword [esp + 0x40]
jle 0x10005d03
cmp ebx, 0xf
lea ecx, [esp + 0x2c]
cmova ecx, edi
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005cd1
sub ecx, esi
mov eax, edx
cmp ebx, 0xf
lea esi, [esp + 0x2c]
cmova esi, edi
xor edx, edx
div ecx
mov ecx, dword [esp + 0x10]
mov al, byte [edx + esi]
mov edx, dword [esp + 0xc]
xor byte [ecx + edx], al
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x14]
jl 0x10005cc4
cmp ebx, 0xf
jbe 0x10005d35
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10005d2b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005d2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1000b3b3
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000b3a5
mov esp, ebp
pop ebp
ret