joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001970
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10040068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x218]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100019c1
xor al, al
jmp 0x10001a90
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x100019ba
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001387d
mov esi, eax
add esp, 4
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10001a76
push esi
push edi
push 0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10001a76
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
push eax
push 0x1003a1f8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10001a76
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x10001a76
movzx eax, word [ecx + 0xa]
mov word [ebx], ax
movzx eax, word [ecx + 8]
mov word [ebx + 2], ax
movzx eax, word [ecx + 0xe]
mov word [ebx + 4], ax
movzx eax, word [ecx + 0xc]
mov word [ebx + 6], ax
mov bl, 1
jmp 0x10001a78
xor bl, bl
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10001a8e
push 2
push esi
call fcn.100137fc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001380a
mov esp, ebp
pop ebp
ret 4

Function at 0x100056e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10014
call fcn.10013850
mov eax, dword [0x10040068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x10014]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
xorps xmm0, xmm0
push 1
push eax
movlpd qword [ebp - 0x1000c], xmm0
push dword [ebp - 0x10008]
push dword [ebp - 0x1000c]
push ebx
call esi
test eax, eax
je 0x1000579e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000573e
push 0
push 0
push 0
push eax
push ebx
call esi
test eax, eax
je 0x1000579e
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
test edi, edi
je 0x10005786
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x10008]
push eax
push 0x10000
lea eax, [ebp - 0x10004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10005786
cmp dword [ebp - 0x10008], 0x10000
jne 0x10005786
add esi, 0x10000
cmp esi, edi
jb 0x10005750
push 0
push 0
push dword [ebp - 0x10010]
push dword [ebp - 0x10014]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001380a
mov esp, ebp
pop ebp
ret
Function at 0x100081b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ae4c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10040068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x10]
mov dword [edi], 0x1002d9fc
mov dword [edi + 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1000a9a0
mov dword [esi], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
mov word [edi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [edi + 0x44], 7
mov dword [edi + 0x40], eax
mov word [edi + 0x30], ax
mov byte [ebp - 4], 4
mov dword [edi + 0x5c], 7
mov dword [edi + 0x58], eax
mov word [edi + 0x48], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0xffffffff
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 4

Function at 0x1000d980
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xb]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
mov ecx, dword [edi + 0xc]
cmp dword [ecx + edx*8 + 4], eax
lea ecx, [ecx + edx*8]
jne 0x1000d9ec
cmp dword [ecx], eax
jne 0x1000d9e4
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1000d9f4
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x1000d9f4
cmp dword [ecx], eax
jne 0x1000d9f7
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edi + 4]
push eax
push esi
call fcn.1000da10
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1000dac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x1000db1b
mov ecx, esi
jmp 0x1000db20
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1000db45
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1000db2f
mov eax, dword [eax]
jmp 0x1000db13
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000f700
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1000f771
cmp dword [ecx], edi
jne 0x1000f769
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1000f779
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1000f779
cmp dword [ecx], edi
jne 0x1000f77c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.100137f7
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10010d00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4

Function at 0x10010dc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov ebx, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, edx
jne 0x10010e1e
mov ecx, edx
jmp 0x10010e23
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10010e72
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x10010e32
mov eax, dword [eax]
jmp 0x10010e16
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x10010e48
mov esi, edx
jmp 0x10010e4d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x10010e5d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x10010e5d
mov eax, dword [eax]
jmp 0x10010e40
cmp ecx, eax
je 0x10010e72
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebp
ret 8
Function at 0x10011440
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ebx, [esi - 0x7ff80000]
cmp esi, 0x7ff80000
ja 0x1001145f
mov ebx, 0x10000
lea edi, [esi + 0x7ff80000]
cmp esi, 0x80000000
jb 0x10011472
mov edi, 0xfff80000
mov eax, dword [0x10040d9c]
mov ecx, dword [0x10040d98]
mov dword [ebp + 8], edi
test eax, eax
jne 0x1001148f
test ecx, ecx
je 0x100114a2
mov eax, ecx
mov dword [0x10040d9c], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100114a2
cmp edx, ebx
jb 0x100114a2
cmp edx, edi
jbe 0x10011613
mov eax, ecx
mov dword [0x10040d9c], eax
test ecx, ecx
je 0x100114d0
test eax, eax
je 0x100114c4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100114c4
cmp ecx, ebx
jb 0x100114c4
cmp ecx, edi
jbe 0x10011613
mov eax, dword [eax + 4]
mov dword [0x10040d9c], eax
test eax, eax
jne 0x100114b1
and esi, 0xffff0000
mov edi, esi
cmp esi, ebx
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
jbe 0x10011547
lea eax, [edi - 0x70000000]
mov edx, 0x6fff0000
cmp eax, 0x10000000
lea eax, [ebp - 0x38]
push 0x1c
cmovbe edi, edx
push eax
push edi
call ecx
test eax, eax
je 0x10011541
cmp dword [ebp - 0x28], 0x10000
jne 0x10011514
cmp dword [ebp - 0x2c], 0x10000
jae 0x10011521
mov edi, dword [ebp - 0x34]
add edi, 0xffff0000
cmp edi, ebx
jmp 0x100114da
push 0x40
push 0x3000
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10040d9c], eax
test eax, eax
jne 0x100115d8
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [ebp + 8]
cmp esi, edi
jae 0x1001163b
lea eax, [esi - 0x70000000]
mov edx, 0x80010000
cmp eax, 0x10000000
lea eax, [ebp - 0x1c]
push 0x1c
cmovbe esi, edx
push eax
push esi
call ecx
test eax, eax
je 0x1001163b
cmp dword [ebp - 0xc], 0x10000
jne 0x100115c1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x10000
jb 0x100115c4
movzx edx, si
test edx, edx
je 0x100115a5
mov esi, dword [ebp - 0x1c]
mov eax, 0x10000
sub eax, edx
sub ecx, eax
add esi, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], esi
push 0x40
push 0x3000
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10040d9c], eax
test eax, eax
jne 0x100115db
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add esi, ecx
cmp esi, edi
jae 0x1001163b
mov ecx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x10011552
mov edi, dword [ebp + 8]
mov ecx, dword [0x10040d98]
xor edx, edx
mov dword [eax + 4], ecx
mov esi, 0x7fd
mov dword [eax], 0x52727464
lea ecx, [eax + 0xffe0]
mov dword [eax + 8], 0
mov dword [0x10040d98], eax
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
sub esi, 1
jne 0x10011603
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
cmp edx, ebx
jb 0x1001163b
cmp edx, edi
ja 0x1001163b
mov ecx, dword [edx + 0x18]
movaps xmm0, xmmword [0x1002ddc0]
pop edi
mov dword [eax + 8], ecx
mov eax, edx
pop esi
movups xmmword [edx], xmm0
pop ebx
movups xmmword [edx + 0x10], xmm0
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100117c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1003e820
push 0x10015bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10040068]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x10011865
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10011865
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp dword [ebp + 0xc], eax
jb 0x10011865
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x10011865
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10011b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10040d94], eax
je 0x10011bad
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x10040da4]
test eax, eax
jne 0x10011ceb
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10011bd6
cmp dword [ebx], eax
jne 0x10011be2
mov dword [0x10040da4], 6
mov dword [0x10040da8], ebx
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
push 0x18
call fcn.1001381b
mov edi, eax
add esp, 4
test edi, edi
jne 0x10011bfc
lea esi, [eax + 8]
jmp 0x10011ccb
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test esi, esi
je 0x10011c49
mov al, byte [esi]
cmp al, 0xff
jne 0x10011c2f
cmp byte [esi + 1], 0x25
jne 0x10011c2f
mov eax, dword [esi + 2]
push eax
push esi
mov dword [ebp + 0xc], eax
call fcn.100117c0
add esp, 8
test al, al
je 0x10011c49
mov esi, dword [ebp + 0xc]
mov esi, dword [esi]
jmp 0x10011c49
cmp al, 0xeb
jne 0x10011c49
movsx eax, byte [esi + 1]
add esi, 2
add esi, eax
cmp byte [esi], 0xe9
jne 0x10011c49
mov eax, dword [esi + 1]
add esi, 5
add esi, eax
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x17]
mov ecx, dword [edx + 0x18]
sub ecx, eax
mov dword [ebp + 0xc], ecx
test eax, eax
je 0x10011cbd
cmp eax, 0x17
ja 0x10011cbd
cmp dword [edx + 0x1c], esi
jne 0x10011cbd
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10011c89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10011ccb
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 8], ebx
mov dword [edi + 4], 1
mov eax, dword [ebp - 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10040db0]
mov dword [edi], eax
xor eax, eax
mov dword [0x10040db0], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10040da0], 0
mov esi, 9
jne 0x10011cd1
mov dword [0x10040da4], esi
test edi, edi
je 0x10011ce0
push 0x18
push edi
call fcn.100137fc
add esp, 8
pop edi
mov eax, esi
mov dword [0x10040da8], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10011d00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10040d94], eax
je 0x10011d1d
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [0x10040db0]
push edi
test esi, esi
je 0x10011d86
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call ebx
cmp dword [esi + 4], 0
jne 0x10011d73
mov edx, dword [esi + 0x10]
test edx, edx
je 0x10011d73
mov ecx, edx
xorps xmm0, xmm0
and ecx, 0xffff0000
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov dword [ecx + 8], edx
mov dword [esi + 0x10], 0
mov edi, dword [esi]
push 0x18
push esi
call fcn.100137fc
add esp, 8
mov esi, edi
test edi, edi
jne 0x10011d30
mov esi, dword [0x10040d98]
mov dword [0x10040db0], 0
test esi, esi
je 0x10011db5
nop word [eax + eax]
lea eax, [ebp - 8]
push eax
push 0x20
push 0x10000
push esi
call ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x10011da0
mov edi, dword [0x10040dac]
test edi, edi
je 0x10011ddd
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [edi + 4]
call ebx
mov esi, dword [edi]
push 8
push edi
call fcn.100137fc
add esp, 8
mov edi, esi
test esi, esi
jne 0x10011dc5
pop edi
pop esi
mov dword [0x10040dac], 0
xor eax, eax
mov dword [0x10040d94], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10011e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10040d94], 0
je 0x10011e16
mov eax, 0x10dd
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov edx, 0x10040d94
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x10011e0d
push esi
mov esi, dword [0x10040d98]
mov dword [0x10040da0], eax
mov dword [0x10040db0], eax
mov dword [0x10040dac], eax
mov dword [0x10040da4], eax
mov dword [0x10040da8], eax
test esi, esi
je 0x10011e6e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x10011e58
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100121a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10040da4]
test eax, eax
jne 0x10012222
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x100121c1
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.1001381b
mov esi, eax
add esp, 4
test esi, esi
jne 0x100121d7
lea edi, [eax + 8]
jmp 0x100121f6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001220e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.100137fc
add esp, 8
pop esi
mov dword [0x10040da4], edi
mov eax, edi
mov dword [0x10040da8], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x10040dac]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x10040dac], esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x100235ee
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10023290

Function at 0x100274d8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10027355
Function at 0x100285e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x10041898]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10028622
cmp byte [edx], 0xa
jne 0x10028622
or byte [eax + edi + 0x28], 4
jmp 0x10028627
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x10028718
mov al, byte [ebx]
cmp al, 0x1a
je 0x100286f9
cmp al, 0xd
je 0x10028650
mov byte [esi], al
inc esi
inc ebx
jmp 0x100286ee
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x10028670
cmp byte [eax], 0xa
jne 0x10028665
push 2
mov byte [esi], 0xa
pop eax
jmp 0x1002866b
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x100286ee
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100286e7
cmp dword [ebp - 0x14], 0
je 0x100286e7
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10041898]
test byte [eax + edi + 0x28], 0x48
je 0x100286be
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x100286ae
mov byte [esi], dl
jmp 0x100286ea
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10041898]
mov byte [eax + edi + 0x2a], dl
jmp 0x100286ea
cmp byte [ebp - 1], 0xa
jne 0x100286d0
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x100286d0
mov byte [esi], 0xa
jmp 0x1002866d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10027ed1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100286eb
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x10028639
jmp 0x10028718
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10041898]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10028713
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10028718
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10028723
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x10041898]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x10028767
cmp word [edx], bx
jne 0x10028767
or byte [edi + eax + 0x28], 4
jmp 0x1002876c
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x100288c0
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x100288a0
cmp ax, word [ebp - 0x10]
je 0x100287a5
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x10028895
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x100287cb
push 0xa
pop ecx
cmp word [eax], cx
jne 0x100287bb
push ecx
pop eax
push 4
jmp 0x100287c0
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x1002888f
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10028886
cmp dword [ebp - 0x18], 0
je 0x10028886
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x10041898]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x10028852
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x10028816
mov word [esi], ax
jmp 0x1002884a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x10041898]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x10041898]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x10041898]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x10028895
cmp word [ebp - 4], ax
jne 0x10028867
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x10028867
mov word [esi], ax
add esi, 2
jmp 0x10028895
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10027ed1
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10028892
jmp 0x10028889
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x10028785
jmp 0x100288c0
mov ecx, dword [ecx*4 + 0x10041898]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x100288b7
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100288c0
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret