joyce8/EMBER2024-capa huggingface dataset:
Function at 0x125ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
cmp byte [0x20418], 0
jne 0x12611
call fcn.00011bac
test al, al
jne 0x12611
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x127bc
xor eax, eax
push ebp
push 0x127b5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x20031], 0
je 0x12632
push 0x20420
call sub.KERNEL32.DLL_GetSystemDirectoryA
add dword [ebp - 4], 7
and dword [ebp - 4], 0xfffffffc
cmp dword [ebp - 4], 0xc
jge 0x12647
mov dword [ebp - 4], 0xc
cmp dword [ebp - 4], 0x1000
jg 0x1271f
mov eax, dword [ebp - 4]
test eax, eax
jns 0x1265e
add eax, 3
sar eax, 2
mov edx, dword [0x20478]
mov eax, dword [edx + eax*4 - 0xc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1271f
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and dword [eax], 0xfffffffe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jne 0x126b3
mov eax, dword [ebp - 4]
test eax, eax
jns 0x126a2
add eax, 3
sar eax, 2
mov edx, dword [0x20478]
xor ecx, ecx
mov dword [edx + eax*4 - 0xc], ecx
jmp 0x126e6
mov eax, dword [ebp - 4]
test eax, eax
jns 0x126bd
add eax, 3
sar eax, 2
mov edx, dword [0x20478]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4 - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
or eax, 2
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
inc dword [0x2040c]
mov eax, dword [ebp - 4]
sub eax, 4
add dword [0x20410], eax
call fcn.000135d8
jmp 0x127bc
mov eax, dword [ebp - 4]
cmp eax, dword [0x20470]
jg 0x12789
mov eax, dword [ebp - 4]
sub dword [0x20470], eax
cmp dword [0x20470], 0xc
jge 0x1274b
mov eax, dword [0x20470]
add dword [ebp - 4], eax
xor eax, eax
mov dword [0x20470], eax
mov eax, dword [0x20474]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
add dword [0x20474], eax
mov eax, dword [ebp - 4]
or eax, 2
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 8], eax
inc dword [0x2040c]
mov eax, dword [ebp - 4]
sub eax, 4
add dword [0x20410], eax
call fcn.000135d8
jmp 0x127bc
mov eax, dword [ebp - 4]
call fcn.00012440
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x127bc
cmp byte [0x20031], 0
je 0x127b4
push 0x20420
call sub.KERNEL32.DLL_GetTempPathA
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x127c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [0x2041c], eax
cmp byte [0x20418], 0
jne 0x127fc
call fcn.00011bac
test al, al
jne 0x127fc
mov dword [0x2041c], 8
mov dword [ebp - 8], 8
jmp 0x129bd
xor eax, eax
push ebp
push 0x129b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x20031], 0
je 0x1281d
push 0x20420
call sub.KERNEL32.DLL_GetSystemDirectoryA
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test byte [ebp - 0x20], 2
jne 0x12849
mov dword [0x2041c], 9
jmp 0x1298d
dec dword [0x2040c]
mov eax, dword [ebp - 0x20]
and eax, 0x7ffffffc
sub eax, 4
sub dword [0x20410], eax
test byte [ebp - 0x20], 1
je 0x128c7
mov eax, dword [ebp - 0xc]
sub eax, 0xc
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc
jl 0x12881
test dword [ebp - 0x18], 0x80000003
je 0x12890
mov dword [0x2041c], 0xa
jmp 0x1298d
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x18]
je 0x128b3
mov dword [0x2041c], 0xa
jmp 0x1298d
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
call fcn.00011d94
and dword [ebp - 0x20], 0x7ffffffc
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x20474]
jne 0x12914
mov eax, dword [ebp - 0x20]
sub dword [0x20474], eax
mov eax, dword [ebp - 0x20]
add dword [0x20470], eax
cmp dword [0x20470], 0x3c00
jle 0x12905
call fcn.0001226c
xor eax, eax
mov dword [ebp - 8], eax
call fcn.000135d8
jmp 0x129bd
mov eax, dword [ebp - 0x10]
test byte [eax], 2
je 0x1293f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0x7ffffffc
cmp eax, 4
jge 0x12937
mov dword [0x2041c], 0xb
jmp 0x1298d
mov eax, dword [ebp - 0x10]
or dword [eax], 1
jmp 0x12982
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x1295f
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1295f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0xc
jge 0x1296b
mov dword [0x2041c], 0xb
jmp 0x1298d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
call fcn.00011d94
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00012168
mov eax, dword [0x2041c]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x129bd
cmp byte [0x20031], 0
je 0x129b5
push 0x20420
call sub.KERNEL32.DLL_GetTempPathA
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x12fe4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x2002c], 0x8088405
inc edx
mov dword [0x2002c], edx
mul edx
mov eax, edx
ret
Function at 0x13048
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x130e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x130c0
xor eax, eax
push ebp
push 0x130b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x130fc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x130c0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x14854
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x14a18
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x148bc
push 0x14a28
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_LocalAlloc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x148bc
push 0x105
lea eax, [ebp - 0x25f]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x1c]
test eax, eax
je 0x148bc
lea eax, [ebp - 0x25f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
jmp 0x14a0f
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x1490f
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x14a0f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00014820
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x14a0f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
inc eax
call fcn.00014820
pop ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
je 0x14a0f
jmp 0x14918
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x25f]
push eax
call sub.KERNEL32.DLL_DeleteFileA
jmp 0x149f3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
inc eax
call fcn.00014820
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
inc eax
cmp eax, 0x105
jg 0x14a0f
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
inc eax
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x25f]
add eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x15a]
push eax
lea eax, [ebp - 0x25f]
push eax
call sub.KERNEL32.DLL_VirtualFree
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x14a0f
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
lea eax, [ebp - 0x12e]
push eax
call sub.KERNEL32.DLL_ExitThread
mov edx, dword [ebp - 0x18]
inc edx
add eax, edx
inc eax
cmp eax, 0x105
jg 0x14a0f
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x25f], 0x5c
lea eax, [ebp - 0x12e]
push eax
lea eax, [ebp - 0x25f]
add eax, dword [ebp - 0x18]
inc eax
push eax
call sub.KERNEL32.DLL_CreateThread
lea eax, [ebp - 0x12e]
push eax
call sub.KERNEL32.DLL_ExitThread
inc eax
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x1493b
lea eax, [ebp - 0x25f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x14a3c
Capabilities:
Create thread
Query or enumerate registry value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x125]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x14c14
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x14a9b
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0x14c30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x14b0f
xor eax, eax
push ebp
push 0x14b08
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push ebp
lea eax, [ebp - 0x125]
call fcn.00014854
pop ecx
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x14af1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16]
push eax
push 0
push 0
push 0x14c50
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14b0f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_CreateThread
push 5
lea eax, [ebp - 0x11]
push eax
push 3
call sub.KERNEL32.DLL_TlsSetValue
push eax
call sub.KERNEL32.DLL_DeleteCriticalSection
xor eax, eax
mov dword [ebp - 8], eax
cmp byte [ebp - 0x125], 0
je 0x14c0d
cmp byte [ebp - 0x11], 0
jne 0x14b54
cmp byte [ebp - 0x16], 0
je 0x14c0d
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_ExitThread
lea edx, [ebp - 0x125]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x14b70
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0x2e
je 0x14b83
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
jne 0x14b6d
lea eax, [ebp - 0x125]
cmp eax, dword [ebp - 0x20]
je 0x14c0d
inc dword [ebp - 0x20]
cmp byte [ebp - 0x16], 0
je 0x14bb7
lea eax, [ebp - 0x16]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_CreateThread
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_CompareStringA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x14c0d
cmp byte [ebp - 0x11], 0
je 0x14c0d
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_CreateThread
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_CompareStringA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x14c0d
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x11]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.KERNEL32.DLL_CreateThread
push 2
push 0
lea eax, [ebp - 0x125]
push eax
call sub.KERNEL32.DLL_CompareStringA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x152b1
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov edx, dword [ebx + 4]
sub edx, 0xd7b0
je 0x151d9
cmp edx, 3
ja 0x15277
call dword [ebx + 0x24]
test eax, eax
je 0x151d9
call fcn.00012dbc
mov dword [ebx + 4], 0xd7b3
mov dword [ebx + 8], esi
mov dword [ebx + 0x24], 0x152d2
mov dword [ebx + 0x1c], 0x1525b
cmp byte [ebx + 0x48], 0
je 0x1525e
mov eax, 0xc0000000
mov dl, byte [0x20032]
and edx, 0x70
shr edx, 2
mov edx, dword [edx + 0x15291]
mov ecx, 2
sub edi, 3
je 0x1523b
mov ecx, 3
inc edi
je 0x1523b
mov eax, 0x40000000
inc edi
mov dword [ebx + 4], 0xd7b2
je 0x1523b
mov eax, 0x80000000
mov dword [ebx + 4], 0xd7b1
push 0
push 0x80
push ecx
push 0
push edx
push eax
lea eax, [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp eax, 0xffffffff
je 0x1527e
mov dword [ebx], eax
pop edi
pop esi
pop ebx
ret
mov dword [ebx + 0x24], 0x1525b
cmp edi, 3
je 0x1526e
push 0xfffffffffffffff6
jmp 0x15270
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetThreadLocale
jmp 0x15250
mov eax, 0x66
jmp 0x1528a
mov dword [ebx + 4], 0xd7b0
call sub.KERNEL32.DLL_LeaveCriticalSection
call fcn.00012dbc
jmp 0x15257
xor ecx, ecx
mov cl, byte [0x20032]
and cl, 3
cmp cl, 2
jbe 0x152c3
mov cl, 2
jmp 0x151b0

Function at 0x192d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
call fcn.00016dac
fstp qword [esp]
wait
call fcn.00016dac
fcomp qword [esp]
fnstsw ax
sahf
je 0x192f3
call fcn.000139a8
mov eax, dword [edi]
call fcn.00013d48
mov esi, eax
test esi, esi
jle 0x19331
mov ebx, 1
mov eax, edi
call fcn.00013f18
lea eax, [eax + ebx - 1]
push eax
mov eax, ebx
dec eax
mov ecx, 0x17
cdq
idiv ecx
mov al, byte [edx + 0x1f2b0]
mov edx, dword [edi]
mov dl, byte [edx + ebx - 1]
xor al, dl
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x19305
push 0
push 3
call fcn.00016dac
call fcn.00012fb8
call fcn.000154a6
cmp edx, 0
jne 0x1936f
cmp eax, 0
jne 0x1936f
call fcn.00015a18
cmp eax, 0x4e9fa
jne 0x1938a
mov eax, fcn.00018c68
add eax, 0xf
mov dword [0x205c0], eax
jmp dword [0x205c0]
push 0
push 3
call fcn.00016dac
call fcn.00012fb8
call fcn.000154a6
cmp edx, 0
jne 0x1938a
cmp eax, 1
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x78a667dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x78a7c1d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
push 2
push ebx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x408], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, ebx
jne 0x78a66831
call fcn.78a6440a
mov esi, eax
jmp 0x78a668cf
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x78a66847
call fcn.78a6440a
jmp 0x78a668c1
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x78a66840
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x78a66877
mov esi, 0x8007000e
jmp 0x78a668c3
push eax
lea ecx, [ebp - 0x408]
call fcn.78a65a17
cmp dword [ebp - 0x408], ebx
je 0x78a66870
push esi
push dword [ebp - 0x408]
push esi
push edi
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x78a66840
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x414]
call fcn.78a6661c
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x78a668e8
lea ecx, [ebp - 0x408]
call fcn.78a654c1
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.78a6f4f1
leave
ret 0x10
Function at 0x78a669ad
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x78a7c1d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push ebx
push 1
push 3
push ebx
push ebx
push 0x80000000
push eax
mov dword [ebp - 0x818], ecx
mov dword [ebp - 0x81c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
jne 0x78a669fc
call fcn.78a6440a
jmp 0x78a66b0f
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea esi, [edi + 1]
push esi
lea ecx, [ebp - 0x80c]
mov dword [ebp - 0x80c], ebx
call fcn.78a65a4d
cmp dword [ebp - 0x80c], ebx
jne 0x78a66a2f
mov edi, 0x8007000e
jmp 0x78a66ae6
push ebx
lea eax, [ebp - 0x814]
push eax
push edi
push dword [ebp - 0x80c]
push dword [ebp - 0x810]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x78a66a5d
call fcn.78a6440a
mov edi, eax
cmp edi, ebx
jl 0x78a66ae6
mov ecx, dword [ebp - 0x814]
mov eax, dword [ebp - 0x80c]
mov byte [eax + ecx], bl
push esi
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x408], ebx
call fcn.78a65a17
cmp dword [ebp - 0x408], ebx
jne 0x78a66a95
lea eax, [ebp - 0x404]
mov edi, 0x8007000e
test eax, eax
jmp 0x78a66ad9
push esi
push dword [ebp - 0x408]
push esi
push dword [ebp - 0x80c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x78a66ab7
call fcn.78a6440a
jmp 0x78a66acb
push dword [ebp + 0xc]
lea ecx, [ebp - 0x81c]
push dword [ebp - 0x408]
call fcn.78a6661c
mov edi, eax
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x78a66ae6
lea ecx, [ebp - 0x408]
call fcn.78a654c1
push dword [ebp - 0x810]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x808]
cmp dword [ebp - 0x80c], eax
je 0x78a66b0b
lea ecx, [ebp - 0x80c]
call fcn.78a654c1
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78a6f4f1
leave
ret 8

Function at 0x78a6e2c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
push ebx
push esi
push edi
call fcn.78a6e04c
ret
sub byte [edx + 0x75], cl
jmp 0x78a6e251

Function at 0x78a6e74f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x78a6e745
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x78a6e763
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add dword [eax], eax
add byte [ebx + 0x108c794], cl
add byte [eax], al
add dword [eax], eax
add byte [ebx + 0x108c794], cl
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
invalid
invalid
Function at 0x78a6f321
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
add byte [edx + 3], ch
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x334]
push eax
call dword [ebp - 0x3c8]
mov dword [ebp - 0x66c], eax
cmp dword [ebp - 0x66c], 0xffffffff
je 0x78a70201
push 0
push dword [ebp - 0x66c]
call dword [ebp - 0x33c]
mov dword [ebp - 0x378], eax
push dword [ebp - 0x378]
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 4], eax
call fcn.78a6e06e
jg 0x78a6f393
adc dword [edx], eax
and byte [ebp - 0x6dc], 0
stc
invalid
inc dword [eax]
and byte [ebp - 0x6db], 0
mov byte [ebp - 0x6da], 0x2c
and byte [ebp - 0x6d9], 0
mov byte [ebp - 0x6d8], 0x81
mov byte [ebp - 0x6d7], 0xb6
mov byte [ebp - 0x6d6], 0xb2
mov byte [ebp - 0x6d5], 0xb7
mov byte [ebp - 0x6d4], 0x95
mov byte [ebp - 0x6d3], 0xba
mov byte [ebp - 0x6d2], 0xbf
mov byte [ebp - 0x6d1], 0xb6
mov byte [ebp - 0x6d0], 0xd3
call fcn.78a6e06e
jle 0x78a6f385
and al, 0xf9
stc
invalid
sub eax, edx
lea eax, [ebp - 0x6dc]
push eax
call fcn.78a6e07e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.78a6e033
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
invalid
mov ch, 0x94
stc
Function at 0x78a73a20
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x78a7c1d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.78a7285d
and dword [ebp - 0x14], 0
cmp dword [0x78a7dd04], 0
mov dword [ebp - 0x18], eax
jne 0x78a73ad3
push 0x78a62ccc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78a73b7b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x78a62cc0
push ebx
call edi
test eax, eax
je 0x78a73b7b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x78a62cb0
push ebx
mov dword [0x78a7dd04], eax
call edi
push eax
call esi
push 0x78a62c9c
push ebx
mov dword [0x78a7dd08], eax
call edi
push eax
call esi
push 0x78a62c80
push ebx
mov dword [0x78a7dd0c], eax
call edi
push eax
call esi
mov dword [0x78a7dd14], eax
test eax, eax
je 0x78a73ad3
push 0x78a62c68
push ebx
call edi
push eax
call esi
mov dword [0x78a7dd10], eax
mov eax, dword [0x78a7dd10]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x78a73b2c
cmp dword [0x78a7dd14], ecx
je 0x78a73b2c
push eax
call esi
push dword [0x78a7dd14]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x78a73b2c
test ebx, ebx
je 0x78a73b2c
call edi
test eax, eax
je 0x78a73b23
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x78a73b23
test byte [ebp - 8], 1
jne 0x78a73b2c
or dword [ebp + 0x10], 0x200000
jmp 0x78a73b5f
mov eax, dword [0x78a7dd08]
cmp eax, dword [ebp - 0x18]
je 0x78a73b5f
push eax
call esi
test eax, eax
je 0x78a73b5f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x78a73b5f
mov eax, dword [0x78a7dd0c]
cmp eax, dword [ebp - 0x18]
je 0x78a73b5f
push eax
call esi
test eax, eax
je 0x78a73b5f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x78a7dd04]
call esi
test eax, eax
je 0x78a73b7b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x78a73b7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78a6f4f1
leave
ret
Function at 0x78a78f5d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x78a7df4c], 0
push esi
push edi
jne 0x78a78ece
call fcn.78a78e30
test eax, eax
je 0x78a78f13
mov eax, dword [0x78a7df4c]
cmp eax, 1
jne 0x78a78eef
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x78a78f13
jmp 0x78a78f55
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x78a78f55
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x78a78f17
xor eax, eax
jmp 0x78a78f55
mov eax, dword [esi]
push dword [0x78a7df4c]
call edi
mov edi, eax
test edi, edi
je 0x78a78f39
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x78a78f55
lea edi, [esi + 0xff0]
push esi
push dword [0x78a7df4c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x78a78f3f
mov eax, esi
pop edi
pop esi
ret
jmp 0x78a78eba