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

Disassembly:
sub esp, 0x30
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov cl, 0x64
mov dword [esp], eax
mov al, 0x31
mov byte [esp + 8], cl
mov dl, 0x33
mov byte [esp + 0xa], cl
mov byte [esp + 0xe], cl
mov cl, 0x6c
push ebp
mov ebp, dword [esp + 0x40]
mov byte [esp + 0xd], dl
mov byte [esp + 0x19], dl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], al
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], cl
mov cl, 0x44
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1f], al
mov al, 0x65
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x19], 0
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x6e
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x63
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1003e38c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x1003e38c
mov eax, 0x80004005
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1005df84
add esp, 0x30
ret 0x18
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003e375
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push edx
push edi
push ecx
push esi
call eax
mov ecx, dword [esp + 0x30]
pop ebp
xor ecx, esp
call fcn.1005df84
add esp, 0x30
ret 0x18
Function at 0x100473f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, dword [esp + 0x38]
mov cl, 0x6c
mov al, 0x65
mov dl, 0x72
push edi
mov edi, dword [esp + 0x40]
mov byte [esp + 0xc], 0x4b
mov byte [esp + 0xd], al
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], 0x6e
mov byte [esp + 0x10], al
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x33
mov byte [esp + 0x13], 0x32
mov byte [esp + 0x14], 0x2e
mov byte [esp + 0x15], 0x64
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0
nop
mov byte [esp + 0x1d], al
mov byte [esp + 0x22], al
mov al, 0x66
mov cl, 0x74
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov al, 0x69
mov byte [esp + 0x1c], 0x53
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x20], 0x68
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], 0x47
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0x75
mov byte [esp + 0x29], 0x70
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x6e
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], 0x79
mov byte [esp + 0x32], 0
mov dh, dh
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov bl, bl
test eax, eax
je 0x100474f6
push ebp
push edi
push esi
call eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1005df84
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1005df84
add esp, 0x2c
ret 0xc
Function at 0x10047510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x30], eax
mov cl, 0x6c
mov al, 0x65
mov dl, 0x72
mov byte [esp], 0x4b
mov byte [esp + 1], al
mov byte [esp + 2], dl
mov byte [esp + 3], 0x6e
mov byte [esp + 4], al
mov byte [esp + 5], cl
mov byte [esp + 6], 0x33
mov byte [esp + 7], 0x32
mov byte [esp + 8], 0x2e
mov byte [esp + 9], 0x64
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], 0
test eax, 0x16c2
mov byte [esp + 0x11], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1d], al
mov al, 0x73
mov cl, 0x6f
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x75
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x13], 0x41
mov byte [esp + 0x14], 0x63
mov byte [esp + 0x15], 0x74
mov byte [esp + 0x16], 0x69
mov byte [esp + 0x17], 0x76
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], 0x47
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x70
mov byte [esp + 0x27], 0x43
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0
test ebx, ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test bl, bl
test eax, eax
je 0x1004761c
call eax
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1005df84
add esp, 0x34
ret
mov ecx, dword [esp + 0x30]
xor ecx, esp
xor ax, ax
call fcn.1005df84
add esp, 0x34
ret
Function at 0x10047630
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x34], eax
test eax, eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xchg ebx, eax
xchg ebx, eax
cmp dword [esp + 0x18], 2
jbe 0x10047733
push esi
push 0
call fcn.100242a0
add esp, 4
test dh, dh
cmp eax, 3
jl 0x10047708
cmp eax, 4
je 0x10047708
push ebp
push edi
call fcn.10047510
movzx ebp, ax
test cl, cl
mov bl, bl
movzx edi, bp
xor esi, esi
test edi, edi
jle 0x100476ed
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebp, ebp
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov bl, bl
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x101d9160]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
test eax, 0x4414
mov word [esp + 0x3c], si
mov dl, dl
test esi, esi
jne 0x100476d5
mov dword [esp + 0x38], 1
test ecx, ecx
push eax
lea ecx, [esp + 0x3c]
push ecx
call ebx
push eax
call fcn.100473f0
mov dl, dl
add esi, 1
cmp esi, edi
jl 0x10047695
pop ebx
mov word [0x101d9348], bp
mov ah, ah
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1005df84
add esp, 0x38
ret
mov dl, dl
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 4]
push edx
push 0x100b08cc
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]
test ebx, ebx
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1005df84
add esp, 0x38
ret

Function at 0x10047750
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
test ecx, ecx
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, eax
cmp dword [esp + 0x14], 2
jbe 0x100477e9
push 0
call fcn.100242a0
add esp, 4
mov ebp, ebp
cmp eax, 3
jl 0x100477d3
cmp eax, 4
je 0x100477d3
push esi
push edx
pop edx
xor esi, esi
cmp word [0x101d9348], si
jbe 0x100477c0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
mov edi, 0x101d9160
lea ecx, [ecx]
push 0
push edi
call ebx
push eax
call fcn.100473f0
test dh, dh
movzx ecx, word [0x101d9348]
add esi, 1
add edi, 0xc
cmp esi, ecx
jl 0x100477a0
pop edi
pop ebx
mov word [0x101d9348], 0
test eax, 0x278e
pop esi
add esp, 0x24
ret
mov edx, dword [0x100b08cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ecx, ecx
add esp, 0x24
ret
Function at 0x10047870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x100815d1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x100c2d54]
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 edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100603d7
add esp, 4
mov ah, ah
call fcn.100603e4
and eax, 0x80000007
jns 0x100478fb
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov edi, edi
mov ebp, ebp
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
test eax, 0x2181
test eax, eax
jle 0x100479de
mov edi, eax
lea ecx, [ecx]
call fcn.100603e4
and eax, 0x8000001f
jns 0x100479c1
dec eax
or eax, 0xffffffe0
inc eax
mov ebx, ebx
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1000fcc0
mov dh, dh
sub edi, 1
jne 0x100479b0
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.1005df84
add esp, 0x3c
ret
Function at 0x100498e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100816c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c2d54]
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 0x1004994d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.1005f780
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 0x1004a040
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.1005da00
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x1004a078
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp esi, dword [esp + 0x3c]
ja 0x1004a1ef
jb 0x1004a08e
cmp ebx, dword [esp + 0x38]
ja 0x1004a1ef
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.10049980
add esp, 0x14
test eax, eax
je 0x1004a1ee
cmp dword [esp + 0x34], 0x1000
jne 0x1004a1c2
test dword [esp + 0x10], 0x101
jne 0x1004a1c2
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x2c], eax
mov edi, dword [esp + 0x18]
ja 0x1004a129
jb 0x1004a0eb
cmp dword [esp + 0x28], edi
jae 0x1004a129
push edi
push ebp
mov esi, ebp
call fcn.1005e0b1
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1004a11d
test esi, esi
je 0x1004a10a
push esi
call fcn.1005dac3
add esp, 4
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
add ebx, edi
adc esi, dword [esp + 0x1c]
jmp 0x1004a1d8
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.10049860
add esp, 0xc
test eax, eax
je 0x1004a1ca
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 0x1004a1c6
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 0x1004a1b6
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.10049bc0
mov esi, dword [esp + 0x34]
add esp, 0x14
add edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x14]
jb 0x1004a160
jmp 0x1004a1c6
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 0x1004a090
ja 0x1004a1ee
cmp ebx, dword [esp + 0x3c]
jbe 0x1004a090
pop edi
test ebp, ebp
je 0x1004a1fc
push ebp
call fcn.1005dac3
add esp, 4
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x1004cb40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100aa2f0
push 0x1005e350
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100c2d54]
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 ebx, ebx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
push edx
pop edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
test eax, 0xcfb
cmp word [ecx], 0x5a4d
jne 0x1004cbe9
mov eax, dword [ecx + 0x3c]
add eax, ecx
nop
cmp dword [eax], 0x4550
jne 0x1004cbe9
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x1004cbe9
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x1004cbe9
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 0x1004d240
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101daa7c], eax
je 0x1004d256
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x101daa8c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x1004d2f0
lea esp, [esp]
mov dh, dh
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.1002e9f0
test edx, edx
cmp dword [esi + 4], ebp
jne 0x1004d2d9
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x1004d2d9
mov edx, eax
and edx, 0xffff0000
test ecx, 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
mov ecx, ecx
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
test eax, 0x79b5
mov dword [edx + 8], eax
mov dh, dh
test eax, eax
mov dword [esi + 0x10], ebp
test esi, esi
mov edi, dword [esi]
test ch, ch
push esi
call fcn.100504eb
add esp, 4
mov al, al
mov esi, edi
test ch, ch
cmp edi, ebp
jne 0x1004d270
mov dword [0x101daa8c], ebp
mov al, al
call fcn.1004cd70
mov eax, eax
mov esi, dword [0x101daa88]
cmp esi, ebp
je 0x1004d332
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov ebp, ebp
mov edi, dword [esi]
test bl, bl
push esi
call fcn.100504eb
add esp, 4
nop
mov esi, edi
test eax, 0x18f0
cmp edi, ebp
jne 0x1004d310
pop ebx
mov dword [0x101daa88], ebp
test al, al
mov dword [0x101daa7c], ebp
mov ch, ch
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x1004d700
Capabilities:
Suspend thread

Disassembly:
test ah, ah
mov eax, dword [0x101daa80]
test eax, eax
jne 0x1004d79c
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x1004d724
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.100504c0
add esp, 4
mov esi, eax
xchg ebx, eax
xchg ebx, eax
test esi, esi
jne 0x1004d73e
lea edi, [eax + 8]
push ecx
pop ecx
jmp 0x1004d763
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1004d77f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push eax
pop eax
mov al, al
push esi
call fcn.100504eb
add esp, 4
mov bl, bl
test bl, bl
mov dword [0x101daa80], edi
test ebx, ebx
mov dword [0x101daa84], 0
test eax, eax
nop
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
test eax, 0x45de
mov eax, dword [0x101daa88]
mov dword [esi], eax
test bl, bl
mov dword [0x101daa88], esi
mov esi, esi
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x1004e2b0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
test bl, bl
mov ebx, ebx
mov ecx, ecx
mov ebp, ebp
test ebx, ebx
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov esi, esi
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
test al, al
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x1004e2dd
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x1004e307
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x1004e2f7
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x1004e30e
add ecx, 0x28
test bh, bh
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x1004e2e7
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 0x1004ed50
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
xor esi, esi
cmp dword [0x100b0950], esi
push edi
jne 0x1004ed6c
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 0x1004ed8d
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 0x1004ed93
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp ecx, esi
jle 0x1004edae
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 0x1004edb4
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
cmp ecx, esi
jle 0x1004edcf
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 0x1004edd5
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
jle 0x1004edf0
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 0x1004edf6
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 fcn.1004ee2b

Function at 0x1004eeb0
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 0x1004ef1f
mov eax, dword [ebp + 0xc]
test eax, eax
mov ecx, dword [ebp + 0x10]
jne 0x1004eecc
test ecx, ecx
je 0x1004ef1f
cmp dword [ebp + 0x14], 0
je 0x1004ef1f
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x33
call fcn.1004eedf
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100818f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c0
push ebx
push esi
push edi
mov eax, dword [0x100c2d54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
cmp dword [0x100b0950], edx
je 0x1004f294
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
push 0x33
call fcn.1004f006
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 0x1004f8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100c2d54]
xor eax, esp
mov dword [esp + 0x28], eax
mov ecx, dword [0x101dad08]
test ecx, ecx
push esi
mov esi, dword [0x101dad0c]
push edi
mov edi, dword [esp + 0x38]
jne 0x1004f9c2
test esi, esi
jne 0x1004f9c2
mov al, 0x6c
mov cl, 0x74
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x28], al
mov dl, 0x72
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0x4e
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x63
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x56
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2d], 0x4d
mov byte [esp + 0x2e], 0x65
mov byte [esp + 0x2f], 0x6d
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], 0x79
mov byte [esp + 0x33], 0
call fcn.1004f2f0
push edx
push eax
call fcn.1004f820
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov esi, edx
mov dword [0x101dad08], ecx
mov dword [0x101dad0c], esi
jne 0x1004f9c2
test esi, esi
je 0x1004fa25
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
push eax
push 0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x20]
cdq
push edx
push eax
push 0
push 0
lea eax, [esp + 0x28]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push 6
push esi
push ecx
mov dword [esp + 0x50], 0
call fcn.1004ed50
add esp, 0x3c
test eax, eax
jne 0x1004fa1b
test edx, edx
je 0x1004fa3a
push edx
push eax
call fcn.1004f750
add esp, 8
pop edi
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1005df84
add esp, 0x2c
ret
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.1005df84
add esp, 0x2c
ret