joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b40
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
mov ebp, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call edi
push 0x11
mov si, ax
call edi
push 0x10
or esi, eax
call edi
or esi, eax
shr esi, 0xf
mov eax, 0x495a14
and esi, 1
mov edi, eax
mov ecx, dword [esp + 0x28]
cmp dword [edi - 4], ecx
jne 0x412ba9
mov ebx, dword [eax]
push ebx
mov ecx, ebp
call fcn.00412610
test eax, eax
je 0x412ba9
test esi, esi
jne 0x412ba9
mov edx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ebx
push ebp
call dword [edx + 0x28]
mov ecx, dword [edi + 0xc]
add edi, 0xc
cmp ecx, 0xfffffffe
mov eax, edi
jne 0x412b81
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
Function at 0x4182f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4aff10]
push esi
mov dword [esp + 0x210], eax
push 0
lea eax, [esp + 8]
push eax
push str.UIMediaDiscPlay
mov esi, ecx
mov dword [esp + 0x10], 0
call fcn.00437910
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x41834e
mov ecx, dword [esp + 0x218]
mov dword [ecx], 2
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
call fcn.004877c7
add esp, 0x210
ret 8
push 1
push 5
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x418372
lea eax, [esp + 8]
push eax
push 0
call fcn.00433810
add esp, 8
push edi
lea ecx, [esp + 0xc]
push ecx
mov edx, ecx
push str._sPDVD_MediaDisc.PlayList
push edx
call dword [0x4b0140]
lea eax, [esp + 0x18]
push 0x496074
push eax
call fcn.00435650
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4183c1
push eax
push eax
call fcn.00435ab0
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
call fcn.004877c7
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x220]
push ebx
push edi
push ecx
call fcn.0042cae0
push edi
mov ebx, eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0xc
test ebx, ebx
pop ebx
jne 0x418407
mov edx, dword [esp + 0x21c]
pop edi
mov dword [edx], 2
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
call fcn.004877c7
add esp, 0x210
ret 8
mov ecx, dword [0x4b01ac]
lea eax, [esp + 0xc]
push eax
call fcn.0043d420
push 2
call fcn.0042aed0
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
add esp, 4
push 5
push eax
call dword [ecx + 0xa8]
mov edx, dword [0x4b01a8]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x418446
mov eax, dword [esi]
push 0
push 0x11
push esi
call dword [eax + 0x28]
mov ecx, esi
call fcn.00416e50
test eax, eax
jge 0x41845b
mov ecx, dword [esi]
push 0
push 0x11
push esi
call dword [ecx + 0x28]
push 0
call fcn.0042c470
mov eax, dword [0x4b01ac]
mov ecx, dword [eax + 0x414]
add esp, 4
test ecx, ecx
jne 0x418478
xor eax, eax
jmp 0x418483
mov eax, dword [eax + 0x418]
sub eax, ecx
sar eax, 2
push eax
call fcn.0042b970
mov ecx, dword [0x4b01ac]
add esp, 4
call fcn.004157f0
push eax
call fcn.0042b9f0
mov edx, dword [esp + 0x220]
mov ecx, dword [esp + 0x218]
add esp, 4
pop edi
mov dword [edx], 0
mov eax, 1
pop esi
call fcn.004877c7
add esp, 0x210
ret 8
Function at 0x41fd10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x470
mov eax, dword [0x4aff10]
push esi
push edi
mov dword [esp + 0x474], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x268], si
mov ecx, 0x81
lea edi, [esp + 0x26a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x10]
push eax
push str.UI_OLRSubmission
mov dword [esp + 0x18], 1
call fcn.00437a10
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, esi
je 0x41fe67
push 0x104
lea ecx, [esp + 0x64]
push ecx
push esi
call dword [0x4b0020]
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [ebp + 8], 1
mov edi, dword [sym.imp.MSVCR71.dll_wcscat]
jne 0x41fda2
push str.OLRSubmissionOLRSubmission.exe
lea eax, [esp + 0x64]
push eax
jmp 0x41fdac
push str.OLRSubmissionOLRStateCheck.exe
lea ecx, [esp + 0x64]
push ecx
call edi
add esp, 8
push esi
lea edx, [esp + 0x50]
push edx
push str.UI_Multiple_Language
call fcn.00437910
lea eax, [esp + 0x5c]
push 8
push eax
call fcn.00433cf0
lea ecx, [esp + 0x27c]
push str._LANG:
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x288]
push eax
call edi
add esp, 0x24
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fe67
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
lea eax, [esp + 0x268]
push ecx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.Open
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x492eb4
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call dword [0x4b0084]
mov ecx, dword [esp + 0x474]
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426620
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x48dc9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x678
mov eax, dword [0x4aff10]
mov dword [esp + 0x674], eax
mov eax, dword [esp + 0x688]
test eax, eax
je 0x4266de
mov ecx, dword [0x4b1da8]
push 0x104
lea eax, [esp + 0x470]
push eax
push ecx
call dword [0x4b0020]
push str._autostart
lea edx, [esp + 0x470]
push edx
lea eax, [esp + 0x26c]
push str.__s___s
push eax
call dword [0x4b0140]
add esp, 0x10
push 1
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
lea ecx, [esp + 0xc]
call fcn.00438030
lea ecx, [esp + 0x264]
push ecx
push 0x493004
lea ecx, [esp + 8]
mov dword [esp + 0x688], 0
call fcn.004382d0
lea ecx, [esp]
mov dword [esp + 0x680], 0xffffffff
call fcn.00438120
jmp 0x4266f5
push 0x493004
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call fcn.00438400
add esp, 0xc
mov ecx, dword [esp + 0x678]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x674]
call fcn.004877c7
add esp, 0x684
ret

Function at 0x427b90
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
mov eax, dword [0x4aff10]
mov dword [esp + 0x24], eax
push 0
lea eax, [esp + 4]
push eax
push str.UI_Multiple_Language
mov dword [esp + 0xc], 0
call fcn.00437910
add esp, 0xc
test eax, eax
je 0x427c77
mov eax, dword [esp]
test eax, eax
je 0x427c77
xor ecx, ecx
xor edx, edx
mov dword [esp + 6], ecx
mov dword [esp + 0x16], edx
mov dword [esp + 0xa], ecx
mov dword [esp + 0x1a], edx
mov dword [esp + 0xe], ecx
lea eax, [esp + 4]
mov dword [esp + 0x1e], edx
push 8
push eax
mov word [esp + 0xc], 0
mov word [esp + 0x1a], cx
mov word [esp + 0x1c], cx
mov word [esp + 0x2a], dx
call fcn.00431100
add esp, 8
test eax, eax
je 0x427c77
push 0x497db8
push 8
lea ecx, [esp + 0x1c]
push ecx
push str.UI_LanguageOld
call fcn.00437af0
add esp, 0x10
test eax, eax
je 0x427c77
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
je 0x427c77
lea ecx, [esp + 4]
push ecx
push str.UI_LanguageOld
call fcn.00437be0
push 0
push 0
push 0x4279c0
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0x14
mov eax, 1
mov ecx, dword [esp + 0x24]
call fcn.004877c7
add esp, 0x28
ret
mov ecx, dword [esp + 0x24]
xor eax, eax
call fcn.004877c7
add esp, 0x28
ret
Function at 0x4286d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x470
mov eax, dword [0x4aff10]
push esi
push edi
mov dword [esp + 0x474], eax
xor eax, eax
push 1
mov ecx, 0x82
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
push 5
lea eax, [esp + 0x68]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42872a
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.00433810
lea edx, [esp + 0x68]
push 0x497f14
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 0x10
mov esi, dword [sym.imp.MSVCR71.dll_wcscpy]
lea eax, [esp + 0x268]
push 0x497f08
push eax
call esi
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
add esp, 8
cmp ebx, 1
lea edx, [esp + 0x268]
lea eax, [esp + 0x60]
mov dword [esp + 8], 0x58
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0x497f08
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], 0x497f00
mov dword [esp + 0x3c], 0x8080e
jne 0x4287b9
lea ecx, [esp + 8]
push ecx
call dword [0x4affb8]
test eax, eax
jne 0x4287e0
xor al, al
mov ecx, dword [esp + 0x474]
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4287e0
lea edx, [esp + 8]
push edx
call dword [0x4affbc]
test eax, eax
jne 0x4287e0
xor al, al
mov ecx, dword [esp + 0x474]
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call esi
mov ecx, dword [esp + 0x47c]
add esp, 8
mov al, 1
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42cc70
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x428
mov eax, dword [0x4aff10]
push esi
mov esi, dword [esp + 0x430]
push edi
mov dword [esp + 0x42c], eax
lea eax, [esp + 8]
push esi
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 8
push str.Autorun.inf
lea ecx, [esp + 0xc]
push ecx
mov edx, ecx
push edx
call edi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42cd2c
lea ecx, [esp + 8]
push ecx
push 0x10e
lea edx, [esp + 0x218]
push edx
push 0x492eb4
push str.SHELLEXECUTE
push str.autorun
call dword [0x4b002c]
test eax, eax
jbe 0x42cd2c
lea eax, [esp + 0x210]
push eax
push esi
mov ecx, eax
push ecx
call edi
push 1
push 0
push 0
lea edx, [esp + 0x21c]
push edx
push 0x494ca0
push 0
call dword [0x4b0088]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x424]
call fcn.004877c7
add esp, 0x428
ret
mov ecx, dword [esp + 0x42c]
pop edi
xor eax, eax
pop esi
call fcn.004877c7
add esp, 0x428
ret
Function at 0x42dec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ddab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
mov eax, dword [0x4aff10]
push esi
push edi
push 1
push str.SoftwareCyberlinkPowerDVDPOUNewVersion
push SysReAllocString
lea ecx, [esp + 0x23c]
mov dword [esp + 0x4a8], eax
call fcn.00438030
lea eax, [esp + 0xc]
push eax
push str.UI_NewVersion_Count
lea ecx, [esp + 0x238]
mov dword [esp + 0x4b4], 0
mov dword [esp + 0x14], 0
call fcn.00438180
mov esi, dword [0x4b0140]
mov word [esp + 0x28], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push str.UI_NewVersion__d_Title
push edx
stosw word es:[edi], ax
call esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x238]
call fcn.004382d0
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x2c]
push str.UI_NewVersion__d_Date
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x23c]
call fcn.00438380
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push str.UI_NewVersion__d_Showed
push ecx
call esi
add esp, 0xc
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x238]
call fcn.004381c0
mov eax, dword [esp + 0xc]
inc eax
push eax
push str.UI_NewVersion_Count
lea ecx, [esp + 0x238]
call fcn.004381c0
mov esi, dword [esp + 0xc]
mov dword [esp + 0x4ac], 0xffffffff
lea ecx, [esp + 0x230]
call fcn.00438120
mov ecx, dword [esp + 0x4a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x49c]
mov eax, esi
call fcn.004877c7
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e5f0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x492eb4
push esi
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 1
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e659
push edi
call fcn.00434440
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
call fcn.00434410
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
push str.Skins
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42f130
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
lea ebx, [esi + 0x20]
push ebx
push edi
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], ebp
mov dword [ebx], ebp
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebp
mov dword [esi + 0x1c], eax
jne 0x42f16a
push ebx
push edi
mov ecx, esi
call fcn.0042cd60
mov dword [esi + 0x1c], eax
mov eax, dword [ebx]
mov edi, 1
cmp eax, edi
mov dword [esi + 0x14], edi
jle 0x42f269
mov ebx, dword [sym.imp.MSVCR71.dll__wcsnicmp]
mov ebp, dword [sym.imp.MSVCR71.dll_wcslen]
jmp 0x42f190
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi*4]
push str._autostart
push ecx
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x42f1b4
mov dword [esi], 1
jmp 0x42f255
push str._Skin
call ebp
mov edx, dword [esi + 0x1c]
push eax
mov eax, dword [edx + edi*4]
push str._Skin
push eax
call ebx
add esp, 0x10
test eax, eax
je 0x42f255
push str._FullScreen
call ebp
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + edi*4]
push eax
push str._FullScreen
push edx
call ebx
add esp, 0x10
test eax, eax
jne 0x42f1fb
mov dword [esi + 4], 1
jmp 0x42f255
push 0x4987f8
call ebp
push eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi*4]
push 0x4987f8
push ecx
call ebx
add esp, 0x10
test eax, eax
je 0x42f2c1
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + edi*4]
push str._PDVDServAutostart
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x42f23e
mov dword [esi + 0x18], 1
jmp 0x42f255
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx + edi*4]
push 1
push 0x4987c8
push edx
call ebx
add esp, 0xc
test eax, eax
jne 0x42f25b
lea eax, [edi + 1]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
inc edi
cmp edi, eax
jl 0x42f190
xor ebp, ebp
cmp dword [esi], ebp
jne 0x42f283
cmp dword [esi + 0x1c], ebp
je 0x42f283
mov ecx, dword [esi + 0x20]
sub ecx, dword [esi + 0x14]
test ecx, ecx
jle 0x42f283
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebp
call fcn.00434cf0
test eax, eax
je 0x42f2b8
call fcn.0042b510
cmp eax, 1
jne 0x42f2b8
call fcn.0042eef0
cmp eax, 0xffffffff
je 0x42f2b8
push eax
push str.UIFocusCDDrive
mov dword [esi + 0xc], 1
call fcn.004379e0
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4
call fcn.0042f040
pop edi
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4355b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4aff10]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [0x4b0038]
cmp dword [ebp - 0x108], 2
jne 0x4355f0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR71.dll__wmkdir]
jmp 0x43562d
call dword [0x4ad2e0]
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, eax
jne 0x435603
xor eax, eax
jmp 0x435626
push edi
call dword [0x4b006c]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.004877e0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.004010a0
push eax
call dword [sym.imp.MSVCR71.dll__mkdir]
add esp, 4
lea esp, [ebp - 0x124]
mov ecx, dword [ebp - 4]
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435a20
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push str.UI_ApplicationDataUsed
mov dword [esp + 0xc], 0
call fcn.00437a50
add esp, 8
test eax, eax
je 0x435aa6
mov eax, dword [esp + 4]
test eax, eax
je 0x435aa6
mov esi, dword [esp + 0xc]
push 0x104
push esi
push str.UI_ApplicationDataPath
call fcn.00437b70
add esp, 0xc
test eax, eax
je 0x435a6b
mov eax, 1
pop esi
pop ecx
ret
cmp dword [esp + 4], 1
jne 0x435aa6
push 1
push 0x1a
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x435aa6
push esi
call dword [0x4b0010]
cmp eax, 0xffffffff
je 0x435aa6
push esi
push str.UI_ApplicationDataPath
call fcn.00437be0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
xor eax, eax
pop esi
pop ecx
ret
Function at 0x436010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x4aff10]
push ebx
push esi
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
mov dword [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
push 5
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 5
call fcn.00437a10
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
add esp, 0xc
push 1
push edx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43609c
push 0x104
push esi
push eax
call dword [0x4b0020]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.Images_
push esi
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
mov ecx, dword [ebp + 0x10]
push 0x104
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00437c80
add esp, 0xc
test eax, eax
je 0x436148
lea ebx, [ebx]
lea edx, [esp + 0x10]
push 0x493520
push edx
call dword [sym.imp.MSVCR71.dll_wcscspn]
mov edi, eax
add esp, 8
test edi, edi
je 0x4360ef
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp edi, eax
je 0x4360ef
mov bl, 1
jmp 0x4360f1
xor bl, bl
push 0x493520
push esi
call dword [sym.imp.MSVCR71.dll_wcscat]
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.MSVCR71.dll_wcsncat]
add esp, 0x14
push esi
call dword [0x4b0010]
cmp eax, 0xffffffff
jne 0x436122
push esi
call fcn.004355b0
add esp, 4
lea edx, [esp + edi*2 + 0x12]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
test bl, bl
jne 0x4360c0
push 0x493520
push esi
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
mov ecx, dword [esp + 0x21c]
call fcn.004877c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436160
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
push 0x104
push esi
push str.UICaptureFilePath
call fcn.00437b70
add esp, 0xc
test eax, eax
jne 0x4362ca
xor ebx, ebx
push ebx
lea eax, [esp + 0x10]
push eax
push str.UI_MedionOEM
mov dword [esp + 0x18], ebx
call fcn.00437a10
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x4361fc
push 1
push 0x27
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4361c9
push str.CapturePersonPath
push str.CaptureShellPath
push esi
call fcn.00436010
add esp, 0xc
cmp word [0x4b0e48], bx
jne 0x4361eb
push 0x493004
push 0x40
push 0x4b0e48
push 0x498bd4
call fcn.00437c20
add esp, 0x10
push 0x4b0e48
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x4362ac
push ebx
lea ecx, [esp + 0x10]
push ecx
push str.UI_CaptureMyPictures
mov dword [esp + 0x18], ebx
call fcn.00437a10
mov edx, dword [esp + 0x18]
add esp, 0xc
neg edx
sbb edx, edx
push 1
and edx, 0x22
add edx, 5
push edx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x436243
push str.CapturePersonPath
push str.CaptureShellPath
push esi
call fcn.00436010
add esp, 0xc
push ebx
lea eax, [esp + 0x14]
push eax
push str.UI_NoPowerDVDShown
mov dword [esp + 0x1c], ebx
call fcn.00437a10
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
cmp eax, ebx
jne 0x43628c
call fcn.00434440
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
call fcn.00434410
push eax
push esi
call edi
push esi
call fcn.004355b0
add esp, 4
cmp dword [esp + 0xc], ebx
mov eax, str.Snapshot
je 0x43629c
mov eax, str.Movie_Snapshot
push eax
push esi
call edi
push esi
call dword [0x4b0010]
cmp eax, 0xffffffff
jne 0x4362b5
push esi
call fcn.004355b0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
push str.UICaptureFilePath
call fcn.00437be0
add esp, 8
mov edi, dword [sym.imp.MSVCR71.dll_wcslen]
push esi
call edi
mov ebx, dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 4
cmp eax, 0x104
jge 0x4362f6
cmp word [esi + eax*2 - 2], 0x5c
je 0x4362f6
push 0x493520
push esi
call ebx
add esp, 8
push esi
call dword [0x4b0010]
cmp eax, 0xffffffff
jne 0x436351
push str.My_Documents
push esi
call dword [sym.imp.MSVCR71.dll_wcsstr]
add esp, 8
test eax, eax
je 0x436328
push str.CapturePersonPath
push str.CaptureShellPath
push esi
call fcn.00436010
add esp, 0xc
push esi
call edi
add esp, 4
cmp eax, 0x104
jge 0x436348
cmp word [esi + eax*2 - 2], 0x5c
je 0x436348
push 0x493520
push esi
call ebx
add esp, 8
push esi
call fcn.004355b0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4371d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.004155a0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00412660
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x437262
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret