joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c005
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47c11d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c11d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004aa02e
mov esi, eax
test esi, esi
je 0x47c11d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47c11d
mov ecx, esi
call fcn.0047bf70
cmp edi, eax
jge 0x47c11d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x47c0a3
mov dword [esp + 0x34], 1
jmp 0x47c0fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47c11d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0047b4d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x482630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x512c3c]
xor edx, edx
cmp eax, edx
jne 0x482656
xor eax, eax
mov byte [eax + 0x512b3c], al
inc eax
cmp eax, 0x100
jl 0x48263e
mov dword [0x512c3c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x512b3c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4826e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4826ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x482688
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4826f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x482743
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48272a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4890f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b731e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00489a10
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4d81b4
call fcn.004a836e
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x489183
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a836e
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x48917c
push 0
mov ecx, eax
call fcn.00480260
mov dword [esi + 0xc], eax
jmp 0x489185
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x489185
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4aa9d1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aaa09
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a8a88
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a8a60
jmp 0x4aaa15
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ac0bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ac101
call fcn.004b1bfa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ac101
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ac0f8
xor eax, eax
jmp 0x4ac109
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ac10f
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b212a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b2158
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b2176
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b2090
jmp 0x4b2176
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b2176
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b2090
test edi, edi
mov eax, edi
jne 0x4b2160
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x14459c4]
inc eax
push esi
mov esi, dword [0x14459b8]
mov dword [0x14459c4], eax
cmp eax, 1
jle 0x407b58
test esi, esi
je 0x407b2c
mov eax, dword [esi + 0x124]
test eax, eax
je 0x407b18
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CDialog::EndDialog]
mov dword [0x14459b8], 0
mov eax, dword [0x1445a50]
test eax, eax
jne 0x407bf4
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
test eax, eax
je 0x407bed
mov esi, eax
call fcn.00426050
jmp 0x407bef
test esi, esi
jne 0x407b9e
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR100.dll__strdup]
push eax
call esi
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [0x14459bc], eax
call esi
mov edx, dword [ebp + 8]
add esp, 8
push 0
push 0
push 0
push 0x407950
push 0
push 0
mov dword [0x14459c0], eax
mov dword [0x4a315c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi + 0x124]
test eax, eax
je 0x407bb8
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CDialog::EndDialog]
mov eax, dword [0x1445a50]
mov dword [0x14459b8], 0
test eax, eax
jne 0x407bf4
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
test eax, eax
je 0x407bed
mov esi, eax
call fcn.00426050
jmp 0x407bef
xor eax, eax
mov dword [0x1445a50], eax
mov eax, dword [eax]
imul eax, eax, 0x1bc
mov ecx, dword [eax + 0x4a17c4]
mov eax, dword [eax + 0x4a192c]
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0040e0f0
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
Function at 0x407e60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4a12d8]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0xc], eax
push edi
lea ebx, [esp + 0x10]
lea eax, [esp + 0xc]
call fcn.00408310
mov ebx, dword [esp + 0xc]
cmp ebx, dword [0x1445a68]
je 0x407feb
mov ecx, dword [ebx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call esi
test eax, eax
je 0x407fff
mov edx, dword [ebx + 0x20]
push edx
call esi
test eax, eax
je 0x407fff
mov eax, dword [ebx + 0x88]
cmp eax, dword [ebx + 0x40]
jne 0x407f3b
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
movzx eax, byte [ebx + 0x44]
mov ecx, dword [ebx + 0x30]
sub ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
sub edx, dword [ebx + 0x24]
lea esi, [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x28]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [ebx + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebx + 0x20]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebx + 0x45], 0
je 0x407f1c
mov ecx, dword [ebx + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
lea edx, [esp + 0x10]
push edx
call fcn.00408020
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0043e52a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x20]
push eax
lea esi, [esp + 0x28]
call fcn.00407c90
fld qword [ebx + 0x68]
fadd qword [ebx + 0x48]
add esp, 4
fst qword [ebx + 0x48]
fld qword [ebx + 0x70]
fadd qword [ebx + 0x58]
fst qword [ebx + 0x58]
fld qword [ebx + 0x78]
fadd qword [ebx + 0x50]
fst qword [ebx + 0x50]
fld qword [ebx + 0x80]
fadd qword [ebx + 0x60]
fst qword [ebx + 0x60]
fxch st(3)
call fcn.0043ec70
mov dword [esp + 0x14], eax
call fcn.0043ec70
mov dword [esp + 0x18], eax
call fcn.0043ec70
mov dword [esp + 0x1c], eax
call fcn.0043ec70
mov ecx, esi
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x407fe5
movzx eax, byte [ebx + 0x44]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebx + 0x20]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [ebx + 0x88]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0043e52a
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00408020
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0043e52a
mov esp, ebp
pop ebp
ret
Function at 0x408e10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push 0x109
mov esi, ecx
lea ecx, [ebp - 0x110]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408e60
sub eax, edx
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x408e90
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e52a
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408ea0
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043e52a
mov esp, ebp
pop ebp
ret 4
Function at 0x410040
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push 0x124
call dword [sym.imp.mfc100u.dll_new]
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x410095
mov ecx, dword [edi + 0xf8]
lea eax, [esi + 0x18]
mov dword [eax], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push ebx
push eax
lea eax, [esi + 0x14]
push eax
mov dword [esi + 0x120], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi], ecx
mov dword [esi + 4], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
jmp 0x410097
xor esi, esi
mov dword [edi + 0x108], esi
xor esi, esi
cmp dword [edi + 0xf4], ebx
jle 0x410108
mov eax, dword [edi + 0xf0]
add eax, esi
cdq
mov ebx, 0x3c
idiv ebx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx + 0x11c]
mov edx, dword [edi + edx*4]
mov dword [ecx + eax*4 + 0x28], edx
mov eax, dword [ecx + 0x11c]
inc eax
cdq
idiv ebx
mov eax, dword [ecx + 0x120]
mov dword [ecx + 0x11c], edx
cmp eax, ebx
jne 0x4100f6
mov eax, dword [ecx + 0x118]
inc eax
cdq
idiv ebx
mov dword [ecx + 0x118], edx
jmp 0x4100fd
inc eax
mov dword [ecx + 0x120], eax
inc esi
cmp esi, dword [edi + 0xf4]
jl 0x4100a7
xor ebx, ebx
mov eax, dword [edi + 0x108]
push ebx
push ebx
push eax
push 0x40f220
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop ebx
ret
Function at 0x410300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call fcn.0043e650
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x400
mov dword [ebp - 0x1808], ecx
lea ecx, [ebp - 0x1804]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
push 0x400
lea edx, [ebp - 0x804]
push edx
push 0xffffffffffffffff
push esi
push 0
push 0
call edi
mov eax, dword [0x1445a50]
test eax, eax
jne 0x41037d
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
test eax, eax
je 0x410376
mov esi, eax
call fcn.00426050
jmp 0x410378
xor eax, eax
mov dword [0x1445a50], eax
mov eax, dword [eax]
imul eax, eax, 0x1bc
lea ecx, [ebp - 0x804]
push ecx
mov ecx, dword [eax + 0x4a1954]
lea edx, [ebp - 0x1804]
push edx
push ecx
lea edx, [ebp - 0x1004]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 1
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
call fcn.0040e0f0
add esp, 0xc
cmp eax, 1
je 0x4103e6
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e52a
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
push 0
push 0
push 0x4102e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.EpicWrapperDll.dll_Ordinal_3]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x180c], eax
push 0x3e8
call esi
lea edx, [ebp - 0x1810]
push edx
call edi
cmp eax, 0xffffffff
jne 0x410469
mov eax, dword [ebp - 0x180c]
push 0
push eax
call ebx
test eax, eax
jne 0x410414
mov ecx, dword [0x4a3180]
push str.The_browser_was_closed
mov edx, str.Launcher_EPIC
lea esi, [eax + 3]
call fcn.00424fc0
add esp, 4
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e52a
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0xfffffd66
je 0x410414
test eax, eax
jne 0x410414
mov edx, dword [ebp - 0x1810]
mov eax, edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410480
mov ecx, dword [ebp - 0x1808]
sub eax, esi
mov esi, dword [ecx]
inc eax
push eax
push edx
mov edx, dword [esi + 4]
push 0
call edx
call dword [sym.imp.EpicWrapperDll.dll_Ordinal_4]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043e52a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4104c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4104f4
cmp dword [esi + 0xa0], 0
jne 0x4104e5
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.libssclient.dll_ss_app_session_exit]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x20]
push ecx
push edx
push edi
push eax
call dword [sym.imp.libssclient.dll_ss_app_session_launcher_info_send]
add esp, 0x10
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4109a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx + 8]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4109d4
cmp dword [esi + 0xa0], 0
jne 0x4109c5
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.libssclient.dll_ss_app_session_exit]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x20]
push ecx
push edx
push edi
push eax
call dword [sym.imp.libssclient.dll_ss_app_session_launcher_info_send]
add esp, 0x10
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x410ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44049d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4a12d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.mfc100u.dll_new]
xor edi, edi
push 0x210
mov dword [esi + 0x38], edi
call ebx
add esp, 4
cmp eax, edi
je 0x410bc4
mov dword [esi + 0x34], eax
mov dword [eax], eax
mov eax, dword [esi + 0x34]
mov dword [eax + 4], eax
mov dword [ebp - 4], edi
push 0x218
mov dword [esi + 0x44], edi
call ebx
add esp, 4
cmp eax, edi
je 0x410b9f
mov dword [esi + 0x40], eax
mov dword [eax], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 4], eax
push edi
mov eax, 1
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
push edi
push edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push edi
push edi
push esi
push 0x410a80
push edi
push edi
mov dword [0x4a3170], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x49bf20
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x49bf20
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x412e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44033c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x4a12d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, 8
push 0xc
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov word [esi + 0x3c], bx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], ebx
mov byte [esi + 0x234], 1
call dword [sym.imp.mfc100u.dll_new]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x412f01
push 0xc
mov dword [edi + 4], ebx
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
cmp eax, ebx
je 0x412edc
mov dword [edi], eax
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
jmp 0x412f03
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x49bf20
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
xor edi, edi
push ebx
push ebx
push esi
push 0x4160c0
push ebx
push ebx
mov dword [esi + 0x70], edi
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4139a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
cmp eax, dword [edi + ebx*4 + 0x204]
je 0x413a09
push str.In_set_activity_time
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0xa4], eax
movzx ecx, word [esi + 0xe]
movzx edx, word [esi + 0xc]
movzx eax, word [esi + 0xa]
push ecx
movzx ecx, word [esi + 8]
push edx
movzx edx, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push ecx
movzx ecx, word [esi + 4]
push edx
mov edx, dword [esi]
push eax
mov eax, dword [edi + ebx*4 + 0x214]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.libssclient.dll_ss_widget_joystick_onxinput]
mov edx, dword [esi]
add esp, 0x28
mov dword [edi + ebx*4 + 0x204], edx
pop ebp
ret 4

Function at 0x413e70
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x24]
push edi
lea eax, [esi + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.libssclient.dll_ss_client_session_app_start]
push esi
push 0x416200
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.libssclient.dll_ss_app_session_cb_exit_set]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.libssclient.dll_ss_app_session_window_manager_get]
add esp, 0x18
push esi
push 0x4162a0
push eax
call edi
add esp, 4
push eax
call dword [sym.imp.libssclient.dll_ss_window_manager_cb_new_window_set]
mov ecx, dword [esi + 0x20]
add esp, 0xc
push esi
push 0x416230
push ecx
call edi
add esp, 4
push eax
call dword [sym.imp.libssclient.dll_ss_window_manager_cb_launcher_set]
mov edx, dword [esi + 0x20]
add esp, 0xc
push esi
push 0x4162c0
push edx
call dword [sym.imp.libssclient.dll_ss_app_session_audio_manager_get]
add esp, 4
push eax
call dword [sym.imp.libssclient.dll_ss_audio_manager_cb_new_frame_set]
add esp, 0xc
lea eax, [esi + 0x8c]
push eax
push 0
push esi
push 0x412d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x88], eax
pop edi
ret