joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
js 0x10009c17
cmp eax, dword [ecx + 0x218]
jge 0x10009c17
imul eax, eax, 0x214
cmp dword [eax + ecx + 4], 0
lea esi, [eax + ecx + 4]
je 0x10009c17
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x812]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp ecx, dword [esi + 0x104]
jne 0x10009aa6
movzx edx, word [ebp - 0x816]
cmp edx, dword [esi + 0x108]
jne 0x10009aa6
movzx eax, word [ebp - 0x818]
cmp eax, dword [esi + 0x10c]
je 0x10009b63
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [ebp - 0x812]
movzx ecx, word [ebp - 0x816]
movzx edx, word [ebp - 0x818]
push eax
push ecx
push edx
mov dword [esi + 0x10c], edx
lea edx, [esi + 4]
push edx
lea edi, [esi + 0x110]
push str.._s_04d__02d__02d.log
push edi
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], ecx
call ebx
add esp, 0x18
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x210], eax
cmp eax, 0xffffffff
jne 0x10009b2d
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10009b63
mov eax, dword [esi + 0x210]
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push 0x3ff
lea ecx, [ebp - 0x807]
push 0
push ecx
mov byte [ebp - 0x808], 0
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
push 0x3ff
lea edx, [ebp - 0x407]
push 0
push edx
mov byte [ebp - 0x408], 0
call sub.MSVCR100.dll_memset
movzx ecx, word [ebp - 0x80c]
movzx edx, word [ebp - 0x80e]
lea eax, [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x810]
push ecx
push edx
push eax
lea ecx, [ebp - 0x408]
push str._02d:_02d:_02d__s_r_n
push ecx
call ebx
lea eax, [ebp - 0x408]
add esp, 0x40
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10009bf0
mov ecx, dword [esi + 0x210]
sub eax, edx
push 0
lea edx, [ebp - 0x81c]
push edx
push eax
lea eax, [ebp - 0x408]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015384
mov esp, ebp
pop ebp
ret

Function at 0x10009c60
Capabilities:
Create thread

Disassembly:
cmp dword [0x101353bc], 0
je 0x10009ca6
mov eax, dword [0x1013521c]
push 0x101356d4
mov dword [0x10124408], eax
xor eax, eax
push eax
push 0x10124404
push 0x10009d90
push eax
push eax
mov dword [0x10124410], eax
mov dword [0x10124414], eax
mov dword [0x10124418], eax
mov dword [0x1012441c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1012440c], eax
ret
Function at 0x10009cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x101353e4], 0
je 0x10009ccd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x101353e4]
cmp eax, dword [ecx]
jne case.0x10009d03.0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi*4 + 0x10124410]
cmp eax, 0x1388
jb 0x10009cf8
call edi
mov dword [esi*4 + 0x10124410], eax
mov dword [esi*4 + 0x10124418], 0
mov eax, dword [0x101353c0]
pop edi
cmp eax, 5
ja case.default.0x10009d03
jmp dword [eax*4 + 0x10009d70]
inc dword [esi*4 + 0x10124418]
cmp dword [esi*4 + 0x10124418], 0x19
jmp 0x10009d5d
inc dword [esi*4 + 0x10124418]
cmp dword [esi*4 + 0x10124418], 0x14
jmp 0x10009d5d
inc dword [esi*4 + 0x10124418]
cmp dword [esi*4 + 0x10124418], 0xf
jmp 0x10009d5d
inc dword [esi*4 + 0x10124418]
cmp dword [esi*4 + 0x10124418], 0xa
jmp 0x10009d5d
inc dword [esi*4 + 0x10124418]
cmp dword [esi*4 + 0x10124418], 5
jbe case.0x10009d03.0
push 0
push 0
push 9
call fcn.10006fe0
add esp, 0xc
ret

Function at 0x10009f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWebzenMuConfig
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10009fa3
lea ecx, [ebp - 8]
push ecx
push 0x10124424
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 4]
push str.LangSelection
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10009f99
push 0x100191ec
push 0x10
push 0x10124424
call dword [sym.imp.MSVCR100.dll_strcpy_s]
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x1000b160
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000b284
push 0x104
lea eax, [ebp - 0x418]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000b27d
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
call fcn.10011d70
add esp, 4
test al, al
je 0x1000b27d
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x458]
call fcn.100094f0
test al, al
jne 0x1000b204
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 1
call fcn.10006fe0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x458]
call fcn.100097c0
test al, al
jne 0x1000b244
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea edx, [ebp - 0x458]
push edx
push 2
call fcn.10006fe0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x210]
call fcn.10007c00
test al, al
jne 0x1000b27d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x458]
push eax
push 5
call fcn.10006fe0
add esp, 0xc
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret
Function at 0x1000b830
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1594
call fcn.10015d80
mov eax, dword [0x1001e018]
xor eax, esp
mov dword [esp + 0x1590], eax
push ebx
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x150]
xor edi, edi
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000b88a
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1590]
xor ecx, esp
call fcn.10015384
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
shr esi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
cmp esi, edi
jle 0x1000b979
lea eax, [esp + edi*4 + 0x148]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x1000b96c
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x1000b965
push 0x104
lea edx, [esp + 0x118c]
push edx
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x1000b965
lea esi, [esp + 0x1188]
call fcn.10012010
push eax
lea eax, [esp + 0x114c]
push 0x10018f20
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x139c]
push ecx
mov ecx, esi
call fcn.10011d70
add esp, 0x10
test al, al
je 0x1000b961
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov ecx, 8
lea esi, [esp + 0x1148]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1390]
push ecx
lea edx, [esp + 0x48]
push 0x10019b8c
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.1000be30
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [esp + 0x10], edi
cmp edi, esi
jl 0x1000b8a1
mov ecx, dword [esp + 0x159c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.10015384
mov esp, ebp
pop ebp
ret
Function at 0x1000c420
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.10015d80
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
mov dword [ebp - 0x1014], 0
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x1000c474
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1014]
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x100c], ecx
mov dword [ebp - 0x1010], eax
test eax, eax
jle 0x1000c550
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp + ecx*4 - 0x1008]
test edi, edi
je 0x1000c53b
push 0x1013566c
mov dword [ebp - 0x101c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [ebp - 0x101c]
lea eax, [ebp - 0x1018]
mov ecx, 0x10135684
call fcn.1000cd80
mov eax, dword [ebp - 0x1018]
push 0x1013566c
cmp eax, dword [0x10135688]
je 0x1000c4f8
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], eax
call esi
jmp 0x1000c535
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call fcn.1000c860
mov edi, dword [ebp - 0x100c]
mov ecx, dword [ebp + edi*4 - 0x1008]
call fcn.1000c570
test al, al
je 0x1000c461
mov edi, dword [ebp + edi*4 - 0x1008]
call fcn.1000b160
test al, al
je 0x1000c461
mov eax, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x100c]
inc ecx
mov dword [ebp - 0x100c], ecx
cmp ecx, eax
jl 0x1000c499
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.10015384
mov esp, ebp
pop ebp
ret

Function at 0x1000c640
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.10015d80
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10c]
push eax
push 0x1000
lea ecx, [ebp - 0x110c]
push ecx
xor esi, esi
push ebx
mov dword [ebp - 0x10c], esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
jne 0x1000c691
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
test edi, edi
jle 0x1000c6f6
nop
mov eax, dword [ebp + esi*4 - 0x110c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x1000c6f1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x108]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000c6e8
test dl, dl
je 0x1000c6e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000c6e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000c6c8
xor eax, eax
jmp 0x1000c6ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000c70a
inc esi
cmp esi, edi
jl 0x1000c6a0
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c720
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1000c75c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000c763
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x10019c7c
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000c74e
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x1000c74e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x1000c756
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x1000ddf0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10001e10
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4ef4]
mov eax, str..DataXenosProtectionXenosLicense.Security
call fcn.10002050
test al, al
je 0x1000de63
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str..DataXenosProtectionXenosLicense.Security
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000de63
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e48
je 0x1000de75
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015384
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e48
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000de5c
mov eax, esi
mov ecx, 0x4e48
mov dl, byte [eax]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax], dl
inc eax
dec ecx
jne 0x1000dea3
call fcn.10009f30
lea eax, [ebx + 0xf4]
call fcn.10009fb0
lea eax, [ebx + 0x1abc]
call fcn.1000a010
lea eax, [ebx + 0x3484]
call fcn.1000a070
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret
Function at 0x1000e130
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x4e4c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000e153
sub eax, edx
cmp eax, 3
jb 0x1000e22b
cmp dword [edi + 0x4e6c], 0
je 0x1000e1f8
lea esi, [ebp - 0x408]
call fcn.10001e10
mov eax, esi
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10002050
test al, al
jne 0x1000e1b4
mov esi, 0x10134528
call fcn.100119c0
mov esi, 0x10134650
call fcn.100119c0
mov esi, 0x10134778
call fcn.100119c0
call fcn.10011c90
mov ecx, dword [edi + 0x4e6c]
cmp ecx, dword [ebp - 0x40c]
je 0x1000e1f8
mov esi, 0x10134528
call fcn.100119c0
mov esi, 0x10134650
call fcn.100119c0
mov esi, 0x10134778
call fcn.100119c0
push 0x10
add edi, 0x46
push edi
push str.Launcher_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.10011c90
push str.32770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000e224
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.10011c90
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10015384
mov esp, ebp
pop ebp
ret
Function at 0x1000e240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.10008e70
call fcn.10008fe0
test eax, eax
je 0x1000e396
mov ecx, 0x1f
call fcn.1000a170
push eax
push 1
push 2
push 0x1001e078
mov dword [ebp - 4], eax
call fcn.10012280
add esp, 4
push eax
xor esi, esi
push esi
mov ecx, 0x101241e8
call fcn.10009a20
mov eax, dword [0x1013452c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
cmp eax, esi
je 0x1000e2ba
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x1013521c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1013452c], esi
call ebx
mov eax, dword [0x10134654]
cmp eax, esi
je 0x1000e2df
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x1013521c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x10134654], esi
call ebx
mov eax, dword [0x1013477c]
cmp eax, esi
je 0x1000e305
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x1013521c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1013477c], esi
call ebx
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x10134778
call fcn.100117f0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10012060
push 0
push 0
mov dword [0x10134780], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x10134780]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x10134780]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1013477c]
test eax, eax
je 0x1000e391
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1013521c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1013477c], 0
call ebx
call fcn.10011c90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e6b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100160c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1001e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10134520]
cmp eax, 0x927c0
jb 0x1000e6f3
call esi
mov dword [0x10134520], eax
xor esi, esi
cmp dword [0x1013450c], esi
je 0x1000e765
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x10134510]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000e490
mov edi, dword [ebp - 0x20]
test al, al
je 0x1000e74d
cmp edi, dword [ebp - 0x1c]
je 0x1000e74d
lea ecx, [ebp - 0x20]
push ecx
call fcn.1000e780
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000e765
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ecb0
Capabilities:
Check for time delay via gettickcount
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001650f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
mov eax, dword [0x1001e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10134520]
cmp eax, 0x927c0
jb 0x1000ecf6
call esi
mov dword [0x10134520], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x14
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 4], ebx
call fcn.1000e490
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x1000ed3e
cmp esi, dword [ebp - 0x18]
jne 0x1000ee2c
lea eax, [ebp - 0x1c]
push eax
call fcn.1000eed0
cmp dword [0x10134480], ebx
je 0x1000ee2c
push 0x32
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000e490
lea edx, [ebp - 0xf0]
push edx
call fcn.1000f0a0
push 0x22
mov ecx, str.image.jpeg
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.100042a0
push ebx
test eax, eax
jne 0x1000ed9f
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
push 2
lea ecx, [ebp + ecx - 0xf0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x1000edb6
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx + 4]
push ebx
lea ecx, [ebp + ecx - 0xf0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ebx
sub edx, esi
push edx
push esi
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea eax, [ebp - 0xf0]
push eax
call fcn.1000f160
push 2
push str.image.jpeg
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10005730
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x34], ecx
mov dword [ebp + eax - 0xf0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.10003840
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp esi, ebx
je 0x1000ee44
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f280
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x10135228
call esi
mov ecx, dword [ebp + 8]
push 0x100
add ecx, 5
push ecx
push 0x10135228
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x100
push 0x10135228
call esi
push 0
push 0
push 0
push 0x1000f260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f2f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x1001e018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x94
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xe0]
push ecx
mov dword [ebp - 0xe0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov esi, ecx
mov edx, eax
shrd edx, esi, 0x14
shr esi, 0x14
sub eax, dword [ebp - 0x38]
push edx
sbb ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xdc]
shrd eax, ecx, 0x14
push eax
mov eax, dword [ebp - 0xd4]
push eax
shr ecx, 0x14
mov ecx, dword [ebp - 0xd8]
push ecx
push edx
push str.PREMIUM
push 0x10021078
call fcn.10012280
add esp, 4
push eax
push 0
mov ecx, 0x101241e8
call fcn.10009a20
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop esi
call fcn.10015384
mov esp, ebp
pop ebp
ret