joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e9ef0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x34], eax
mov dh, dh
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test bh, bh
cmp dword [esp + 0x18], 2
jbe 0x100e9ff3
push esi
push 0
call fcn.10067350
add esp, 4
mov cl, cl
cmp eax, 3
jl 0x100e9fc8
cmp eax, 4
je 0x100e9fc8
push ebp
push edi
call fcn.100e9dd0
movzx ebp, ax
test dh, dh
push ebx
pop ebx
movzx edi, bp
xor esi, esi
test edi, edi
jle 0x100e9fad
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, edi
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
test eax, 0x7026
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x101e45d8]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ebx, ebx
mov word [esp + 0x3c], si
push ecx
pop ecx
test esi, esi
jne 0x100e9f95
mov dword [esp + 0x38], 1
mov bh, bh
push eax
lea ecx, [esp + 0x3c]
push ecx
call ebx
push eax
call fcn.100e9cb0
test ecx, ecx
add esi, 1
cmp esi, edi
jl 0x100e9f55
pop ebx
mov word [0x101e47c0], bp
test ch, ch
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101180ca
add esp, 0x38
ret
test edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 4]
push edx
push 0x101bb8e4
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test edi, edi
push 1
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test edx, edx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.101180ca
add esp, 0x38
ret

Function at 0x100ea010
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
test cl, cl
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test ah, ah
cmp dword [esp + 0x14], 2
jbe 0x100ea0a5
push 0
call fcn.10067350
add esp, 4
mov esi, esi
cmp eax, 3
jl 0x100ea08f
cmp eax, 4
je 0x100ea08f
push esi
test bl, bl
xor esi, esi
cmp word [0x101e47c0], si
jbe 0x100ea080
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
mov edi, 0x101e45d8
lea esp, [esp]
push 0
push edi
call ebx
push eax
call fcn.100e9cb0
test ecx, ecx
movzx ecx, word [0x101e47c0]
add esi, 1
add edi, 0xc
cmp esi, ecx
jl 0x100ea060
pop edi
pop ebx
mov word [0x101e47c0], 0
nop
pop esi
add esp, 0x24
ret
mov edx, dword [0x101bb8e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov esi, esi
add esp, 0x24
ret
Function at 0x100ea180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1017ed51
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101ce00c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
test ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1011a5ea
add esp, 4
push ebx
pop ebx
call fcn.1011a5f7
and eax, reloc.WS2_32.dll_getsockopt
jns 0x100ea20b
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov ch, ch
push eax
pop eax
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
push ecx
pop ecx
test eax, eax
jle 0x100ea2ee
mov edi, eax
lea ebx, [ebx]
call fcn.1011a5f7
and eax, 0x8000001f
jns 0x100ea2d1
dec eax
or eax, 0xffffffe0
inc eax
test ah, ah
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.10020150
mov cl, cl
sub edi, 1
jne 0x100ea2c0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101180ca
add esp, 0x3c
ret
Function at 0x100ecf50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x880], eax
mov eax, dword [esp + 0x890]
push ebx
push esi
push edi
mov dword [esp + 0x28], eax
xor edi, edi
mov ah, ah
mov edi, edi
test eax, 0x2565
test dl, dl
mov eax, 0x5c
mov word [esp + 0x454], ax
mov word [esp + 0x456], ax
mov word [esp + 0x45a], ax
mov eax, 0x69
mov word [esp + 0x458], 0x2e
mov word [esp + 0x45c], 0x50
mov word [esp + 0x45e], 0x68
mov word [esp + 0x460], 0x79
mov word [esp + 0x462], 0x73
mov word [esp + 0x464], ax
mov word [esp + 0x466], 0x63
mov word [esp + 0x468], 0x61
mov word [esp + 0x46a], 0x6c
mov word [esp + 0x46c], 0x44
mov word [esp + 0x46e], 0x72
mov word [esp + 0x470], ax
mov word [esp + 0x472], 0x76
mov word [esp + 0x474], 0x65
mov word [esp + 0x476], 0x25
mov word [esp + 0x478], 0x64
mov word [esp + 0x47a], di
test edx, edx
mov ebx, dword [esp + 0x894]
push ebx
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x484]
push edx
call fcn.1002eeb0
add esp, 0xc
mov dh, dh
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
lea eax, [esp + 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test ah, ah
cmp esi, 0xffffffff
je 0x100ed1d4
mov ch, ch
mov dword [esp + 0xc], edi
mov edi, edi
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
test edx, edx
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x18
lea edx, [esp + 0x1c]
push edx
push edi
push edi
push 0x74080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100ed1cb
cmp byte [esp + 0x13], 0
jbe 0x100ed1cb
mov bl, bl
mov al, byte [esp + 0x13]
mov cl, bl
shr al, cl
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [esp + 0x2c], al
push ecx
pop ecx
xor eax, eax
mov dword [esp + 0x430], eax
mov dword [esp + 0x434], eax
mov dword [esp + 0x438], eax
mov dword [esp + 0x43c], eax
mov dword [esp + 0x440], eax
mov dword [esp + 0x444], eax
mov dword [esp + 0x448], eax
mov dword [esp + 0x44c], eax
mov byte [esp + 0x450], al
test edi, edi
push 0x210
lea ecx, [esp + 0x680]
push edi
push ecx
call fcn.10118770
add esp, 0xc
test bl, bl
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
push ebx
push eax
lea ecx, [esp + 0x688]
push ecx
lea edx, [esp + 0x440]
push edx
push esi
call fcn.100ecb70
add esp, 0x18
test eax, eax
je 0x100ed1cb
test dh, dh
test bl, bl
test esi, esi
xor eax, eax
jmp 0x100ed190
movzx ecx, word [esp + eax*2 + 0x68c]
mov dword [esp + eax*4 + 0x30], ecx
mov dh, dh
add eax, 1
cmp eax, 0x100
jl 0x100ed190
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x898]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100ecc80
add esp, 0xc
mov eax, eax
mov edi, 1
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
mov ecx, dword [esp + 0x88c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101180ca
add esp, 0x884
ret
Function at 0x100ed1f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x64c], eax
mov eax, dword [esp + 0x65c]
push ebp
push edi
mov dword [esp + 0x28], eax
xor ebp, ebp
test eax, 0x4ecc
nop
mov dh, dh
mov eax, 0x5c
mov word [esp + 0x42c], ax
mov word [esp + 0x42e], ax
mov word [esp + 0x432], ax
mov eax, 0x69
mov word [esp + 0x430], 0x2e
mov word [esp + 0x434], 0x50
mov word [esp + 0x436], 0x68
mov word [esp + 0x438], 0x79
mov word [esp + 0x43a], 0x73
mov word [esp + 0x43c], ax
mov word [esp + 0x43e], 0x63
mov word [esp + 0x440], 0x61
mov word [esp + 0x442], 0x6c
mov word [esp + 0x444], 0x44
mov word [esp + 0x446], 0x72
mov word [esp + 0x448], ax
mov word [esp + 0x44a], 0x76
mov word [esp + 0x44c], 0x65
mov word [esp + 0x44e], 0x25
mov word [esp + 0x450], 0x64
mov word [esp + 0x452], bp
mov ch, ch
mov ecx, dword [esp + 0x65c]
push ecx
lea edx, [esp + 0x430]
push edx
lea eax, [esp + 0x45c]
push eax
call fcn.1002eeb0
add esp, 0xc
test eax, 0x717f
push ebp
push ebp
push 3
push ebp
push 7
push 0xc0000000
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov ebx, ebx
cmp edi, 0xffffffff
je 0x100ed448
push ebx
test eax, 0x68a
mov dword [esp + 0xc], ebp
push edx
pop edx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
test cl, cl
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebp
lea edx, [esp + 0x10]
push edx
push 0x18
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push 0x74080
push edi
call ebx
test eax, eax
je 0x100ed42e
push esi
mov ebp, ebp
push 0x221
call fcn.10117b2c
add esp, 4
mov esi, eax
test esi, esi
cmp esi, ebp
je 0x100ed407
mov byte [esi + 0xa], 0xec
mov ah, ah
mov dword [esp + 0x14], ebp
mov bh, bh
push ebp
lea ecx, [esp + 0x18]
push ecx
push 0x221
push esi
push 0x21
push esi
push 0x7c088
push edi
call ebx
test eax, eax
je 0x100ed3fc
mov al, al
test al, al
xor eax, eax
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
mov edx, edx
add eax, 1
cmp eax, 0x100
jl 0x100ed3c1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100ecc80
add esp, 0xc
mov al, al
mov ebp, 1
test eax, 0x66f5
push esi
call fcn.10117bef
add esp, 4
xchg ebx, eax
xchg ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, 0x2f07
pop esi
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.101180ca
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.101180ca
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.101180ca
add esp, 0x650
ret
Function at 0x100edb00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ee60
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x100edb6d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.10119900
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
push edi
push esi
call ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ee260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x34]
push 0xc00000
mov dword [esp + 0x28], 0xc00000
mov dword [esp + 0x2c], 0
call fcn.10117b2c
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x100ee298
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp esi, dword [esp + 0x3c]
ja 0x100ee40f
jb 0x100ee2ae
cmp ebx, dword [esp + 0x38]
ja 0x100ee40f
push edi
nop
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
push esi
push ebx
lea esi, [esp + 0x2c]
lea edi, [esp + 0x34]
call fcn.100edba0
add esp, 0x14
test eax, eax
je 0x100ee40e
cmp dword [esp + 0x34], 0x1000
jne 0x100ee3e2
test dword [esp + 0x10], 0x101
jne 0x100ee3e2
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x2c], eax
mov edi, dword [esp + 0x18]
ja 0x100ee349
jb 0x100ee30b
cmp dword [esp + 0x28], edi
jae 0x100ee349
push edi
push ebp
mov esi, ebp
call fcn.10118236
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x100ee33d
test esi, esi
je 0x100ee32a
push esi
call fcn.10117bef
add esp, 4
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ebx, edi
adc esi, dword [esp + 0x1c]
jmp 0x100ee3f8
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push edi
push edx
push esi
mov edx, ebp
call fcn.100eda80
add esp, 0xc
test eax, eax
je 0x100ee3ea
mov eax, edi
sub eax, dword [esp + 0x44]
sub ebx, esi
add ebx, ebp
add eax, ebp
mov edi, ebx
cmp edi, eax
mov dword [esp + 0x14], eax
jae 0x100ee3e6
lea esp, [esp]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push edi
call dword [esp + 0x78]
add esp, 0x14
cmp eax, 1
jne 0x100ee3d6
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, ebp
sbb edx, eax
add ecx, esi
adc edx, dword [esp + 0x30]
lea esi, [esp + 0x64]
push edx
push ecx
mov ecx, dword [esp + 0x68]
call fcn.100edde0
mov esi, dword [esp + 0x34]
add esp, 0x14
add edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x14]
jb 0x100ee380
jmp 0x100ee3e6
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esi, edi
adc eax, dword [esp + 0x1c]
mov ebx, esi
mov esi, eax
cmp esi, dword [esp + 0x40]
jb 0x100ee2b0
ja 0x100ee40e
cmp ebx, dword [esp + 0x3c]
jbe 0x100ee2b0
pop edi
test ebp, ebp
je 0x100ee41c
push ebp
call fcn.10117bef
add esp, 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x100f1ea0
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x101e47d4
call fcn.10058cb0
add esp, 8
mov ebp, ebp
test eax, 0x25f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push 0x2ee0
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, ebp
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
mov bl, bl
ret 0x10
Function at 0x100f24f0
Capabilities:
Read .ini file

Disassembly:
push esi
test eax, eax
push 0
push 0x101e47d4
call fcn.10058cb0
add esp, 8
mov ebp, ebp
test bh, bh
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push 0x2ee0
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov esi, eax
test al, al
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
test edx, edx
mov bl, bl
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100f27e0
Capabilities:
Read .ini file

Disassembly:
push esi
test eax, eax
push 0
push 0x101e47d4
call fcn.10058cb0
add esp, 8
mov ebp, ebp
mov al, al
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
mov dh, dh
push 0x101e47d4
call fcn.10058d40
add esp, 4
mov ebp, ebp
mov ecx, ecx
mov eax, esi
pop esi
ret 0xc
Function at 0x100f38b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101b1378
push 0x101184d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101ce00c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov eax, eax
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test ah, ah
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov ebp, ebp
cmp word [ecx], 0x5a4d
jne 0x100f3957
mov eax, dword [ecx + 0x3c]
add eax, ecx
test ch, ch
cmp dword [eax], 0x4550
jne 0x100f3957
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100f3957
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100f3957
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 0x100f3fb0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101e5ef4], eax
je 0x100f3fc6
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x101e5f04]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100f4052
test al, al
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0xc]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.100c6030
test esi, esi
cmp dword [esi + 4], ebp
jne 0x100f403b
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100f403b
mov edx, eax
and edx, 0xffff0000
mov bh, bh
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov eax, eax
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
push ecx
pop ecx
mov dword [edx + 8], eax
test esi, esi
test cl, cl
mov dword [esi + 0x10], ebp
test edx, edx
mov edi, dword [esi]
mov ch, ch
push esi
call fcn.10106b00
add esp, 4
mov ecx, ecx
mov esi, edi
mov ebp, ebp
cmp edi, ebp
jne 0x100f3fd5
mov dword [0x101e5f04], ebp
mov dh, dh
call fcn.100f3ae0
mov cl, cl
mov esi, dword [0x101e5f00]
cmp esi, ebp
je 0x100f4092
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov bh, bh
mov edi, dword [esi]
mov ch, ch
push esi
call fcn.10106b00
add esp, 4
mov edx, edx
mov esi, edi
test ebx, ebx
cmp edi, ebp
jne 0x100f4072
pop ebx
mov dword [0x101e5f00], ebp
mov bh, bh
mov dword [0x101e5ef4], ebp
test eax, 0x6a3e
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100f4450
Capabilities:
Suspend thread

Disassembly:
test ecx, ecx
mov eax, dword [0x101e5ef8]
test eax, eax
jne 0x100f44f0
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100f4474
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.10106ad0
add esp, 4
mov esi, eax
mov dh, dh
test esi, esi
jne 0x100f448e
lea edi, [eax + 8]
push ebx
pop ebx
jmp 0x100f44b6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100f44d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ebp, ebp
test eax, 0x15af
push esi
call fcn.10106b00
add esp, 4
test al, al
mov eax, eax
mov dword [0x101e5ef8], edi
test eax, 0x725b
mov dword [0x101e5efc], 0
test edi, edi
mov ebx, ebx
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
test cl, cl
mov eax, dword [0x101e5f00]
mov dword [esi], eax
mov edi, edi
mov dword [0x101e5f00], esi
push ecx
pop ecx
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100f5090
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push ebx
pop ebx
test ecx, ecx
push ebx
pop ebx
mov dh, dh
test eax, 0x5d9f
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov eax, eax
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
test dh, dh
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x100f50c0
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x100f50f0
lea ebx, [ebx]
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x100f50e0
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x100f50f7
add ecx, 0x28
test cl, cl
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x100f50d0
pop esi
pop ebx
or eax, 0xffffffff
pop edi
ret
mov eax, dword [ecx + 0x14]
pop esi
sub eax, edx
pop ebx
add eax, edi
pop edi
ret
Function at 0x100f5b40
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [0x101bb968], esi
push edi
jne 0x100f5b5c
xor eax, eax
xor edx, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
lea eax, [ebp + 0x14]
jle 0x100f5b7d
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp + 0x18]
sub ecx, 1
mov dword [ebp + 0x10], ecx
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
jmp 0x100f5b83
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x100f5b9e
sub ecx, 1
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x28], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x24], edx
jmp 0x100f5ba4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x100f5bbf
sub ecx, 1
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x1c], edx
jmp 0x100f5bc5
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x100f5be0
sub ecx, 1
add eax, 8
mov dword [ebp + 0x10], ecx
mov edx, dword [eax - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [eax - 4]
mov dword [ebp - 0x14], edx
jmp 0x100f5be6
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
cdq
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call 0x100f5c1b
add dword [esp], 5
retf

Function at 0x100f5ca0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
push esi
push edi
je 0x100f5d0f
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp + 0x10]
jne 0x100f5cbc
test ecx, ecx
je 0x100f5d0f
cmp dword [ebp + 0x14], 0
je 0x100f5d0f
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call fcn.100f5ccf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100f5d20
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
push edi
je 0x100f5da6
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp + 0x10]
jne 0x100f5d3c
test ecx, ecx
je 0x100f5da6
cmp dword [ebp + 0x14], 0
je 0x100f5da6
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
push 0x33
call fcn.100f5d53
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100f5db0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
push ebx
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x101bb968], edx
je 0x100f6084
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call 0x100f5df6
add dword [esp], 5
retf
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret