joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b8400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101368c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.ContentFetcher.0
xor edi, edi
mov dword [esp + 0x1c], edi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov al, 1
push 0x101c3878
mov dword [esi], vtable.FileFetcherBase.0
mov byte [esi + 4], al
mov byte [esi + 5], al
mov byte [esi + 6], al
mov byte [esi + 7], al
mov byte [esi + 8], al
mov byte [esi + 9], al
mov byte [esi + 0xa], al
call ebx
push 0x101c3878
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call ebx
push 0x101c3878
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
call ebx
push 0x101c3878
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call ebx
push 0x101c3878
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call ebx
push 0x101c3878
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call ebx
push 0x101c3878
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
call ebx
lea ecx, [esi + 0x60]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
call fcn.100b8250
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x100b8b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10136978
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.ContentFetcher.0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
push 0x101c387c
mov dword [esi], vtable.CMemoryPageFetcher.0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
call edi
push 0x101c387c
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], 1
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x100bb070
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10136ef3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.ContentFetcher.0
xor ebx, ebx
mov dword [esp + 0x20], ebx
push 0x101c3884
mov dword [esi], vtable.CModuleFetcher.0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
cmp ebp, ebx
jne 0x100bb0e6
mov ebp, 0x10157e11
lea edi, [esi + 0x20]
mov eax, ebp
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea ecx, [eax + 1]
jmp 0x100bb100
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100bb100
sub eax, ecx
push eax
push ebp
mov ecx, edi
call fcn.100069f0
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x38]
push 0x101c3884
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], 1
mov byte [esi + 0x55], 1
mov byte [esi + 0x56], 1
mov byte [esi + 0x57], bl
mov byte [esi + 0x58], bl
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x100bfdb0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 4], eax
jne 0x100bfdec
mov edx, dword [esp + 0x14]
push ecx
push edx
push 0xd
push esi
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop esi
pop ecx
ret
Function at 0x100c0780
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10137980
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x18], edi
jge 0x100c086a
jmp 0x100c07d0
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 0x10
mov ecx, dword [ebp + eax*4 - 8]
lea eax, [ebp + eax*4]
mov dword [esp + 0x14], ecx
jb 0x100c07f1
mov edx, dword [eax - 0x18]
jmp 0x100c07f4
lea edx, [eax - 0x18]
mov ebx, dword [eax + 0x14]
cmp ebx, ecx
jae 0x100c07fd
mov ecx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x100c0808
mov eax, dword [eax + 4]
jmp 0x100c080b
add eax, 4
push ecx
push edx
push eax
call fcn.1000d640
add esp, 0xc
test eax, eax
jne 0x100c082d
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x100c082f
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x100c0830
dec esi
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.10007e70
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x100c07d0
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jne 0x100c0893
push 0xffffffffffffffff
lea edx, [ebx*8]
sub edx, ebx
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.10007e70
lea edi, [ebx - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x5c]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.10007e70
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x34]
push eax
push edi
push ebp
mov byte [esp + 0x4c], 0
call fcn.100c0440
add esp, 0x28
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x100c08f2
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.100d59a5
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x100c2920
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
cmp esi, ebp
mov eax, esi
jg 0x100c2935
mov eax, ebp
cmp eax, 0xffff
jle 0x100c2944
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push ebx
push edi
mov edi, esi
imul edi, ebp
push 0
add edi, edi
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x100c298b
push edi
push 0
push 0
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x100c2995
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
test esi, esi
jle 0x100c29ac
lea edx, [ebp + ebp]
mov ecx, esi
nop
xor ebx, ebx
mov word [eax], bx
add eax, edx
sub ecx, 1
jne 0x100c29a0
test ebp, ebp
jle 0x100c29c7
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, ebp
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ebx, 1
cmp esi, ebx
jle 0x100c2a43
mov eax, dword [esp + 0x14]
lea ecx, [eax + ebp*2 + 2]
add eax, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], eax
mov ecx, 1
cmp ebp, ecx
jle 0x100c2a32
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dl, byte [edx + ebx - 1]
mov edi, dword [esp + 0x2c]
cmp dl, byte [edi + ecx - 1]
jne 0x100c2a0e
mov dx, word [esi - 2]
inc dx
jmp 0x100c2a20
movzx edx, word [eax - 2]
movzx edi, word [esi]
cmp dx, di
movzx edx, dx
ja 0x100c2a20
movzx edx, di
mov word [eax], dx
inc ecx
add esi, 2
add eax, 2
cmp ecx, ebp
jl 0x100c29f4
mov esi, dword [esp + 0x28]
lea eax, [ebp + ebp]
add dword [esp + 0x30], eax
add dword [esp + 0x10], eax
inc ebx
cmp ebx, esi
jl 0x100c29e3
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movzx esi, word [eax + ecx - 2]
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x100c7690
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x100c76b1
mov eax, dword [esp + 8]
test eax, eax
je 0x100c76b1
add eax, 0xffffffff
je 0x100c76b1
mov dl, byte [eax + ecx - 1]
xor byte [eax + ecx], dl
sub eax, 1
jne 0x100c76a5
ret

Function at 0x100c8ad6
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10170780
call fcn.100dc088
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x100c8b3e
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x100c8b3e
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x100c8b3e
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x100c8b3e
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100c8b47
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.100dc0cd
ret
Function at 0x100c8c7d
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x100c8ca0
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x100c8ca3
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100c8cb6
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100c8cbd
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x101c3cdc]
mov ecx, dword [0x101c3cd8]
test eax, eax
jne 0x100c8cd7
test ecx, ecx
je 0x100c8cec
mov eax, ecx
mov dword [0x101c3cdc], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100c8cec
cmp edx, dword [ebp - 4]
jb 0x100c8cec
cmp edx, dword [ebp - 8]
jbe 0x100c8dbd
mov eax, ecx
test ecx, ecx
jmp 0x100c8d10
test eax, eax
je 0x100c8d0b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100c8d0b
cmp ecx, dword [ebp - 4]
jb 0x100c8d0b
cmp ecx, dword [ebp - 8]
jbe 0x100c8dbd
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x101c3cdc], eax
jne 0x100c8cf2
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x100c8e52
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x100c8d3d
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100c8e52
cmp dword [ebp - 0x30], ebx
jne 0x100c8d5c
cmp dword [ebp - 0x34], ebx
jae 0x100c8d6f
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x100c8d2b
jmp 0x100c8e52
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x101c3cdc], eax
test eax, eax
je 0x100c8e52
mov ecx, dword [0x101c3cd8]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x101c3cd8], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x100c8daf
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x100c8e57
cmp esi, dword [ebp - 8]
ja 0x100c8e57
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.100d6590
add esp, 0xc
mov eax, esi
jmp 0x100c8e59
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100c8dfe
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100c8e57
cmp dword [ebp - 0x14], ebx
jne 0x100c8e49
cmp dword [ebp - 0x18], ebx
jb 0x100c8e49
movzx ecx, si
test ecx, ecx
je 0x100c8e2d
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x101c3cdc], eax
test eax, eax
jne 0x100c8d8b
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx]
cmp esi, dword [ebp - 8]
jb 0x100c8dec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c8e7f
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x101707a0
call fcn.100dc088
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100c8eda
and dword [ebp - 4], 0
mov ecx, 0x5a4d
mov eax, dword [ebp - 0x30]
cmp word [eax], cx
jne 0x100c8ed3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c8ed3
cmp word [ecx + 0x14], 0
je 0x100c8ed3
mov dword [ebp - 4], 0xfffffffe
jmp 0x100c8edc
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.100dc0cd
ret

Function at 0x100c8f00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x101c3ce4], edi
je 0x100c8f13
mov eax, 0x10dd
jmp 0x100c8f6e
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x101c3ce4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100c8f0c
push esi
mov esi, dword [0x101c3cd8]
mov dword [0x101c3ce0], edi
mov dword [0x101c3cf4], edi
mov dword [0x101c3cf0], edi
mov dword [0x101c3ce8], edi
mov dword [0x101c3cec], edi
jmp 0x100c8f67
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x100c8f51
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x100c8f71
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101c3ce4], eax
je 0x100c8f87
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x101c3cf4]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x100c8fd2
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x100c8fc3
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x100c8fc3
call fcn.100c8e5e
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.100d59a5
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100c8f96
mov dword [0x101c3cf4], ebx
call fcn.100c8c56
mov esi, dword [0x101c3cf0]
cmp esi, ebx
je 0x100c8fff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.100d59a5
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100c8fe7
pop edi
pop esi
mov dword [0x101c3cf0], ebx
mov dword [0x101c3ce4], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x100c9256
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101c3ce8]
test eax, eax
jne 0x100c92c6
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100c9272
xor eax, eax
jmp 0x100c92c5
push esi
push 8
call fcn.100d59cb
mov esi, eax
pop ecx
test esi, esi
jne 0x100c9286
push 8
pop edi
jmp 0x100c92a1
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100c92b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.100d59a5
pop ecx
and dword [0x101c3cec], 0
mov dword [0x101c3ce8], edi
mov eax, edi
jmp 0x100c92c4
mov eax, dword [0x101c3cf0]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x101c3cf0], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x100ca620
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov ebx, 0x100
push edi
or esi, ebx
mov eax, esi
shr eax, 7
add ebp, ebp
and eax, 1
mov ecx, ebx
and ecx, ebp
mov edx, esi
push eax
mov eax, dword [esp + 0x1c]
shr edx, 8
add ecx, ebx
add edx, ecx
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x18]
call fcn.100ca580
add esi, esi
mov ecx, esi
xor ecx, ebp
not ecx
and ebx, ecx
cmp esi, 0x10000
jb 0x100ca631
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x100ca6d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x100ca6e0
pop edi
pop ebx
ret

Function at 0x100ca710
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x100ca720
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100ca7f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, 1
shl ebx, cl
xor eax, eax
or edx, ebx
cmp edx, 1
je 0x100ca823
mov ecx, edx
and edx, 1
shr ecx, 1
movzx ebx, word [edi + ecx*2]
neg edx
sar edx, 4
and edx, 0x7f
shr ebx, 4
xor ebx, edx
add eax, dword [esi + ebx*4]
mov edx, ecx
cmp edx, 1
jne 0x100ca801
pop ebx
ret

Function at 0x100ca830
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x100ca872
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x100ca841
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x100d0170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
call fcn.100d0150
lea esi, [eax + 0x6c]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100d0186
pop esi
ret

Function at 0x100d1440
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.100dc210
add esp, 0x18
mov ecx, eax
mov dword [esi], eax
call fcn.100d1400
pop esi
ret 4

Function at 0x100d5eaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1017a974]
jne 0x100d5eb9
repz ret
jmp fcn.100e12ac
Function at 0x100fa68c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100e09ce
and dword [ebp - 4], 0
cmp dword [0x101c4a58], 0
mov ebx, eax
jne 0x100fa73d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100fa7ee
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100fa7ee
push eax
call fcn.100e095c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101c4a58], eax
call esi
push eax
call fcn.100e095c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101c4a5c], eax
call esi
push eax
call fcn.100e095c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101c4a60], eax
call esi
push eax
call fcn.100e095c
pop ecx
mov dword [0x101c4a68], eax
test eax, eax
je 0x100fa73d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100e095c
pop ecx
mov dword [0x101c4a64], eax
mov eax, dword [0x101c4a64]
cmp eax, ebx
je 0x100fa795
cmp dword [0x101c4a68], ebx
je 0x100fa795
push eax
call fcn.100e09d7
push dword [0x101c4a68]
mov esi, eax
call fcn.100e09d7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100fa795
test edi, edi
je 0x100fa795
call esi
test eax, eax
je 0x100fa78c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100fa78c
test byte [ebp - 0xc], 1
jne 0x100fa795
or dword [ebp + 0x10], 0x200000
jmp 0x100fa7ce
mov eax, dword [0x101c4a5c]
cmp eax, ebx
je 0x100fa7ce
push eax
call fcn.100e09d7
pop ecx
test eax, eax
je 0x100fa7ce
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100fa7ce
mov eax, dword [0x101c4a60]
cmp eax, ebx
je 0x100fa7ce
push eax
call fcn.100e09d7
pop ecx
test eax, eax
je 0x100fa7ce
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101c4a58]
call fcn.100e09d7
pop ecx
test eax, eax
je 0x100fa7ee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100fa7f0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret