joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432960
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500ff2
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x800
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x810]
push eax
mov dword [ebp - 0x814], 1
call fcn.004ccab0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x432a82
cmp dword [edi + 0x14], 8
jb 0x4329fa
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432a40
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x432a82
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432a33
jmp 0x432a6f
cmp byte [ebp + 0x10], 0
je 0x432a5b
push 0
lea eax, [ebp - 0x810]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x432a82
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432a64
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004042a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a995c
mov esp, ebp
pop ebp
ret
Function at 0x432ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004aa060
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1058], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1058]
push edi
mov edi, dword [ebp + 0xc]
push eax
movlpd qword [ebp - 0x1054], xmm0
movlpd qword [ebp - 0x104c], xmm0
movlpd qword [ebp - 0x1044], xmm0
movlpd qword [ebp - 0x103c], xmm0
movlpd qword [ebp - 0x1034], xmm0
movlpd qword [ebp - 0x102c], xmm0
movlpd qword [ebp - 0x1024], xmm0
movlpd qword [ebp - 0x101c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, 5
mov dword [ebp - 0x102c], 1
push 0x1000
mov word [ebp - 0x1028], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1004]
push 0
push eax
movups xmmword [ebp - 0x1014], xmm0
call fcn.004ccab0
add esp, 0xc
cmp dword [edi + 0x10], 0
je 0x432b9d
cmp dword [edi + 0x14], 8
jb 0x432b7d
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x432b85
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x1004]
push str.__s___s
push eax
call fcn.00430550
add esp, 0x10
jmp 0x432bba
cmp dword [esi + 0x14], 8
jb 0x432ba5
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x1004]
push 0x50ce00
push eax
call fcn.00430550
add esp, 0xc
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x432c10
push dword [ebp - 0x1010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1014]
call esi
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a995c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.004a995c
mov esp, ebp
pop ebp
ret
Function at 0x433870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501192
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.004aa060
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x2024], esi
mov dword [ebp - 0x2018], 0
cmp dword [ecx + 0x14], 8
jb 0x4338c5
mov ecx, dword [ecx]
lea eax, [ebp - 0x2014]
push eax
movzx eax, byte [ebp + 0x18]
xor eax, 1
inc eax
shl eax, 8
or eax, 0x20019
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2018], 1
test eax, eax
jne 0x433975
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x201c], 0x2000
jb 0x43391d
mov edi, dword [edi]
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push edi
push dword [ebp - 0x2014]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433975
cmp dword [ebp - 0x2020], 1
jne 0x433975
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433957
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004042a0
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x433986
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a995c
mov esp, ebp
pop ebp
ret

Function at 0x4342b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4342c6
mov eax, dword [eax]
push 0x50cd28
push eax
lea eax, [ebp - 4]
push eax
call fcn.004dbd48
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
jne 0x4342ec
call fcn.004d41b2
mov eax, dword [eax]
neg eax
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push esi
push edi
cmp dword [eax + 0x14], 0x10
lea edi, [eax + 0x10]
jb 0x4342fc
mov eax, dword [eax]
push ecx
push dword [edi]
push 1
push eax
call fcn.004dcc09
push dword [ebp - 4]
mov esi, eax
call fcn.004dbe06
add esp, 0x14
xor eax, eax
cmp esi, dword [edi]
cmovne esi, eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x43433f
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4343a3
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x434371
mov ecx, dword [ecx]
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x14], 8
jb 0x43437c
mov edx, dword [edx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push edx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, byte [ebp + 0xf]
test eax, eax
mov ecx, 1
cmove ebx, ecx
jmp 0x4343a6
mov bl, byte [ebp + 0xf]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4343b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43f3e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501f68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x54c728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004a9676
mov edi, eax
add esp, 4
test edi, edi
je 0x43f47d
push 1
mov dword [ebp - 4], 0
call fcn.0044de01
add esp, 4
mov dword [edi + 4], eax
jmp 0x43f47f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0042aa40
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x43f4e1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x43f4e1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x43f504
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x43f527
cmp byte [ebp + 0xc], 0
je 0x43f513
push esi
call fcn.0044e0e0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x43f533
mov esi, str.ios_base::badbit_set
jmp 0x43f543
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00409350
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00405650
push 0x53b2f0
lea eax, [ebp - 0x30]
push eax
call fcn.004cbb17
int3
Function at 0x442070
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4420ec
cmp word [esi], 0
je 0x4420ec
test eax, eax
je 0x4420ad
cmp word [eax], 0
je 0x4420ad
push 0
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
jmp 0x4420ec
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004ccab0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x4420ec
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x34]
pop esi
test ecx, ecx
je 0x442105
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a995c
mov esp, ebp
pop ebp
ret 0x30

Function at 0x44225a
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x5022dd
call fcn.004aa5c2
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004ccab0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.AlmondTheaterSpaceLog
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.web_bridge
lea eax, [ebp - 0x218]
mov ecx, 0x5538bc
push eax
push esi
call fcn.00442823
lea eax, [ebp - 0x218]
push eax
push str.cur_log_dir:__s
call fcn.00442bfd
push 0x74
call fcn.004a9676
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4422eb
mov ecx, eax
call fcn.00443696
mov esi, eax
mov eax, esi
call fcn.004aa57d
ret

Function at 0x4423c3
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x500ea0
call fcn.004aa58e
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
push edi
call esi
lea eax, [ebp - 0x14]
push eax
call fcn.004430a8
pop ecx
mov dword [ebp - 4], edi
call fcn.00414410
push eax
lea ecx, [ebp - 0x10]
call fcn.00442212
cmp dword [ebp + 8], 3
mov byte [ebp - 4], 1
jne 0x442444
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sutilswebview2.exe
push eax
call fcn.0042f390
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442435
call fcn.00442468
test al, al
je 0x442435
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
jmp 0x44244b
push esi
push str.webview2_not_support:_s
call fcn.00442bfd
pop ecx
pop ecx
jmp 0x44244b
push 0xffffffffffffffff
call esi
mov esi, dword [ebp - 0x10]
lea ecx, [esi - 0x10]
call fcn.00442503
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00442503
mov eax, edi
call fcn.004aa568
ret 8
Function at 0x442844
Capabilities:
Check if file exists

Disassembly:
push 0x468
mov eax, 0x502365
call fcn.004aa5c2
mov ecx, dword [ebp + 8]
mov eax, 0x50984c
mov esi, dword [ebp + 0x10]
test ecx, ecx
mov dword [0x5538b8], 1
cmovne eax, ecx
lea ecx, [ebp - 0x470]
push eax
call fcn.00412240
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ccab0
xor eax, eax
mov dword [ebp - 0x42c], ebx
add esp, 0xc
mov dword [ebp - 0x428], 7
mov word [ebp - 0x43c], ax
mov eax, dword [ebp - 0x470]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], ebx
jne 0x4429cb
push dword [ebp + 0xc]
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00442caf
push 0x50ef08
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x20a
lea eax, [ebp - 0x424]
push ebx
push eax
call fcn.004ccab0
add esp, 0xc
lea eax, [ebp - 0x424]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x444], ebx
mov word [ebp - 0x454], ax
lea ecx, [ebp - 0x454]
lea eax, [ebp - 0x424]
mov dword [ebp - 0x440], 7
push eax
call fcn.00442e41
push ebx
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00445538
add esp, 0xc
lea ecx, [ebp - 0x43c]
push eax
call fcn.00442645
lea ecx, [ebp - 0x46c]
call fcn.00407fe0
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 1
call fcn.00407fe0
test esi, esi
je 0x44299b
cmp word [esi], bx
je 0x44299b
push 0x50ef10
lea ecx, [ebp - 0x43c]
call fcn.00442e1a
push esi
lea ecx, [ebp - 0x43c]
call fcn.00442e1a
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x470]
push 0x50ef14
push eax
call fcn.0042f390
add esp, 0x10
push 0x50ef28
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0044267c
add esp, 0xc
push dword [ebp - 0x474]
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [0x54c2b8]
test eax, eax
push 0xf
pop edx
cmovne ecx, edx
mov dword [0x54c2b8], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [0x54c2b4]
mov esi, 0x5538c0
mov ecx, esi
call fcn.004450b9
lea eax, [ebp - 0x470]
mov ecx, esi
push eax
call fcn.00445033
mov ecx, dword [ebp - 0x474]
lea ecx, [ecx - 0x10]
call fcn.00442503
lea ecx, [ebp - 0x43c]
call fcn.00407fe0
mov ecx, dword [ebp - 0x470]
lea ecx, [ecx - 0x10]
call fcn.00442503
call fcn.004aa57d
ret
Function at 0x442a5d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502398
mov eax, dword fs:[0]
push eax
mov eax, 0xa030
call fcn.004aa060
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [0x54c2b8]
mov edi, dword [ebp + 0xc]
and eax, esi
mov ebx, dword [ebp + 0x10]
cmp eax, esi
jne 0x442ba5
push 0x5000
lea eax, [ebp - 0x5010]
push 0
push eax
call fcn.004ccab0
push 0x5028
lea eax, [ebp - 0xa038]
push 0
push eax
call fcn.004ccab0
add esp, 0x18
lea eax, [ebp - 0x5010]
push ebx
push edi
push 0x4fff
push eax
call fcn.00442c5c
test eax, eax
js 0x442ba5
push SysReAllocString
push 0x50984c
push 0
push 0x2814
lea eax, [ebp - 0xa038]
push eax
call fcn.00442cf4
lea eax, [ebp - 0x5010]
push eax
push 0x5028
lea eax, [ebp - 0xa038]
push eax
call fcn.00442c1c
mov eax, dword [0x54c2b0]
test al, 1
je 0x442b78
lea eax, [ebp - 0xa038]
push eax
lea ecx, [ebp - 0xa03c]
call fcn.00412240
and dword [ebp - 4], 0
lea eax, [ebp - 0xa03c]
push eax
push esi
call fcn.004427c2
pop ecx
mov esi, 0x5538c0
push eax
mov ecx, esi
call fcn.00444955
mov ecx, dword [ebp - 0xa03c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00442503
mov ecx, esi
call fcn.00444bb3
mov eax, dword [0x54c2b0]
test al, 2
je 0x442b8e
lea eax, [ebp - 0x5010]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x54c2b0]
test al, 4
je 0x442ba5
lea eax, [ebp - 0x5010]
push eax
push str._s_r_n
call fcn.00442eff
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a995c
leave
ret

Function at 0x444727
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x214
mov eax, 0x50265c
call fcn.004aa5c2
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CSmartLogger.0
call fcn.00444710
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 7
mov word [edi + 0x2c], ax
mov byte [ebp - 4], 2
mov dword [edi + 0x44], 1
mov dword [edi + 0x48], 0x7d000
call fcn.00414410
push eax
lea ecx, [edi + 0x4c]
call fcn.00442212
push 0x208
xor esi, esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
mov dword [edi + 0x48], 0x7d000
push esi
push eax
call fcn.004ccab0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x50f1e4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.LogLDSGameCenter.log
lea eax, [ebp - 0x218]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00412240
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00445033
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00442503
mov eax, edi
call fcn.004aa57d
ret
Function at 0x44be74
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x20
pop ebp
jmp fcn.00445bcc

Function at 0x453260
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x453285
or esi, 1
push 1
call edi
test ax, ax
jns 0x453291
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x45329d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4532a9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x464fe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x594], 0
je 0x46504d
cmp dword [ebp + 8], 0x100
jne 0x46503d
cmp word [ebp + 0xc], 0xd
jne 0x46503d
cmp byte [esi + 0x59a], 0
je 0x46501e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46503d
cmp byte [esi + 0x59b], 0
jne 0x46503d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x465036
push 0
push 0
push 0
push str.return
push esi
call fcn.004555c0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x594]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x46abc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x46abf8
push 0x18
call fcn.004a9676
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x46ac34
mov ecx, eax
call fcn.0046ac40
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x14
call fcn.004a9676
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x46ac34
mov dword [eax], vtable.CGDIPlusImageImpl.0
mov dword [eax + 4], 6
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46cd60
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502f68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54c728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x46cf0e
cmp ebx, 7
jb 0x46cf0e
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x46ce68
test esi, esi
je 0x46cdcc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0x28]
push eax
call fcn.004a2be0
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46ce1b
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.00402770
mov eax, esi
jmp 0x46cf10
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push ebx
push dword [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00402770
mov eax, esi
jmp 0x46cf10
push ebx
push dword [ebp - 0x2c]
push eax
call fcn.004cbf30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x46ce90
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x10], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 0x30]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x46ced6
lea eax, [ebp - 0x2c]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push ebx
mov dword [ebp - 0x2c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 4], eax
jmp 0x46ced8
xor esi, esi
mov dword [edi + 0x10], esi
test esi, esi
je 0x46cefb
mov ecx, esi
call fcn.0046c890
mov ecx, dword [edi + 0x10]
mov dword [edi + 8], eax
call fcn.0046c840
mov dword [edi + 0xc], eax
mov esi, 1
jmp 0x46cefd
xor esi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x46cf0a
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
jmp 0x46cf10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a995c
mov esp, ebp
pop ebp
ret 8

Function at 0x46d990
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x10], 0
jne 0x46d99f
xor eax, eax
pop ebp
ret 4
pop ebp
jmp fcn.0046c510