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

Disassembly:
sub esp, 0x38
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x34], eax
mov cl, cl
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
push eax
pop eax
cmp dword [esp + 0x18], 2
jbe 0x100d2351
push esi
push 0
call fcn.1004fbb0
add esp, 4
mov bl, bl
cmp eax, 4
jg 0x100d22d4
mov ebx, ebx
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea ecx, [esp + 4]
push ecx
push 0x1019fcfc
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcessAffinityMask]
push ebx
pop ebx
push 1
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
mov ecx, ecx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc49a
add esp, 0x38
ret
push ebp
push edi
call fcn.100d2140
movzx ebp, ax
nop
mov ch, ch
movzx edi, bp
xor esi, esi
test edi, edi
jle 0x100d2346
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push ebx
pop ebx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov edx, edx
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x102c88f0]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dh, dh
mov word [esp + 0x3c], si
push eax
pop eax
test esi, esi
jne 0x100d232e
mov dword [esp + 0x38], 1
mov eax, eax
push eax
lea edx, [esp + 0x3c]
push edx
call ebx
push eax
call fcn.100d2020
xchg ebx, eax
xchg ebx, eax
add esi, 1
cmp esi, edi
jl 0x100d22f1
pop ebx
mov word [0x102c8ad8], bp
nop
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100fc49a
add esp, 0x38
ret

Function at 0x100d2360
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
mov al, al
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ebp, ebp
cmp dword [esp + 0x14], 2
jbe 0x100d23ec
push 0
call fcn.1004fbb0
add esp, 4
mov al, al
cmp eax, 4
jg 0x100d23a3
mov ecx, dword [0x1019fcfc]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
mov ebp, ebp
add esp, 0x24
ret
push esi
push edx
pop edx
xor esi, esi
cmp word [0x102c8ad8], si
jbe 0x100d23e0
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push edi
mov edi, 0x102c88f0
mov edi, edi
push 0
push edi
call ebx
push eax
call fcn.100d2020
mov ch, ch
movzx edx, word [0x102c8ad8]
add esi, 1
add edi, 0xc
cmp esi, edx
jl 0x100d23c0
pop edi
pop ebx
mov word [0x102c8ad8], 0
mov eax, eax
pop esi
add esp, 0x24
ret
Function at 0x100d24c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1015cc61
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101b23cc]
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
mov bl, bl
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.100ff01f
add esp, 4
mov ah, ah
call fcn.100ff02c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x100d254b
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov ebp, ebp
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
mov ch, ch
test eax, eax
jle 0x100d262e
mov edi, eax
lea ebx, [ebx]
call fcn.100ff02c
and eax, 0x8000001f
jns 0x100d2611
dec eax
or eax, 0xffffffe0
inc eax
mov ebp, ebp
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001d350
xchg ebx, eax
xchg ebx, eax
sub edi, 1
jne 0x100d2600
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.100fc49a
add esp, 0x3c
ret
Function at 0x100d51d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101b23cc]
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
push ecx
pop ecx
mov ah, ah
mov dl, dl
mov al, al
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
mov ecx, ecx
mov ebx, dword [esp + 0x894]
push ebx
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x484]
push edx
call fcn.10025350
add esp, 0xc
mov edi, edi
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
push ebx
pop ebx
cmp esi, 0xffffffff
je 0x100d5454
mov ecx, ecx
mov dword [esp + 0xc], edi
mov esi, esi
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
mov dh, dh
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 0x100d544b
cmp byte [esp + 0x13], 0
jbe 0x100d544b
mov dh, dh
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 ebx
pop ebx
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
mov al, al
push 0x210
lea ecx, [esp + 0x680]
push edi
push ecx
call fcn.100fcf90
add esp, 0xc
mov dl, dl
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.100d4e10
add esp, 0x18
test eax, eax
je 0x100d544b
mov ecx, ecx
mov al, al
mov bl, bl
xor eax, eax
jmp 0x100d5410
movzx ecx, word [esp + eax*2 + 0x68c]
mov dword [esp + eax*4 + 0x30], ecx
mov cl, cl
add eax, 1
cmp eax, 0x100
jl 0x100d5410
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x898]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100d4f20
add esp, 0xc
mov dh, dh
mov edi, 1
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebp, ebp
mov ecx, dword [esp + 0x88c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100fc49a
add esp, 0x884
ret
Function at 0x100d5470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101b23cc]
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
mov edx, edx
push eax
pop eax
nop
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 dh, dh
mov ecx, dword [esp + 0x65c]
push ecx
lea edx, [esp + 0x430]
push edx
lea eax, [esp + 0x45c]
push eax
call fcn.10025350
add esp, 0xc
mov cl, cl
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 bl, bl
cmp edi, 0xffffffff
je 0x100d56c1
push ebx
mov bl, bl
mov dword [esp + 0xc], ebp
mov bl, bl
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
mov ah, ah
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 0x100d56a7
push esi
push ecx
pop ecx
push 0x221
call fcn.100fbefc
add esp, 4
mov esi, eax
push ecx
pop ecx
cmp esi, ebp
je 0x100d5683
mov byte [esi + 0xa], 0xec
push eax
pop eax
mov dword [esp + 0x14], ebp
push ecx
pop ecx
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 0x100d5678
mov bh, bh
mov eax, eax
xor eax, eax
jmp 0x100d5640
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
mov cl, cl
add eax, 1
cmp eax, 0x100
jl 0x100d5640
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100d4f20
add esp, 0xc
mov bh, bh
mov ebp, 1
xchg ebx, eax
xchg ebx, eax
push esi
call fcn.100fbfbf
add esp, 4
mov cl, cl
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
pop eax
pop esi
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100fc49a
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100fc49a
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100fc49a
add esp, 0x650
ret
Function at 0x100d5d70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162850
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101b23cc]
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 0x100d5ddd
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.100fe3e0
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 0x100d61d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x30]
mov ecx, edi
add ecx, dword [esp + 0x38]
mov eax, edx
adc eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
cmp eax, esi
mov dword [esp + 0x3c], eax
jb 0x100d620e
ja 0x100d6202
cmp ecx, dword [esp + 0x4c]
jbe 0x100d620e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x100d633f
mov esi, dword [esp + 0x28]
ja 0x100d6228
cmp esi, edi
jb 0x100d633f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x100d633f
jb 0x100d625b
cmp esi, ecx
jae 0x100d633f
push ebx
lea esp, [esp]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
sub ebx, esi
sbb edi, ebp
cmp edi, eax
mov dword [esp + 0x14], edi
jb 0x100d628a
ja 0x100d6280
cmp ebx, dword [esp + 0x48]
jbe 0x100d628a
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov edi, eax
mov edx, dword [esp + 0x44]
push ebx
push ebp
push esi
call fcn.100d5cf0
add esp, 0xc
test eax, eax
je 0x100d6318
mov edi, dword [esp + 0x44]
mov eax, ebx
sub eax, dword [esp + 0x58]
add eax, edi
cmp edi, eax
mov dword [esp + 0x34], eax
jae 0x100d6314
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
push edi
call dword [esp + 0x8c]
add esp, 0x14
cmp eax, 1
jne 0x100d630a
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
xor eax, eax
xor ecx, ecx
mov edx, edi
sub edx, dword [esp + 0x50]
sbb eax, ecx
mov ecx, dword [esp + 0x74]
add edx, esi
mov esi, dword [esp + 0x78]
adc eax, ebp
push eax
push edx
call fcn.100d6050
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x100d62b1
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
adc ebp, edi
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
jb 0x100d6260
ja 0x100d633e
cmp esi, dword [esp + 0x20]
jb 0x100d6260
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100da0d0
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x102c8aec
call fcn.100414d0
add esp, 8
mov al, al
push edx
pop edx
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 dh, dh
push 0x102c8aec
call fcn.10041560
add esp, 4
mov dh, dh
xchg ebx, eax
xchg ebx, eax
ret 0x10
Function at 0x100da710
Capabilities:
Read .ini file

Disassembly:
push esi
mov ebp, ebp
push 0
push 0x102c8aec
call fcn.100414d0
add esp, 8
mov al, al
nop
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
nop
push 0x102c8aec
call fcn.10041560
add esp, 4
mov dh, dh
mov dh, dh
mov ebp, ebp
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100daa00
Capabilities:
Read .ini file

Disassembly:
push esi
mov bl, bl
push 0
push 0x102c8aec
call fcn.100414d0
add esp, 8
mov al, al
push ebx
pop ebx
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 ecx, ecx
push 0x102c8aec
call fcn.10041560
add esp, 4
mov dh, dh
mov al, al
mov eax, esi
pop esi
ret 0xc
Function at 0x100db290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10196c58
push 0x100fc9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101b23cc]
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
xchg ebx, eax
xchg ebx, eax
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
mov bl, bl
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dh, dh
cmp word [ecx], 0x5a4d
jne 0x100db337
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov ebp, ebp
cmp dword [eax], 0x4550
jne 0x100db337
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100db337
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100db337
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 0x100db980
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102ca20c], eax
je 0x100db996
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x102ca21c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100dba22
mov bh, bh
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.100af6f0
push ecx
pop ecx
cmp dword [esi + 4], ebp
jne 0x100dba0b
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100dba0b
mov edx, eax
and edx, 0xffff0000
mov bl, bl
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 dh, dh
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
mov ebp, ebp
mov dword [edx + 8], eax
mov ah, ah
push ebx
pop ebx
mov dword [esi + 0x10], ebp
mov bl, bl
mov edi, dword [esi]
mov esi, esi
push esi
call fcn.100eae6b
add esp, 4
mov ch, ch
mov esi, edi
mov bh, bh
cmp edi, ebp
jne 0x100db9a5
mov dword [0x102ca21c], ebp
mov ecx, ecx
call fcn.100db4c0
xchg ebx, eax
xchg ebx, eax
mov esi, dword [0x102ca218]
cmp esi, ebp
je 0x100dba62
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
push edx
pop edx
mov edi, dword [esi]
push eax
pop eax
push esi
call fcn.100eae6b
add esp, 4
push edx
pop edx
mov esi, edi
push edx
pop edx
cmp edi, ebp
jne 0x100dba42
pop ebx
mov dword [0x102ca218], ebp
xchg ebx, eax
xchg ebx, eax
mov dword [0x102ca20c], ebp
mov eax, eax
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100dbe20
Capabilities:
Suspend thread

Disassembly:
mov edx, edx
mov eax, dword [0x102ca210]
test eax, eax
jne 0x100dbeba
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100dbe44
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.100eae40
add esp, 4
mov esi, eax
mov dh, dh
test esi, esi
jne 0x100dbe5e
lea edi, [eax + 8]
mov ch, ch
jmp 0x100dbe83
push edi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x100dbea0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov bl, bl
push ecx
pop ecx
push esi
call fcn.100eae6b
add esp, 4
mov ah, ah
mov cl, cl
mov dword [0x102ca210], edi
push ebx
pop ebx
mov dword [0x102ca214], 0
mov cl, cl
mov edx, edx
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
mov ecx, ecx
mov eax, dword [0x102ca218]
mov dword [esi], eax
mov esi, esi
mov dword [0x102ca218], esi
xchg ebx, eax
xchg ebx, eax
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100dcb00
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push edx
pop edx
mov bl, bl
mov dl, dl
mov cl, cl
mov cl, cl
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push ebx
pop ebx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov edi, edi
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x100dcb2d
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x100dcb57
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x100dcb47
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x100dcb5e
add ecx, 0x28
mov esi, esi
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x100dcb37
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 0x100dd580
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [0x1019fd80], esi
push edi
jne 0x100dd59c
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 0x100dd5bd
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 0x100dd5c3
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x100dd5de
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 0x100dd5e4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x100dd5ff
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 0x100dd605
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x100dd620
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 0x100dd626
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 0x100dd65b
add dword [esp], 5
retf

Function at 0x100dd6e0
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 0x100dd74f
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp + 0x10]
jne 0x100dd6fc
test ecx, ecx
je 0x100dd74f
cmp dword [ebp + 0x14], 0
je 0x100dd74f
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call fcn.100dd70f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100dd760
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 0x100dd7e6
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp + 0x10]
jne 0x100dd77c
test ecx, ecx
je 0x100dd7e6
cmp dword [ebp + 0x14], 0
je 0x100dd7e6
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
push 0x33
call fcn.100dd793
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100dd7f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
push ebx
push esi
push edi
mov eax, dword [0x101b23cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x1019fd80], edx
je 0x100ddac4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call 0x100dd836
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