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

Disassembly:
sub esp, 0x38
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x34], eax
mov ch, ch
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov bl, bl
cmp dword [esp + 0x18], 2
jbe 0x100caea2
push esi
push 0
call fcn.1004fea0
add esp, 4
nop
cmp eax, 4
jg 0x100cae23
mov ch, ch
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea ecx, [esp + 4]
push ecx
push 0x10192cf4
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcessAffinityMask]
mov ecx, ecx
push 1
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
xchg ebx, eax
xchg ebx, eax
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100f5016
add esp, 0x38
ret
push ebp
push edi
call fcn.100cac90
movzx ebp, ax
mov dl, dl
mov dh, dh
movzx edi, bp
xor esi, esi
test edi, edi
jle 0x100cae96
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push ecx
pop ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov esi, esi
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x102bb8d8]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ch, ch
mov word [esp + 0x3c], si
push ebx
pop ebx
test esi, esi
jne 0x100cae7e
mov dword [esp + 0x38], 1
xchg ebx, eax
xchg ebx, eax
push eax
lea edx, [esp + 0x3c]
push edx
call ebx
push eax
call fcn.100cab70
mov ebx, ebx
add esi, 1
cmp esi, edi
jl 0x100cae41
pop ebx
mov word [0x102bbac0], bp
mov esi, esi
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100f5016
add esp, 0x38
ret

Function at 0x100caec0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
mov eax, eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov bh, bh
cmp dword [esp + 0x14], 2
jbe 0x100caf4c
push 0
call fcn.1004fea0
add esp, 4
push ebx
pop ebx
cmp eax, 4
jg 0x100caf03
mov ecx, dword [0x10192cf4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
mov bl, bl
add esp, 0x24
ret
push esi
mov esi, esi
xor esi, esi
cmp word [0x102bbac0], si
jbe 0x100caf40
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push edi
mov edi, 0x102bb8d8
mov edi, edi
push 0
push edi
call ebx
push eax
call fcn.100cab70
push eax
pop eax
movzx edx, word [0x102bbac0]
add esi, 1
add edi, 0xc
cmp esi, edx
jl 0x100caf20
pop edi
pop ebx
mov word [0x102bbac0], 0
mov ecx, ecx
pop esi
add esp, 0x24
ret
Function at 0x100cb020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x10156531
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101a53c4]
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.100f7b9f
add esp, 4
push ecx
pop ecx
call fcn.100f7bac
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x100cb0ab
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov dh, dh
mov bh, bh
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 bl, bl
test eax, eax
jle 0x100cb18e
mov edi, eax
lea ebx, [ebx]
call fcn.100f7bac
and eax, 0x8000001f
jns 0x100cb171
dec eax
or eax, 0xffffffe0
inc eax
mov edx, edx
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001d7b0
mov ah, ah
sub edi, 1
jne 0x100cb160
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.100f5016
add esp, 0x3c
ret
Function at 0x100cdd30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101a53c4]
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 edi, edi
mov ah, ah
push eax
pop eax
mov cl, cl
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 eax, eax
mov ebx, dword [esp + 0x894]
push ebx
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x484]
push edx
call fcn.10025740
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
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
mov ecx, ecx
cmp esi, 0xffffffff
je 0x100cdfb4
mov dh, dh
mov dword [esp + 0xc], edi
mov bh, bh
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 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 0x100cdfab
cmp byte [esp + 0x13], 0
jbe 0x100cdfab
mov ebp, ebp
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
mov al, al
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 ecx, ecx
push 0x210
lea ecx, [esp + 0x680]
push edi
push ecx
call fcn.100f5b10
add esp, 0xc
mov eax, eax
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.100cd970
add esp, 0x18
test eax, eax
je 0x100cdfab
mov dh, dh
mov eax, eax
push edx
pop edx
xor eax, eax
jmp 0x100cdf70
movzx ecx, word [esp + eax*2 + 0x68c]
mov dword [esp + eax*4 + 0x30], ecx
mov bl, bl
add eax, 1
cmp eax, 0x100
jl 0x100cdf70
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x898]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100cda80
add esp, 0xc
push ebx
pop ebx
mov edi, 1
mov esi, esi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bh, bh
mov ecx, dword [esp + 0x88c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f5016
add esp, 0x884
ret
Function at 0x100cdfd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101a53c4]
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 dh, dh
mov esi, esi
mov eax, eax
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 ebx, ebx
mov ecx, dword [esp + 0x65c]
push ecx
lea edx, [esp + 0x430]
push edx
lea eax, [esp + 0x45c]
push eax
call fcn.10025740
add esp, 0xc
push ebx
pop ebx
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 0x100ce221
push ebx
push eax
pop eax
mov dword [esp + 0xc], ebp
mov ebx, ebx
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 ch, ch
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 0x100ce207
push esi
mov bl, bl
push 0x221
call fcn.100f4a78
add esp, 4
mov esi, eax
push ecx
pop ecx
cmp esi, ebp
je 0x100ce1e3
mov byte [esi + 0xa], 0xec
mov esi, esi
mov dword [esp + 0x14], ebp
mov cl, cl
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 0x100ce1d8
mov edi, edi
mov al, al
xor eax, eax
lea esp, [esp]
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
mov bh, bh
add eax, 1
cmp eax, 0x100
jl 0x100ce1a0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100cda80
add esp, 0xc
push ecx
pop ecx
mov ebp, 1
mov edi, edi
push esi
call fcn.100f4b3b
add esp, 4
push ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bh, bh
pop esi
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100f5016
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100f5016
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100f5016
add esp, 0x650
ret
Function at 0x100ce8d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156640
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101a53c4]
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 0x100ce93d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.100f6f60
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 0x100ced30
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 0x100ced6e
ja 0x100ced62
cmp ecx, dword [esp + 0x4c]
jbe 0x100ced6e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x100cee9f
mov esi, dword [esp + 0x28]
ja 0x100ced88
cmp esi, edi
jb 0x100cee9f
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 0x100cee9f
jb 0x100cedbb
cmp esi, ecx
jae 0x100cee9f
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 0x100cedea
ja 0x100cede0
cmp ebx, dword [esp + 0x48]
jbe 0x100cedea
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.100ce850
add esp, 0xc
test eax, eax
je 0x100cee78
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 0x100cee74
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 0x100cee6a
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.100cebb0
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x100cee11
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 0x100cedc0
ja 0x100cee9e
cmp esi, dword [esp + 0x20]
jb 0x100cedc0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100d2c20
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x102bbad4
call fcn.10041800
add esp, 8
mov bl, bl
mov edi, edi
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]
push eax
pop eax
push 0x102bbad4
call fcn.10041890
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov al, al
ret 0x10
Function at 0x100d3260
Capabilities:
Read .ini file

Disassembly:
push esi
mov eax, eax
push 0
push 0x102bbad4
call fcn.10041800
add esp, 8
mov bl, bl
push ecx
pop ecx
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
mov dh, dh
push 0x102bbad4
call fcn.10041890
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov cl, cl
mov dh, dh
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100d3550
Capabilities:
Read .ini file

Disassembly:
push esi
xchg ebx, eax
xchg ebx, eax
push 0
push 0x102bbad4
call fcn.10041800
add esp, 8
mov bl, bl
push eax
pop eax
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 cl, cl
push 0x102bbad4
call fcn.10041890
add esp, 4
xchg ebx, eax
xchg ebx, eax
nop
mov eax, esi
pop esi
ret 0xc
Function at 0x100d3de0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1018a6c8
push 0x100f5550
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101a53c4]
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 bl, bl
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]
push edx
pop edx
cmp word [ecx], 0x5a4d
jne 0x100d3e86
mov eax, dword [ecx + 0x3c]
add eax, ecx
nop
cmp dword [eax], 0x4550
jne 0x100d3e86
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100d3e86
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100d3e86
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 0x100d44d0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102bd1f4], eax
je 0x100d44e6
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x102bd204]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100d4571
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.100a8310
mov ebp, ebp
cmp dword [esi + 4], ebp
jne 0x100d455a
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100d455a
mov edx, eax
and edx, 0xffff0000
mov al, al
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
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
push edx
pop edx
mov dword [edx + 8], eax
mov ebx, ebx
mov esi, esi
mov dword [esi + 0x10], ebp
nop
mov edi, dword [esi]
mov bl, bl
push esi
call fcn.100e39f0
add esp, 4
mov ah, ah
mov esi, edi
push ebx
pop ebx
cmp edi, ebp
jne 0x100d44f5
mov dword [0x102bd204], ebp
mov ah, ah
call fcn.100d4010
mov bl, bl
mov esi, dword [0x102bd200]
cmp esi, ebp
je 0x100d45b1
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov eax, eax
mov edi, dword [esi]
mov dh, dh
push esi
call fcn.100e39f0
add esp, 4
mov eax, eax
mov esi, edi
mov dl, dl
cmp edi, ebp
jne 0x100d4591
pop ebx
mov dword [0x102bd200], ebp
mov ecx, ecx
mov dword [0x102bd1f4], ebp
mov eax, eax
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100d4970
Capabilities:
Suspend thread

Disassembly:
xchg ebx, eax
xchg ebx, eax
mov eax, dword [0x102bd1f8]
test eax, eax
jne 0x100d4a0a
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100d4994
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.100e39c0
add esp, 4
mov esi, eax
mov cl, cl
test esi, esi
jne 0x100d49ae
lea edi, [eax + 8]
mov ah, ah
jmp 0x100d49d3
push edi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x100d49f0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov edi, edi
push eax
pop eax
push esi
call fcn.100e39f0
add esp, 4
push ecx
pop ecx
mov ebp, ebp
mov dword [0x102bd1f8], edi
push edx
pop edx
mov dword [0x102bd1fc], 0
push ecx
pop ecx
mov cl, cl
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
push ecx
pop ecx
mov eax, dword [0x102bd200]
mov dword [esi], eax
mov bl, bl
mov dword [0x102bd200], esi
mov bl, bl
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100d5660
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov dh, dh
nop
mov al, al
mov ebx, ebx
push eax
pop eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push ecx
pop ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
push ecx
pop ecx
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x100d568c
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x100d56b6
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x100d56a6
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x100d56bd
add ecx, 0x28
mov esi, esi
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x100d5696
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 0x100d60e0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [0x10192d78], esi
push edi
jne 0x100d60fc
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 0x100d611d
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 0x100d6123
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x100d613e
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 0x100d6144
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x100d615f
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 0x100d6165
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x100d6180
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 0x100d6186
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 0x100d61bb
add dword [esp], 5
retf

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101569c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
push ebx
push esi
push edi
mov eax, dword [0x101a53c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x10192d78], edx
je 0x100d6624
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call 0x100d6396
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