joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047ce4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4

Function at 0x100481ba
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10271304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.100322a0
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x100481f7
xor eax, eax
jmp 0x10048271
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10048261
push ebx
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100480e7
cmp word [ebp - 0x20c], 0
mov ebx, dword [ebp - 0x238]
jne 0x10048232
xor eax, eax
jmp 0x1004823f
lea eax, [ebp - 0x20c]
push eax
call fcn.100b7bc7
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x14]
call fcn.100229b0
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10048209
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp eax, dword [edi + 4]
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004338a
mov esp, ebp
pop ebp
ret
Function at 0x10048452
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x101e38ae
call fcn.10043cd5
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x100485a8
push eax
lea ecx, [ebp - 0x40]
call fcn.10022720
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.100448ac
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.100aeaa0
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x10048598
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10048589
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x100484f4
lea eax, [ebp - 0x260]
push eax
call fcn.100b7bc7
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.100229b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.100448ac
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10028130
test eax, eax
je 0x10048548
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10044601
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.10028130
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x1004854f
mov byte [ebp - 0x285], 1
test bl, 1
je 0x10048563
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.10022850
cmp byte [ebp - 0x285], 0
jne 0x100485ae
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10022850
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100484cd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10022850
mov eax, esi
call fcn.10043c90
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.10022850
jmp 0x1004859a
Function at 0x1004911d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x101e3915
call fcn.10043cd5
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x848], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.10022720
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x100491ae
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.10027be0
push 0
jmp 0x100492eb
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x100491db
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10049199
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x1004920e
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x10049199
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x10049260
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.10027be0
jmp 0x100492ea
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.100aeaa0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.100b7bc7
pop ecx
mov ecx, edi
test eax, eax
je 0x1004924f
lea eax, [ebp - 0x810]
push eax
call fcn.10022720
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.10022850
mov eax, edi
call fcn.10043c90
ret
Function at 0x10049300
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x101e3948
call fcn.10043cd5
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.10022720
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x1004938b
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.10027be0
push 0
jmp 0x1004947a
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x100493b4
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10049376
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x100493fb
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.10027be0
jmp 0x10049479
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.100aeaa0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.100b7bc7
pop ecx
mov ecx, edi
test eax, eax
je 0x100493ed
lea eax, [ebp - 0x810]
push eax
call fcn.10022720
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.10022850
mov eax, edi
call fcn.10043c90
ret
Function at 0x1004948f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x101e397b
call fcn.10043cd5
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.10022720
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10049513
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.10027be0
push 0
jmp 0x10049611
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x10049547
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100494fe
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x10049582
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x100494fe
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.100aeaa0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.100b7bc7
pop ecx
mov ecx, edi
test eax, eax
jne 0x10049604
lea eax, [ebp - 0x828]
push eax
call fcn.10027be0
jmp 0x10049610
lea eax, [ebp - 0x810]
push eax
call fcn.10022720
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.10022850
mov eax, edi
call fcn.10043c90
ret
Function at 0x10049626
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100496e3
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x10049684
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100496e2
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x100496aa
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x100496e0
push dword [ebp + 0x14]
call fcn.100b7bc7
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10049d0c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 8]
jmp 0x10049d30
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push ebx
call fcn.10049c30
test eax, eax
jne 0x10049e56
test esi, esi
jne 0x10049d19
push 0x10255f50
push dword [ebx]
call fcn.100b7b65
pop ecx
pop ecx
test eax, eax
je 0x10049e54
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x10049d5d
call fcn.1004f683
mov esi, eax
jmp 0x10049d5f
xor esi, esi
push edi
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], 0x5002
call fcn.100b7336
push dword [ebx]
mov ebx, eax
mov dword [ebp + 8], eax
push str.GetSkin__s__Failed_
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.10026770
add esp, 0x18
mov dword [ebp + 8], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp eax, 0x2800
jge 0x10049dca
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
mov byte [eax + edi], 0
push ebx
call fcn.100b7331
pop ecx
test esi, esi
je 0x10049e09
mov eax, dword [esi]
mov ecx, esi
push 3
push 0
call dword [eax + 0x2c]
test al, al
je 0x10049e09
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SSkinPoolMgr::GetSkin
push 0x9d
push str.src_res.mgrSSkinPool.cpp
push edi
push str.soui
push 3
push 0
call dword [eax + 0x34]
jmp 0x10049e4c
push 0x2801
call fcn.100b7336
push 0x9d
push str.src_res.mgrSSkinPool.cpp
push str.SOUI::SSkinPoolMgr::GetSkin
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.100267d0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10060364
Capabilities:
Print debug messages

Disassembly:
push 0xd4
mov eax, 0x101e5522
call fcn.10043cd5
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi]
cmp dword [eax - 8], ebx
jne 0x1006038e
xor eax, eax
jmp 0x100604ea
lea ecx, [ebp - 0xd8]
call fcn.100a80aa
mov ecx, dword [0x10282acc]
lea eax, [ebp - 0xd8]
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.100518dc
test eax, eax
je 0x100603de
push ebx
push str.SOUI
lea eax, [ebp - 0xe0]
lea esi, [edi + 8]
mov edi, dword [esi]
lea ecx, [ebp - 0xd8]
push eax
call fcn.100a88b0
mov ecx, esi
push dword [eax]
call dword [edi + 0x28]
mov ebx, eax
jmp 0x100604dd
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x100603f1
call fcn.1004f683
mov esi, eax
jmp 0x100603f3
mov esi, ebx
push 0x2801
call fcn.100b7336
mov ecx, dword [ebp - 0xdc]
mov edi, eax
push ebx
add ecx, 0x380
lea eax, [ebp - 0xdc]
push ecx
push eax
call fcn.100a73db
push dword [eax]
push str.Load_layout___s__Failed
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.100267d0
add esp, 0x24
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xdc]
add ecx, 0xfffffff4
mov byte [ebp - 4], 1
cmp ecx, dword [0x102717b8]
je 0x10060456
call fcn.1001f8b0
mov eax, dword [ebp - 0xe0]
mov byte [ebp - 4], bl
mov byte [eax + edi], bl
test esi, esi
je 0x10060492
mov eax, dword [esi]
mov ecx, esi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x10060492
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SHostWnd::OnLoadLayoutFromResourceID
push 0x213
push str.srccore_shostwnd.cpp
push edi
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x100604d6
push 0x2801
call fcn.100b7336
mov dword [esp], 0x213
mov esi, eax
push str.srccore_shostwnd.cpp
push str.SOUI::SHostWnd::OnLoadLayoutFromResourceID
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.100267d0
add esp, 0x20
mov byte [eax + esi], bl
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.100a812f
mov eax, ebx
call fcn.10043c90
ret 4
Function at 0x100612ee
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10282acc]
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
test ecx, ecx
je 0x1006130c
call fcn.1004f683
mov esi, eax
jmp 0x1006130e
mov esi, ebx
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], str.unhandled_xml_node:
lea eax, [ebp - 0xc]
push 0x101ebc90
push eax
lea ecx, [edi + 0x2800]
mov byte [ecx], bl
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
call fcn.100625cc
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.100a9641
push eax
lea ecx, [ebp - 0xc]
call fcn.1006262f
test esi, esi
je 0x1006138a
mov eax, dword [esi]
mov ecx, esi
push 1
push ebx
call dword [eax + 0x2c]
test al, al
je 0x1006138a
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SHostWnd::OnUserXmlNode
push 0x67d
push str.srccore_shostwnd.cpp
push edi
push str.soui
push 1
push ebx
call dword [eax + 0x34]
jmp 0x10061403
mov esi, 0x101ebc84
lea eax, [ebp - 0xc]
push esi
mov ebx, 0x101ebc90
push ebx
push eax
call fcn.100625cc
push str.SOUI::SHostWnd::OnUserXmlNode
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.100625cc
push esi
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.100625cc
push str.srccore_shostwnd.cpp
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.100625cc
push 0x101ec1f4
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.100625cc
push 0x67d
lea eax, [ebp - 0xc]
push 0x101ec02c
push eax
call fcn.100625cc
add esp, 0x48
push 0x101ebf3c
push ebx
push eax
call fcn.100625cc
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call fcn.100b7331
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10062e1a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10282acc]
push esi
push edi
test ecx, ecx
je 0x10062e32
call fcn.1004f683
mov esi, eax
jmp 0x10062e34
xor esi, esi
push ebx
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], 0x5002
call fcn.100b7336
mov ecx, dword [ebp + 8]
mov ebx, eax
push dword [ecx + 4]
push dword [ecx]
push str.Warning:_no_object__s_of_type:_d_in_SOUI__
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.10026770
add esp, 0x1c
mov dword [ebp + 8], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 8]
cmp eax, 0x2800
jge 0x10062ea2
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
mov byte [eax + edi], 0
push ebx
call fcn.100b7331
pop ecx
pop ebx
test esi, esi
je 0x10062edf
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x10062edf
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::OnCreateUnknownObject
push 0x77
push str.srccoreSObjectFactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x10062f1f
push 0x2801
call fcn.100b7336
push 0x77
push str.srccoreSObjectFactory.cpp
push str.SOUI::SObjectFactoryMgr::OnCreateUnknownObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.100267d0
add esp, 0x24
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
pop ecx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x10063750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x101ea2c0
push dword [ebp + 8]
call fcn.100b8054
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100637ad
push ebx
push edi
push esi
call fcn.100c4327
push eax
call fcn.100c445d
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x1006378c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x100637a2
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100b8344
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.100b80f8
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x10063807
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.1006430e
mov ebx, eax
test ebx, ebx
je 0x10063876
push edi
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1006385a
cmp dword [ebp + 0x14], edi
jae 0x1006383f
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1006385a
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1006385a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1006385e
xor eax, eax
jmp 0x10063875
push edi
push eax
push dword [ebp + 0x10]
call fcn.100ae520
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x10065675
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x100656d6
sub eax, 1
je 0x100656b8
sub eax, 3
je 0x100656b8
test dword [edi + 0x454], 0x2000
je 0x100656f1
push esi
call fcn.100c454b
pop ecx
test eax, eax
jne 0x100656f1
cmp esi, 0x2d
je 0x100656f1
cmp esi, 0x2e
je 0x100656f1
cmp esi, 0x2c
je 0x100656f1
jmp 0x1006570c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x100656f1
test dword [edi + 0x454], 0x1000
jmp 0x100656ef
test byte [edi + 0x458], 0x80
jne 0x100656f1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1006570c
mov eax, dword [edi + 0x464]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x100659c2
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x101e5a6b
call fcn.10043ca1
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.10056e44
mov dword [ebp - 0x38], 0x101f1a58
mov dword [ebp - 0x30], 0x101f1a6c
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0xa4]
cmp byte [ebp - 0x10], bl
jne 0x10065a31
cmp edi, 0xd
jne 0x10065a36
test dword [esi + 0x454], 0x1000
jne 0x10065a36
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10065a36
mov dword [esi + 0x10], ebx
jmp 0x10065a50
mov eax, dword [esi + 0x464]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.10043c7b
ret 0xc