joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a830
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a4e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0040c3c0
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov edi, dword [esi - 0xc]
test edi, edi
jns 0x44a882
push 0x80070057
call fcn.0040c390
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x44a89f
push edi
lea ecx, [ebp - 0x10]
call fcn.0040c110
mov esi, dword [ebp - 0x10]
lea eax, [edi + 1]
push eax
push esi
call fcn.005527a0
add esp, 8
cmp edi, dword [esi - 8]
jg 0x44a878
mov dword [esi - 0xc], edi
xor eax, eax
mov word [esi + edi*2], ax
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str..tmp
push dword [ebp - 0x14]
mov ebx, eax
call fcn.00551d79
add esp, 8
test eax, eax
je 0x44a91e
cmp dword [esi - 0xc], 0
jl 0x44a90a
push str.tmp
push esi
call fcn.00552a08
add esp, 8
test eax, eax
je 0x44a90a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x44a91e
test ebx, 0x100
jne 0x44a91e
test bl, 2
jne 0x44a91e
mov ebx, 1
jmp 0x44a920
xor ebx, ebx
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44a943
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x44a961
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44aec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x83c
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x838], eax
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x44af9f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00559380
push 0x800
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0x30
push 0
push eax
mov dword [esp + 0x34], 0x400000
call fcn.00559380
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Q360SoftMgrMsgDelegateWnd_d
lea eax, [esp + 0x40]
push 0x400
push eax
call fcn.00429e70
add esp, 0x10
mov dword [esp + 0x10], 0x44afd0
lea eax, [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44afb7
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x83c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret
Function at 0x44bc20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x60f520]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x21c], 4
push 0
push eax
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 4
call fcn.00559380
mov eax, dword [0x64045c]
push 0x104
push dword [esi + eax]
lea eax, [ebp - 0x20c]
push eax
call fcn.00553f00
add esp, 0x18
lea ecx, [ebp - 0x20c]
mov eax, str.21EC2020_3AEA_1069_A2DD_08002B30309D
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x44bcc6
test dx, dx
je 0x44bcc2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x44bcc6
add ecx, 4
add eax, 4
test dx, dx
jne 0x44bca0
xor eax, eax
jmp 0x44bccb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44bce8
push 0x104
lea eax, [ebp - 0x20c]
push str.5399E694_6CE5_4D6C_8FCE_1D8870FDCBA0
push eax
call fcn.00553f00
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x5b5aa8]
push SysReAllocString
call ebx
cmp eax, 2
jne 0x44bd69
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x5b5aa8]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
cmp eax, 2
je 0x44bd60
cmp dword [ebp - 0x210], 0
je 0x44bd60
mov dword [esi + edi], 0
jmp 0x44bd77
mov dword [esi + edi], 1
jmp 0x44bd77
xor eax, eax
cmp dword [ebp - 0x214], eax
sete al
mov dword [esi + edi], eax
add esi, 4
cmp esi, 0x14
jl 0x44bc41
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055199a
mov esp, ebp
pop ebp
ret 4
Function at 0x44cdc0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x44cdd8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x44cdf8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], 0
push esi
call fcn.00551995
add esp, 4
mov eax, esi
pop esi
ret 4
Function at 0x44ede0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x260
mov eax, dword [0x60f520]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x44ee36
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x2c], ecx
mov ecx, dword [esp + 0x28]
push eax
mov dword [edi + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44ee64
push ecx
mov ecx, dword [edi + 0xc]
mov esi, esp
sub ecx, 0x10
call fcn.0040c3c0
add eax, 0x10
mov dword [esi], eax
call fcn.0044fdf0
add esp, 4
cmp eax, 8
jne 0x44ee64
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0x2000000
push 3
push 0
push 7
push SysReAllocString
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44ee99
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [edi + 0x28], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x264]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0055199a
mov esp, ebp
pop ebp
ret
Function at 0x44f4b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aca1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0xc]
lea ebx, [edi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44f53f
cmp dword [edi + 0x50], 1
jne 0x44f53f
mov eax, dword [0x64359c]
test al, 1
jne 0x44f521
or eax, 1
mov dword [0x64359c], eax
mov dword [ebp - 4], 0
call fcn.00445f80
push 0x5a9e40
call fcn.00551ad4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, 0x6435a0
call fcn.00447040
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
cmp dword [ebp + 8], 0
jne 0x44f605
mov eax, dword [0x64359c]
test al, 1
jne 0x44f57a
or eax, 1
mov dword [0x64359c], eax
mov dword [ebp - 4], 1
call fcn.00445f80
push 0x5a9e40
call fcn.00551ad4
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [0x6435b0]
mov esi, dword [edi + 0x18]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp esi, eax
jae 0x44f640
mov eax, dword [0x64359c]
test al, 1
jne 0x44f5c2
or eax, 1
mov dword [0x64359c], eax
mov dword [ebp - 4], 5
call fcn.00445f80
push 0x5a9e40
call fcn.00551ad4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x18]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x44f5ee
lea eax, [ebp + 8]
mov ecx, 0x6435a8
push eax
call fcn.00447520
mov ecx, 0x6435a8
mov esi, dword [eax]
lea eax, [ebp + 8]
push eax
inc esi
call fcn.00447520
mov dword [eax], esi
mov eax, dword [edi + 0x18]
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
mov eax, dword [0x64366c]
test al, 1
jne 0x44f636
or eax, 1
mov dword [0x64366c], eax
mov dword [ebp - 4], 2
call fcn.0045df60
push 0x5a9ef0
call fcn.00551ad4
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
push ebx
call fcn.0045e680
mov dword [edi + 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [0x6403d8]
test eax, eax
jne 0x44f67f
push 0x74
call fcn.00551c81
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x44f671
mov ecx, eax
call fcn.0043d620
jmp 0x44f673
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6403d8], eax
push dword [eax + 4]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.0043d920
mov eax, dword [0x64359c]
mov esi, dword [edi + 4]
mov ebx, dword [ebx]
test al, 1
jne 0x44f6c3
or eax, 1
mov dword [0x64359c], eax
mov dword [ebp - 4], 4
call fcn.00445f80
push 0x5a9e40
call fcn.00551ad4
add esp, 4
mov dword [ebp - 4], 0xffffffff
push dword [edi + 0x1c]
mov ecx, 0x6435a0
push dword [edi + 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [edi + 8]
push esi
push ebx
call fcn.00446260
mov dword [edi + 0x18], eax
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
Function at 0x456810
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b5f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x10]
call fcn.004fb790
push ecx
mov dword [ebp - 4], 0
mov esi, esp
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00456910
or edi, 0xffffffff
test eax, eax
jne 0x4568cd
push 0x5c06a4
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00414260
add esp, 4
push 0
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ecx
mov ecx, dword [ebp - 0x14]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.0040c3c0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00456910
mov byte [ebp - 4], 0
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4568d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4568d2
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4568f3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b686
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.004fb790
push 0x5c06a4
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00414260
add esp, 4
mov byte [ebp - 4], 1
test edi, edi
je 0x456c69
lea eax, [edi + 8]
jmp 0x456c6b
xor eax, eax
push eax
lea ecx, [edi + 0x22c]
call fcn.0044c020
mov eax, dword [0x6419b4]
test eax, eax
jne 0x456ca9
push 0x20
call fcn.00551c81
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x456c9e
mov ecx, eax
call fcn.00417280
jmp 0x456ca0
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x6419b4], eax
mov ecx, eax
call fcn.004174b0
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
call esi
test eax, eax
jne 0x456cca
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x456d49
mov ecx, edi
call fcn.00456810
mov ebx, dword [0x6419ac]
mov dword [ebp - 0x10], eax
test ebx, ebx
jne 0x456d0a
push 0x1c
call fcn.00551c81
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x456cfe
mov ecx, eax
call fcn.00497410
mov ebx, eax
jmp 0x456d00
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [0x6419ac], ebx
call fcn.00427d90
mov esi, eax
call fcn.004986a0
cmp esi, eax
jae 0x456d23
mov ecx, ebx
call fcn.00497530
jmp 0x456d46
call fcn.00427c40
mov esi, eax
call fcn.0045b820
mov ecx, eax
call fcn.00464790
cmp esi, eax
jae 0x456d46
call fcn.0045b820
mov ecx, eax
call fcn.004648c0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x358], 1
mov dword [edi + 0x30c], ecx
test ebx, ebx
je 0x456d74
test ecx, ecx
je 0x456d74
mov eax, dword [ecx]
call dword [eax]
mov dword [edi + 0x354], 1
jmp 0x456d91
lea ecx, [edi + 0x150]
mov dword [edi + 0x310], 1
push ecx
mov dword [ecx + 0x44], edi
push ecx
add ecx, 4
call fcn.00516fa0
lea ebx, [edi + 4]
lea esi, [edi + 0x1b0]
test ebx, ebx
je 0x456dd0
cmp dword [esi + 0x4c], 0
jne 0x456db5
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x4c], eax
mov ecx, esi
call fcn.0044ac30
push ecx
push esi
lea ecx, [esi + 8]
mov dword [esi + 4], ebx
mov dword [esi + 0x48], 0
call fcn.00516fa0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
mov dword [edi + 0x344], 1
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x456dfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x456e1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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
Function at 0x4592e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
and ebx, 2
jne 0x459388
mov ecx, edi
call fcn.0044a830
test eax, eax
je 0x459388
mov eax, dword [edi]
test eax, eax
je 0x4593cb
push eax
push dword [esi + 0x310]
call fcn.00551d79
add esp, 8
push 1
push dword [esi + 0x10]
test eax, eax
jne 0x459346
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 1
push 1
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
pop ebp
ret 4
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x310]
cmp dword [eax - 0xc], 0
je 0x459366
sub esp, 8
push 1
push ecx
lea ecx, [esi - 4]
call fcn.00455ea0
push edi
lea ecx, [esi + 0x310]
call fcn.0040b7d0
push 0
push 1
push 1
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
pop ebp
ret 4
test ebx, ebx
je 0x4593bc
mov edx, dword [esi + 0x338]
mov ecx, dword [esi + 0x334]
mov byte [ebp + 8], 0
push dword [ebp + 8]
push edi
call fcn.0045c510
add esp, 8
cmp eax, dword [esi + 0x338]
jne 0x4593bc
push edi
lea ecx, [esi + 0x334]
call fcn.00409aa0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 4]
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80004005
call fcn.0040c390
int3
Function at 0x45e550
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
push 0x18
push dword [ebp + 8]
movdqu xmmword [ebp - 0x38], xmm0
movq qword [ebp - 0x28], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov edx, eax
cmp ecx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmovg edx, ecx
movd xmm2, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [ebp - 0xc], edx
movd xmm1, edx
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
divsd xmm2, xmm0
movaps xmm0, xmm1
jle 0x45e5c5
divsd xmm0, xmm2
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [ebp - 0x10], eax
jmp 0x45e5dc
mulsd xmm0, xmm2
subsd xmm1, xmm0
mulsd xmm1, qword [0x5d05a8]
cvttsd2si eax, xmm1
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push edi
mov dword [ebp - 0x1c], edi
call esi
push edi
mov dword [ebp - 8], eax
call esi
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push eax
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
call ebx
push dword [ebp + 8]
mov edi, eax
push dword [ebp - 8]
call ebx
push 0xcc0020
push 0
push 0
push dword [ebp - 8]
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp - 8]
push esi
call ebx
push edi
mov edi, dword [ebp - 0x18]
push edi
call ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45e9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bed8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edx]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ebx, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45ea15
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], 1
je 0x45ea88
push 0x5b4f4e
mov ecx, edi
call fcn.0041e270
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea74
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
shr edx, 1
add edx, 8
jns 0x45ea9c
push 0x80070057
call fcn.0040c390
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45eab9
push edx
lea ecx, [ebp - 0x18]
call fcn.0040c110
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
push ebx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
push esi
call fcn.00551cd2
add esp, 8
test eax, eax
js 0x45ea92
cmp eax, dword [esi - 8]
jg 0x45ea92
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
add esi, 0xfffffff0
mov ecx, esi
call fcn.0040c3c0
add eax, 0x10
mov dword [edi], eax
jmp 0x45ea56
Function at 0x45eb00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bf16
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x60f520]
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]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ecd6
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x45ecd6
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov edx, esi
lea ecx, [ebp - 0x220]
mov ebx, eax
call fcn.0045e9b0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.00559380
add esp, 0xc
mov dword [ebp - 0x228], 0x208
call fcn.0040bce0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45ebb5
push 0x80004005
call fcn.0040c390
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
push dword [ebp - 0x220]
push str._sTypeOverlay
push eax
call fcn.00422de0
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x228]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
push SysReAllocString
call edi
test eax, eax
jne 0x45ec31
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x45ec20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ec20
sub ecx, edx
sar ecx, 1
je 0x45ec85
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00559380
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.PerceivedType
push ebx
push SysReAllocString
call edi
test eax, eax
jne 0x45ec89
lea eax, [ebp - 0x218]
push str.image
push eax
call fcn.00551d79
add esp, 8
test eax, eax
jne 0x45ec89
xor ebx, ebx
jmp 0x45ec8e
mov ebx, 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ecae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x220]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x45ecd2
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x45ecd8
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.0055199a
mov esp, ebp
pop ebp
ret 4