joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
lea eax, [ebp - 0x404]
mov esi, ecx
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.PDFRunningHelper.exe
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push dword [esi]
lea eax, [ebp - 0x404]
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
Function at 0x418460
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047e4e0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41847f
lea esi, [eax + 1]
jmp 0x41849c
push dword [ebp - 4]
push 1
push str.Activate
push 0x63afd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4184b7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4194e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0046dae0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call esi
test eax, eax
jne 0x41952f
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
cmp dword [ebp - 0x11c], 6
jb 0x419540
test edi, edi
jne 0x419540
xor esi, esi
jmp 0x419553
push ecx
lea ecx, [ebx + 0x2c]
call fcn.00419b30
lea ecx, [ebx + 0x2c]
call fcn.00419d70
mov esi, eax
mov eax, str.fail
test esi, esi
mov ecx, 0x636238
push 0x634864
cmove ecx, eax
push ecx
push str.plugin_load
call fcn.0046dbd0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0058e39a
mov esp, ebp
pop ebp
ret

Function at 0x419c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi], 0
je 0x419d58
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419d58
lea ecx, [ebp - 0x20c]
call fcn.0046e630
test eax, eax
je 0x419d58
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x419d58
push dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x419d58
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push ecx
push 1
call eax
mov esi, eax
mov dword [ebp - 0x214], esi
test esi, esi
je 0x419d58
push dword [edi + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [edi + 8]
lea ecx, [edi + 4]
mov edx, dword [ecx]
cmp edx, eax
je 0x419d35
cmp dword [edx], esi
je 0x419d31
add edx, 4
cmp edx, eax
jne 0x419d26
cmp edx, eax
jne 0x419d41
lea eax, [ebp - 0x214]
push eax
call fcn.0041a440
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0058e39a
mov esp, ebp
pop ebp
ret 4
Function at 0x41a760
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0x4c0], eax
test ebx, ebx
je 0x41a87f
test eax, eax
je 0x41a87f
push esi
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41a828
xor esi, esi
cmp word [ebp - 0x4bc], si
je 0x41a828
lea eax, [ebp - 0x4bc]
xor ecx, ecx
nop dword [eax]
movzx eax, word [eax]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41a814
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [ebp - 0xd4]
push edi
push eax
push ebx
call fcn.005b76a1
add esp, 0xc
test eax, eax
je 0x41a83b
add esi, 4
lea eax, [ebp - 0x4bc]
lea ecx, [esi + esi]
add eax, ecx
cmp word [eax], 0
jne 0x41a7c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
push SysReAllocString
lea eax, [ebp - 0xc]
mov edx, 0x104
push eax
push ecx
mov ecx, dword [ebp - 0x4c0]
call fcn.0041a710
mov ecx, dword [ebp - 0x4c0]
lea eax, [ebx + edi*2]
push eax
mov edx, 0x104
call fcn.0041a660
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
Function at 0x41a890
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0058f4a0
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, edx
test edi, edi
je 0x41a9f4
push esi
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41a8d7
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
push ebx
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ebx, eax
test ebx, ebx
je 0x41a9b0
push 0x800
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005a7400
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.005a715e
add esp, 0x14
test eax, eax
je 0x41a983
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x41a983
lea eax, [ebp - 0x1004]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.0041a630
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
mov edx, 0x104
push eax
mov ecx, edi
call fcn.0041a630
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x41a9da
push ecx
mov edx, edi
lea ecx, [ebp - 0x804]
call fcn.0041a760
add esp, 4
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
Function at 0x41aa10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d8
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x6d8], ebx
cmp dword [ebx + 4], 0
jne 0x41aa4e
call fcn.0041abb0
cmp dword [ebx + 4], 0
jne 0x41aa4e
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x41aa99
push 0x228
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.005a7400
add esp, 0xc
mov dword [ebp - 0x438], 0x22c
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x41aaab
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x294
mov dword [ebp - 0x6d4], eax
lea eax, [ebp - 0x6cc]
push 0
push eax
call fcn.005a7400
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0xc
mov dword [ebp - 0x6d0], 0
push esi
nop
mov esi, dword [ebp - 0x430]
cmp dword [ebp - 0x6d4], esi
je 0x41ab66
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a7400
add esp, 8
lea edx, [ebp - 0x20c]
mov ecx, esi
call fcn.0041a890
add esp, 4
test eax, eax
je 0x41ab66
push 0x63b484
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41ab66
push str.LDSBox.exe
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x41ab84
mov eax, dword [ebp - 0x6d8]
lea edx, [ebp - 0x6cc]
push edx
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov dword [ebp - 0x6d0], esi
test esi, esi
jne 0x41ab89
jmp 0x41ab6c
mov esi, dword [ebp - 0x6d0]
lea eax, [ebp - 0x438]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41aae0
jmp 0x41ab89
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
Function at 0x41b610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x228], 0
call fcn.00481460
cmp dword [0x6850cc], 0
mov ecx, 0x100
mov eax, 0x200
cmovne eax, ecx
lea ecx, [ebp - 0x228]
push ecx
or eax, 1
push eax
push 0
push str..pdfShellEx8895b1c6_b41f_4c1c_a562_0d564250836f
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41b764
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005a7400
add esp, 0xc
mov dword [ebp - 0x22c], 0x208
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
push esi
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x228]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41b764
push str.3D3B1846_CC43_42AE_BFF9_F914083C2BA3
lea ecx, [ebp - 0x224]
call fcn.00406760
cmp word [ebp - 0x20c], 0
mov esi, eax
jne 0x41b6f6
xor ecx, ecx
jmp 0x41b70f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b700
sub ecx, edx
sar ecx, 1
cmp dword [esi + 0x14], 8
lea edx, [esi + 0x10]
jb 0x41b71a
mov esi, dword [esi]
mov edx, dword [edx]
lea eax, [ebp - 0x20c]
push ecx
push eax
mov ecx, esi
call fcn.0041ce40
mov ecx, dword [ebp - 0x210]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 8
jb 0x41b752
inc ecx
push ecx
push dword [ebp - 0x224]
lea ecx, [ebp - 0x224]
call fcn.00408200
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
Function at 0x41b780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6860f4]
cmp eax, dword [ecx + 4]
jle 0x41b7f1
push 0x6860f4
call fcn.0058e4ed
add esp, 4
cmp dword [0x6860f4], 0xffffffff
jne 0x41b7f1
call fcn.00402c20
mov ecx, eax
test ecx, ecx
je 0x41b88b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x5df4c0
mov dword [0x6860f0], eax
call fcn.0058e9cd
push 0x6860f4
call fcn.0058e4ae
add esp, 8
mov eax, dword [0x6860f0]
cmp dword [eax - 0xc], 0
jne 0x41b876
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp - 0x404]
push 0x200
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.full.data
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x404]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b850
sub ecx, edx
lea eax, [ebp - 0x404]
sar ecx, 1
push ecx
push eax
mov ecx, 0x6860f0
call fcn.00407470
mov eax, dword [0x6860f0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004024f0
int3

Function at 0x41b8a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0058f4a0
mov eax, dword [0x66a9c4]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041b780
test eax, eax
je 0x41b90f
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.005a7400
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push 0x800
push 0x800
push eax
call fcn.004024a0
push dword [eax + 4]
push dword [eax]
call fcn.005af7cd
add esp, 0x20
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e39a
mov esp, ebp
pop ebp
ret

Function at 0x41bf50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00475090
test eax, eax
jne 0x41bf9e
mov edx, str.PDFRunningHelper.exe
lea ecx, [ebp - 4]
call fcn.0047de50
push 1
push 0
push str._setCajDefaulttrue
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bf9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret
Function at 0x41bfb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00474fb0
test eax, eax
jne 0x41bffe
mov edx, str.PDFRunningHelper.exe
lea ecx, [ebp - 4]
call fcn.0047de50
push 1
push 0
push str._setOfdDefaulttrue
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bffe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret

Function at 0x41c570
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047e4e0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c58f
lea esi, [eax + 1]
jmp 0x41c5ac
push dword [ebp - 4]
push 1
push str.OpenRecommend
push 0x63afd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41c5c7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c6b0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047e4e0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c6e3
push dword [ebp - 4]
push 1
push str.AutoDetectPdfAssoc
push 0x63afd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c6e8
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41c710
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047e4e0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c743
push dword [ebp - 4]
push 1
push str.AutoDetectOfdAssoc
push 0x63afd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c748
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c763
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c770
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea ecx, [ebp - 4]
call fcn.0047e4e0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c7a3
push dword [ebp - 4]
push 1
push str.AutoDetectCajAssoc
push 0x63afd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x41c7a8
mov esi, 1
mov edx, dword [ebp - 4]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c7c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420620
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d67a6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x66a9c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x420667
push 0x80004005
call fcn.004024f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x42068e
push 0x80004005
call fcn.004024f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041f410
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
call fcn.0042d070
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x420c80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d660
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push 0x2c
lea eax, [esp + 8]
mov dword [esp + 4], 0x30
push 0
push eax
call fcn.005a7400
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x14], eax
call fcn.0042daa0
test eax, eax
mov dword [esp + 8], 0x42d430
mov ecx, 0x6747c0
cmove ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x18]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x63c58c
push dword [esp + 0x50]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x6747bc], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x68568c]
mov eax, 0x2aaaaaab
sub ecx, dword [0x685688]
imul ecx
mov dword [0x66b764], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x42d739
push 0
push 0x32
push 1
push dword [0x6747bc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x66b764], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x432bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x432d3b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x432c38
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x432d1c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x432d1c
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x432d3b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.0042f170
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x432d27
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10