joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8080c8]
jne 0x4044ca
repz ret
jmp fcn.00406c2e

Function at 0x40684f
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.00404541
and dword [ebp - 4], 0
cmp dword [0x809a10], 0
mov ebx, eax
jne 0x406900
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4069b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x4069b1
push eax
call fcn.004044cf
mov dword [esp], 0x4019dc
push edi
mov dword [0x809a10], eax
call esi
push eax
call fcn.004044cf
mov dword [esp], 0x4019c8
push edi
mov dword [0x809a14], eax
call esi
push eax
call fcn.004044cf
mov dword [esp], 0x4019ac
push edi
mov dword [0x809a18], eax
call esi
push eax
call fcn.004044cf
pop ecx
mov dword [0x809a20], eax
test eax, eax
je 0x406900
push 0x401994
push edi
call esi
push eax
call fcn.004044cf
pop ecx
mov dword [0x809a1c], eax
mov eax, dword [0x809a1c]
cmp eax, ebx
je 0x406958
cmp dword [0x809a20], ebx
je 0x406958
push eax
call fcn.0040454a
push dword [0x809a20]
mov esi, eax
call fcn.0040454a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406958
test edi, edi
je 0x406958
call esi
test eax, eax
je 0x40694f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40694f
test byte [ebp - 0xc], 1
jne 0x406958
or dword [ebp + 0x10], 0x200000
jmp 0x406991
mov eax, dword [0x809a14]
cmp eax, ebx
je 0x406991
push eax
call fcn.0040454a
pop ecx
test eax, eax
je 0x406991
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406991
mov eax, dword [0x809a18]
cmp eax, ebx
je 0x406991
push eax
call fcn.0040454a
pop ecx
test eax, eax
je 0x406991
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x809a10]
call fcn.0040454a
pop ecx
test eax, eax
je 0x4069b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4069b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x1000de7e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x1000df4a
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push eax
call fcn.100108ab
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0xe], 0x75732074
mov dword [ebp - 8], 0x74726f
mov dword [ebp - 0x13], 0x6174736e
mov word [ebp - 0xa], 0x7070
mov byte [ebp - 0x14], 0x69
mov byte [ebp - 0xf], 0x6e
call fcn.100105c0
add esp, 0xc
test eax, eax
jne 0x1000df7f
push sym.gphelper.dll__HookSetWindowPos_28
push 0x100499b4
call fcn.1000e5e4
pop ecx
pop ecx
test eax, eax
je 0x1000df7f
push sym.gphelper.dll__HookSetForegroundWindow_4
push 0x100499b0
call fcn.1000e5e4
pop ecx
pop ecx
test eax, eax
je 0x1000df7f
push sym.gphelper.dll__HookSetActiveWindow_4
push 0x100499bc
call fcn.1000e5e4
pop ecx
pop ecx
test eax, eax
je 0x1000df7f
push sym.gphelper.dll__HookBringWindowToTop_4
push 0x100499b8
call fcn.1000e5e4
pop ecx
jmp 0x1000df7e
cmp dword [ebp + 0xc], 0
jne 0x1000df7f
push 0x100499b4
call fcn.1000e7b0
mov dword [esp], 0x100499b0
call fcn.1000e7b0
mov dword [esp], 0x100499bc
call fcn.1000e7b0
mov dword [esp], 0x100499b8
call fcn.1000e7b0
pop ecx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.10010c86
leave
ret 0xc
Function at 0x1000df90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa0]
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e0a2
push 0x103
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.1000f340
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push str.hvals
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e099
cmp dword [ebp - 0x80], ebx
jbe 0x1000e099
mov esi, 0x10049880
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000dc2d
push edi
lea eax, [ebp - 0x7c]
push 0x1001c9cc
push eax
call fcn.1000dd06
add esp, 0xc
lea ecx, [ebp - 0x74]
push esi
call fcn.1000dc2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push 0x1001bba4
push eax
call fcn.1000dd06
mov esi, dword [ebp - 0x7c]
add esp, 0xc
lea ecx, [ebp - 0x74]
push ebx
push esi
call fcn.1000dc6b
test eax, eax
js 0x1000e086
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
xor eax, eax
inc eax
jmp 0x1000e0a9
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [0x100499b8]
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010c86
add ebp, 0x98
leave
ret 4
Function at 0x1000e0c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa0]
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e1d4
push 0x103
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.1000f340
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push str.hvals
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e1cb
cmp dword [ebp - 0x80], ebx
jbe 0x1000e1cb
mov esi, 0x10049880
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000dc2d
push edi
lea eax, [ebp - 0x7c]
push 0x1001c9cc
push eax
call fcn.1000dd06
add esp, 0xc
lea ecx, [ebp - 0x74]
push esi
call fcn.1000dc2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push 0x1001bba4
push eax
call fcn.1000dd06
mov esi, dword [ebp - 0x7c]
add esp, 0xc
lea ecx, [ebp - 0x74]
push ebx
push esi
call fcn.1000dc6b
test eax, eax
js 0x1000e1b8
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
mov eax, edi
jmp 0x1000e1db
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [0x100499bc]
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010c86
add ebp, 0x98
leave
ret 4
Function at 0x1000e1f5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa0]
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e307
push 0x103
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.1000f340
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push str.hvals
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e2fe
cmp dword [ebp - 0x80], ebx
jbe 0x1000e2fe
mov esi, 0x10049880
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000dc2d
push edi
lea eax, [ebp - 0x7c]
push 0x1001c9cc
push eax
call fcn.1000dd06
add esp, 0xc
lea ecx, [ebp - 0x74]
push esi
call fcn.1000dc2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push 0x1001bba4
push eax
call fcn.1000dd06
mov esi, dword [ebp - 0x7c]
add esp, 0xc
lea ecx, [ebp - 0x74]
push ebx
push esi
call fcn.1000dc6b
test eax, eax
js 0x1000e2eb
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
xor eax, eax
inc eax
jmp 0x1000e30e
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [0x100499b0]
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010c86
add ebp, 0x98
leave
ret 4
Function at 0x1000e328
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp + 0x94], eax
push ebx
mov ebx, dword [ebp + 0xa4]
push esi
push edi
mov edi, dword [ebp + 0xa0]
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push str.SOFTWAREPC_Accelerate_Pro
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000e442
push 0x103
push eax
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x6f]
push eax
call fcn.1000f340
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push str.hvals
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000e439
cmp dword [ebp - 0x80], eax
jbe 0x1000e439
mov esi, 0x10049880
push esi
lea ecx, [ebp - 0x7c]
call fcn.1000dc2d
push edi
lea eax, [ebp - 0x7c]
push 0x1001c9cc
push eax
call fcn.1000dd06
add esp, 0xc
lea ecx, [ebp - 0x74]
push esi
call fcn.1000dc2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push 0x1001bba4
push eax
call fcn.1000dd06
mov esi, dword [ebp - 0x7c]
add esp, 0xc
lea ecx, [ebp - 0x74]
push 0
push esi
call fcn.1000dc6b
test eax, eax
js 0x1000e426
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
xor eax, eax
inc eax
jmp 0x1000e468
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx - 0x10]
call fcn.1000de31
lea ecx, [esi - 0x10]
call fcn.1000de31
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xb8]
push dword [ebp + 0xb4]
push dword [ebp + 0xb0]
push dword [ebp + 0xac]
push dword [ebp + 0xa8]
push ebx
push edi
call dword [0x100499b4]
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010c86
add ebp, 0x98
leave
ret 0x1c
Function at 0x1000e5e4
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
xor edi, edi
call fcn.1000e59b
push esi
call fcn.1000e8cd
push dword [esp + 0x88]
mov ebx, eax
call fcn.1000e8cd
push 0x50
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push edi
push eax
movlpd qword [esp + 0x38], xmm0
call fcn.1000f340
lea eax, [esp + 0x38]
push eax
push 5
push ebx
call fcn.1000e497
mov ebp, eax
add esp, 0x20
cmp ebp, 5
jb 0x1000e79c
push ebp
push ebx
call fcn.1000e9ac
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
call fcn.1000eb3b
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x1000e797
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x18], 0
and dword [esp + 0x14], 0
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x40
push ebp
push ebx
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1000e778
lea eax, [esp + 0x14]
push eax
push 0x40
push 0x6c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1000e75d
xor edx, edx
lea ecx, [edi + 0x2c]
test ebp, ebp
je 0x1000e6d9
mov eax, ebx
sub eax, ecx
mov esi, ecx
mov ecx, eax
mov al, byte [ecx + esi]
mov byte [esi], al
mov byte [edi + edx + 0x4c], al
inc edx
inc esi
cmp edx, ebp
jb 0x1000e6c3
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x2c]
lea eax, [ebx + ebp]
push eax
lea eax, [ecx + ebp]
push eax
call fcn.1000e554
mov edx, dword [esp + 0x24]
pop ecx
pop ecx
mov ecx, ebx
sub ecx, edx
mov eax, edx
sub eax, ebx
cmp edx, ebx
cmovb eax, ecx
push edx
cmp eax, 0x7fff0000
jbe 0x1000e72a
lea esi, [edi + 0xc]
push esi
call fcn.1000e554
pop ecx
pop ecx
sub eax, edi
sub eax, 0xc
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
push ebx
call fcn.1000e554
mov esi, dword [esp + 0x18]
jmp 0x1000e730
push ebx
call fcn.1000e554
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov dword [edi + 8], eax
push ebp
lea eax, [edi + 0x2c]
push eax
push esi
mov dword [edi + 4], ebp
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 0x6c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [edi], 0
je 0x1000e78b
mov ecx, dword [esp + 0x80]
lea eax, [edi + 0x2c]
mov dword [ecx], eax
jmp 0x1000e797
push 1
push edi
call fcn.1000ec33
pop ecx
pop ecx
xor edi, edi
call fcn.1000e857
call fcn.1000e5d8
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x6c
ret
Function at 0x1000e7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push esi
push edi
xor edi, edi
call fcn.1000e59b
mov ebx, dword [esp + 0x14]
push dword [ebx]
call fcn.1000ec6d
mov esi, eax
pop ecx
test esi, esi
je 0x1000e84b
push ebp
push dword [esi + 4]
push dword [esi]
call fcn.1000e9ac
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [esp + 0x10], edi
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1000e845
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x1000e813
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x1000e806
push dword [esi + 4]
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [esi]
xor edi, edi
push 0
push esi
mov dword [ebx], eax
inc edi
call fcn.1000ec33
pop ecx
pop ecx
call fcn.1000e857
pop ebp
call fcn.1000e5d8
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1000e857
Capabilities:
Resume thread

Disassembly:
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov ebp, eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x100499cc], esi
jbe 0x1000e8a5
mov eax, dword [0x100499c8]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x100499c8]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x100499cc]
jb 0x1000e880
push dword [0x100499c8]
call fcn.10010d1d
and dword [0x100499c8], 0
and dword [0x100499cc], 0
pop ecx
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ebp
ret
Function at 0x1000e902
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x10048c58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e99c
test esi, esi
je 0x1000e99c
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1000e993
mov dword [ebp - 0x2d0], 0x10001
xor ebx, ebx
jmp 0x1000e97f
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x218], eax
jb 0x1000e99c
add eax, dword [ebp + 0x10]
cmp dword [ebp - 0x218], eax
jae 0x1000e99c
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp ebx, 3
jge 0x1000e993
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
inc ebx
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1000e94d
jmp 0x1000e99c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10010c86
leave
ret

Function at 0x1000eb3b
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
xor ebx, ebx
cmp dword [0x100499c4], 0x40
jae 0x1000ec2c
mov ecx, dword [esp + 0x48]
push ebp
push esi
mov esi, dword [esp + 0x54]
add esi, ecx
add ecx, dword [esp + 0x5c]
push edi
cmp ecx, 0x80000000
lea eax, [ecx + 0x7ff80000]
push 8
mov ebp, 0xfff80000
cmovb ebp, eax
and dword [esp + 0x30], ebx
pop ecx
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
inc eax
cmp esi, 0x80000000
lea edi, [esi - 0x7fff0000]
cmovb edi, eax
cmp edi, ebp
jae 0x1000ec29
push 0x1c
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000ec04
cmp dword [esp + 0x20], 0x10000
jne 0x1000ebf6
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x1000ebfa
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x1000ebfa
lea eax, [ecx - 1]
add eax, edi
xor edx, edx
div ecx
push 0x20
push 0x3000
push 0x6c
imul eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1000ec08
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add edi, eax
cmp edi, ebp
jb 0x1000eba7
test ebx, ebx
je 0x1000ec29
xor eax, eax
cmp dword [eax*4 + 0x100499f8], 0
je 0x1000ec1c
inc eax
cmp eax, 0x40
jb 0x1000ec0a
jmp 0x1000ec29
inc dword [0x100499c4]
mov dword [eax*4 + 0x100499f8], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x40
ret