joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eec40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101ce2ac]
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
xchg ebx, eax
xchg ebx, eax
test bl, bl
push ecx
pop ecx
mov ebx, ebx
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 dh, dh
mov ebx, dword [esp + 0x894]
push ebx
lea ecx, [esp + 0x458]
push ecx
lea edx, [esp + 0x484]
push edx
call fcn.1002dfe0
add esp, 0xc
push eax
pop 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
test eax, eax
cmp esi, 0xffffffff
je 0x100eeec7
test ebx, ebx
mov dword [esp + 0xc], edi
mov ch, ch
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 esi, esi
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 0x100eeebe
cmp byte [esp + 0x13], 0
jbe 0x100eeebe
test eax, 0x5c8e
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
test ecx, 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
mov bh, bh
push 0x210
lea ecx, [esp + 0x680]
push edi
push ecx
call fcn.10117df0
add esp, 0xc
test cl, cl
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.100ee880
add esp, 0x18
test eax, eax
je 0x100eeebe
mov esi, esi
mov dl, dl
test esi, esi
xor eax, eax
jmp 0x100eee80
movzx ecx, word [esp + eax*2 + 0x68c]
mov dword [esp + eax*4 + 0x30], ecx
test cl, cl
add eax, 1
cmp eax, 0x100
jl 0x100eee80
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x898]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100ee990
add esp, 0xc
test eax, 0x55c
mov edi, 1
mov dh, dh
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, ecx
mov ecx, dword [esp + 0x88c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10116cb9
add esp, 0x884
ret
Function at 0x100eeef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101ce2ac]
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 dl, dl
mov dh, dh
mov bl, bl
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
push ebx
pop ebx
mov ecx, dword [esp + 0x65c]
push ecx
lea edx, [esp + 0x430]
push edx
lea eax, [esp + 0x45c]
push eax
call fcn.1002dfe0
add esp, 0xc
test ebx, 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
push ecx
pop ecx
cmp edi, 0xffffffff
je 0x100ef141
push ebx
test eax, eax
mov dword [esp + 0xc], ebp
mov cl, cl
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 esi, esi
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 0x100ef127
push esi
mov ecx, ecx
push 0x221
call fcn.1011671b
add esp, 4
mov esi, eax
mov al, al
cmp esi, ebp
je 0x100ef103
mov byte [esi + 0xa], 0xec
mov al, al
mov dword [esp + 0x14], ebp
test ch, ch
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 0x100ef0f8
mov dl, dl
mov al, al
xor eax, eax
lea esp, [esp]
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
test edi, edi
add eax, 1
cmp eax, 0x100
jl 0x100ef0c0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100ee990
add esp, 0xc
mov bl, bl
mov ebp, 1
mov edx, edx
push esi
call fcn.101167de
add esp, 4
mov ah, ah
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.10116cb9
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.10116cb9
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.10116cb9
add esp, 0x650
ret
Function at 0x100ef800
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e240
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101ce2ac]
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 0x100ef86d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.10117a80
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 0x100eff60
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.1011671b
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x100eff98
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp esi, dword [esp + 0x3c]
ja 0x100f010f
jb 0x100effae
cmp ebx, dword [esp + 0x38]
ja 0x100f010f
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.100ef8a0
add esp, 0x14
test eax, eax
je 0x100f010e
cmp dword [esp + 0x34], 0x1000
jne 0x100f00e2
test dword [esp + 0x10], 0x101
jne 0x100f00e2
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x2c], eax
mov edi, dword [esp + 0x18]
ja 0x100f0049
jb 0x100f000b
cmp dword [esp + 0x28], edi
jae 0x100f0049
push edi
push ebp
mov esi, ebp
call fcn.10116e25
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x100f003d
test esi, esi
je 0x100f002a
push esi
call fcn.101167de
add esp, 4
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ebx, edi
adc esi, dword [esp + 0x1c]
jmp 0x100f00f8
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.100ef780
add esp, 0xc
test eax, eax
je 0x100f00ea
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 0x100f00e6
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 0x100f00d6
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.100efae0
mov esi, dword [esp + 0x34]
add esp, 0x14
add edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x14]
jb 0x100f0080
jmp 0x100f00e6
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 0x100effb0
ja 0x100f010e
cmp ebx, dword [esp + 0x3c]
jbe 0x100effb0
pop edi
test ebp, ebp
je 0x100f011c
push ebp
call fcn.101167de
add esp, 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x100f3a1f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
mov bl, 0x65
push edi
mov dword [esi], 0x10182e84
mov byte [esp + 0xc], 0x76
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x10], 0x69
mov byte [esp + 0x11], 0x6f
mov byte [esp + 0x12], 0x6e
mov byte [esp + 0x13], 0x2e
mov byte [esp + 0x14], 0x64
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x6c
mov byte [esp + 0x17], 0
mov esi, esi
lea eax, [esp + 0xc]
xor edi, edi
push eax
mov dword [esi + 0x38], edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [esi + 0x40], eax
xchg ebx, eax
xchg ebx, eax
mov dword [esi + 0x44], edi
test ch, ch
mov dword [esi + 0x48], edi
test ah, ah
mov dword [esi + 0x4c], edi
test ah, ah
mov al, 0x56
mov dl, 0x66
mov cl, 0x41
mov byte [esp + 0x3c], 0x47
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x74
mov byte [esp + 0x3f], 0x46
mov byte [esp + 0x40], 0x69
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], al
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], 0x73
mov byte [esp + 0x47], 0x69
mov byte [esp + 0x48], 0x6f
mov byte [esp + 0x49], 0x6e
mov byte [esp + 0x4a], 0x49
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], dl
mov byte [esp + 0x4d], 0x6f
mov byte [esp + 0x4e], 0x53
mov byte [esp + 0x4f], 0x69
mov byte [esp + 0x50], 0x7a
mov byte [esp + 0x51], bl
mov byte [esp + 0x52], cl
mov byte [esp + 0x53], 0
mov esi, esi
mov byte [esp + 0x28], 0x47
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x46
mov byte [esp + 0x2c], 0x69
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], 0x73
mov byte [esp + 0x33], 0x69
mov byte [esp + 0x34], 0x6f
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], 0x6e
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], 0
test cl, cl
mov dl, 0x75
mov byte [esp + 0x18], al
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x51
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x79
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x6c
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0
test bh, bh
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x100f3be6
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edi
mov dword [esi + 0x44], eax
test al, al
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x28]
push edx
push eax
call edi
mov dword [esi + 0x48], eax
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x18]
push ecx
push edx
call edi
mov dword [esi + 0x4c], eax
mov ecx, ecx
mov ecx, dword [esp + 0x54]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10116cb9
add esp, 0x4c
ret
Function at 0x100f4120
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x101e5db4
call fcn.10058180
add esp, 8
mov bh, bh
mov edx, 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 eax, eax
push 0x101e5db4
call fcn.10058210
add esp, 4
push edx
pop edx
mov al, al
ret 0x10
Function at 0x100f4770
Capabilities:
Read .ini file

Disassembly:
push esi
push edx
pop edx
push 0
push 0x101e5db4
call fcn.10058180
add esp, 8
mov bh, bh
mov eax, eax
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 bh, bh
push 0x101e5db4
call fcn.10058210
add esp, 4
push edx
pop edx
test ah, ah
mov edx, edx
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100f4a60
Capabilities:
Read .ini file

Disassembly:
push esi
test bl, bl
push 0
push 0x101e5db4
call fcn.10058180
add esp, 8
mov bh, bh
test esi, esi
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 bl, bl
push 0x101e5db4
call fcn.10058210
add esp, 4
push edx
pop edx
test ecx, ecx
mov eax, esi
pop esi
ret 0xc
Function at 0x100f5b00
Capabilities:
Parse pe header

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x101e74d4], eax
je 0x100f6226
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x101e74e4]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100f62b2
xchg ebx, eax
xchg ebx, eax
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.100c8230
mov cl, cl
cmp dword [esi + 4], ebp
jne 0x100f629b
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100f629b
mov edx, eax
and edx, 0xffff0000
push ecx
pop ecx
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
test edx, edx
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
mov cl, cl
mov dword [edx + 8], eax
test edi, edi
test edx, edx
mov dword [esi + 0x10], ebp
test ecx, ecx
mov edi, dword [esi]
push ecx
pop ecx
push esi
call fcn.1010568b
add esp, 4
push ecx
pop ecx
mov esi, edi
push ebx
pop ebx
cmp edi, ebp
jne 0x100f6235
mov dword [0x101e74e4], ebp
mov ebp, ebp
call fcn.100f5d40
test edx, edx
mov esi, dword [0x101e74e0]
cmp esi, ebp
je 0x100f62f5
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
push eax
pop eax
mov edi, dword [esi]
test dl, dl
push esi
call fcn.1010568b
add esp, 4
test eax, 0x6a67
mov esi, edi
push ecx
pop ecx
cmp edi, ebp
jne 0x100f62d2
pop ebx
mov dword [0x101e74e0], ebp
test eax, eax
mov dword [0x101e74d4], ebp
mov al, al
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100f66b0
Capabilities:
Suspend thread

Disassembly:
push ecx
pop ecx
mov eax, dword [0x101e74d8]
test eax, eax
jne 0x100f6748
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100f66d4
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.10105660
add esp, 4
mov esi, eax
nop
test esi, esi
jne 0x100f66ed
lea edi, [eax + 8]
mov bl, bl
jmp 0x100f6712
push edi
call dword [0x1018117c]
cmp eax, 0xffffffff
jne 0x100f672e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov eax, eax
test edx, edx
push esi
call fcn.1010568b
add esp, 4
push ebx
pop ebx
mov al, al
mov dword [0x101e74d8], edi
push ebx
pop ebx
mov dword [0x101e74dc], 0
nop
mov al, al
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
mov al, al
mov eax, dword [0x101e74e0]
mov dword [esi], eax
push eax
pop eax
mov dword [0x101e74e0], esi
mov edx, edx
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100f72f0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
test ecx, ecx
mov ch, ch
test edi, edi
test eax, 0x39a7
push eax
pop eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
test cl, cl
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
test edx, edx
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x100f7320
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x100f7350
lea ebx, [ebx]
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x100f7340
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x100f7357
add ecx, 0x28
test dh, dh
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x100f7330
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 0x100f7d90
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [0x101bbc60], esi
push edi
jne 0x100f7dac
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 0x100f7dcd
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 0x100f7dd3
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x100f7dee
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 0x100f7df4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x100f7e0f
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 0x100f7e15
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x100f7e30
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 0x100f7e36
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 0x100f7e6b
add dword [esp], 5
retf

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e618
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
push ebx
push esi
push edi
mov eax, dword [0x101ce2ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x101bbc60], edx
je 0x100f82d4
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call 0x100f8046
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
Function at 0x100f8930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [0x101e7760]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, dword [0x101e7764]
push edi
mov edi, dword [esp + 0x34]
jne 0x100f8a0b
test esi, esi
jne 0x100f8a0b
mov al, 0x72
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x26], al
mov dl, 0x65
mov cl, 0x79
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x18], 0x4e
mov byte [esp + 0x19], 0x74
mov byte [esp + 0x1a], 0x51
mov byte [esp + 0x1b], 0x75
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x56
mov byte [esp + 0x20], 0x69
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0x75
mov byte [esp + 0x24], 0x61
mov byte [esp + 0x25], 0x6c
mov byte [esp + 0x26], 0x4d
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x6d
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0
call fcn.100f8330
push edx
push eax
call fcn.100f8860
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101e7760], ecx
mov dword [0x101e7764], esi
jne 0x100f8a0b
test esi, esi
jne 0x100f8a0b
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10116cb9
add esp, 0x24
ret
lea eax, [esp + 0xc]
cdq
push edx
mov edx, dword [esp + 0x48]
push eax
push 0
push edx
mov eax, ebp
cdq
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x54]
push 0
push 0
push eax
push edx
mov eax, edi
cdq
push edx
push eax
push 6
push esi
push ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.100f7d90
add esp, 0x3c
test eax, eax
jne 0x100f8a55
test edx, edx
je 0x100f8a5f
push edx
push eax
call fcn.100f8790
add esp, 8
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10116cb9
add esp, 0x24
ret