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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
call fcn.0041a950
test al, 0x40
jne 0x449c3c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x449c21
mov ecx, dword [esi + 4]
push 1
mov ecx, dword [ecx + 0x1c]
call fcn.00484150
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x74]
mov ecx, dword [esi + 0xc]
push 0
push 3
push 0
push dword [esi + 0x10]
call fcn.00422000
pop esi
pop ebp
ret 4

Function at 0x451810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x270], 0
je 0x451833
test edi, edi
jne 0x451833
cmp dword [ebp + 0x14], edi
jne 0x451833
push edi
call fcn.004505e0
push 0
push 0
mov ecx, esi
call fcn.0047bbe0
test al, 0x40
je 0x451856
push 0
push 0
mov ecx, esi
call fcn.0047bb40
test eax, 0x40000
jne 0x451856
neg edi
mov ebx, dword [esi + 0x24]
mov ecx, esi
push 0
shr ebx, 3
push 0
and ebx, 1
call fcn.0047bbe0
test al, al
jns 0x451877
xor eax, eax
test ebx, ebx
sete al
mov ebx, eax
push dword [ebp + 0x10]
mov ecx, dword [esi + 0x2c]
push 0
push ebx
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
push dword [esi + 0x30]
push esi
call dword [eax + 0x24]
cmp dword [esi + 0x270], 0
mov ebx, eax
je 0x4518d3
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
test ax, ax
js 0x4518b9
push 0x10
call edi
test ax, ax
js 0x4518b9
push 0x20
call edi
test ax, ax
jns 0x4518d3
push 0x20
mov ebx, 3
call edi
test ax, ax
jns switch.0x004518dc
mov dword [0x5165d4], 1
jmp switch.0x004518dc
cmp ebx, 4
ja case.default.0x4518dc
jmp dword [ebx*4 + 0x4519e8]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x74]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push 0
mov ecx, esi
call fcn.004505e0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push 0
push 0
mov ecx, esi
call fcn.0047bb40
test eax, 0x400
jne 0x45192b
push 0
push 0
mov ecx, esi
call fcn.0047bb40
test eax, 0x40000000
je case.default.0x4518dc
push 0
push 0
mov ecx, esi
call fcn.0047bb40
test eax, 0x40000
je case.default.0x4518dc
cmp dword [ebp + 0x10], 0
je 0x451968
inc dword [esi + 0x46c]
cmp dword [esi + 0x46c], 0x28
jbe case.default.0x4518dc
mov ecx, esi
call fcn.0044d970
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
cmp dword [esi + 0x43c], 0
je case.default.0x4518dc
mov ecx, esi
call fcn.0044d8f0
mov ecx, esi
call fcn.0044dab0
mov eax, dword [esi + 0x3d4]
mov ecx, dword [esi + 0x43c]
cmp eax, 1
jne 0x45199e
cmp dword [esi + 0x39c], 0xffffffff
je 0x4519b2
or eax, 0xffffffff
jmp 0x4519b4
cmp eax, 0xffffffff
jne 0x4519b2
cmp dword [esi + 0x398], eax
je 0x4519b2
mov eax, 1
jmp 0x4519b4
xor eax, eax
mov dword [esi + 0x43c], eax
cmp ecx, eax
je 0x4519c4
inc dword [esi + 0x440]
cmp dword [esi + 0x440], 2
jne case.default.0x4518dc
mov ecx, esi
call fcn.0044d970
mov dword [esi + 0x43c], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x452800
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8496
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [esi]
mov dword [ebp - 4], 1
call fcn.0041e170
test eax, eax
je 0x45283e
push esi
push dword [0x516658]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x290], 2
jne 0x452879
lea eax, [esi + 1]
push eax
push dword [0x516658]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [0x516658]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x515cd8], 0
mov dword [0x515cdc], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x45289e
push eax
call fcn.004a46e7
add esp, 4
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov edx, dword [esi + 0x14]
or ecx, 0xffffffff
sub edx, 0x10
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
pop esi
test ecx, ecx
jg 0x4528c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x455650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x290], 2
jne 0x4556a9
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45566c
lea eax, [esi + 0x8f8]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x290], 1
push dword [0x516658]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x515cd8], 0
mov dword [0x515cdc], 0
pop esi
pop ebp
ret 8
Function at 0x457240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x45725b
test eax, eax
je 0x45742f
push ebx
push esi
cmp dword [edi + 0x58], ecx
jne 0x457267
cmp dword [edi + 0x5c], eax
je 0x4572d7
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x516658]
call ebx
mov esi, dword [0x516658]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
call esi
push 0x85
push 0
push 0
push dword [0x516658]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, edi
call fcn.00457440
test eax, eax
je 0x4572be
push 0x800a8
jmp 0x4572c3
push 0x88
push 0xffffffffffffffec
push dword [0x516658]
call esi
push 5
push dword [0x516658]
call ebx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call esi
push 0xa
push ebx
mov dword [edi + 0x58], eax
call esi
cmp dword [edi + 0x294], 0
mov dword [edi + 0x5c], eax
jne 0x457361
cmp dword [edi + 0x2b0], 0
jne 0x457361
movd xmm1, dword [edi + 0x58]
movd xmm0, dword [edi + 0x50]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movd xmm1, eax
movss dword [edi + 0x68], xmm0
movd xmm0, dword [edi + 0x54]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x6c], xmm0
jmp 0x45736f
mov dword [edi + 0x68], 0x3f800000
mov dword [edi + 0x6c], 0x3f800000
mov eax, dword [edi + 0x3c]
sub eax, dword [edi + 0x34]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movss xmm3, dword [0x4e32f4]
movd xmm2, eax
mov eax, edx
sub eax, ecx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [edi + 0x68]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm1, dword [edi + 0x70]
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ecx
cmovl eax, ecx
cvttss2si ecx, xmm2
mov dword [edi + 0x24], eax
sub edx, ecx
cmp eax, edx
jle 0x4573c3
mov dword [edi + 0x24], edx
mov eax, dword [edi + 0x24]
mov edx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x38]
movd xmm2, eax
mov eax, edx
sub eax, ecx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [edi + 0x6c]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm1, dword [edi + 0x74]
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ecx
cmovl eax, ecx
cvttss2si ecx, xmm2
mov dword [edi + 0x28], eax
sub edx, ecx
cmp eax, edx
jle 0x457417
mov dword [edi + 0x28], edx
mov eax, dword [edi + 0x28]
add eax, ecx
mov ecx, edi
mov dword [edi + 0x30], eax
call fcn.004585e0
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x458c20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ecx + 0x34]
push 0x4e336c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040a5b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x458c43
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 8
jb 0x458c5b
push dword [ebp - 0x18]
call fcn.004a46e7
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x458c60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor eax, eax
mov dword [ebp - 0x10], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x24], ax
lea eax, [ecx + 0x34]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
call fcn.004052f0
xor ecx, ecx
mov dword [ebp - 4], 0
cmp word [0x4e336c], cx
mov eax, 4
cmove eax, ecx
lea ecx, [ebp - 0x24]
push eax
push 0x4e336c
call fcn.00409070
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [ebp - 0x10], 8
mov esi, eax
jb 0x458cec
push dword [ebp - 0x24]
call fcn.004a46e7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4597c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push esi
mov esi, ecx
mov dword [ebp - 0x24], 7
xor eax, eax
mov dword [ebp - 0x28], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [esi + 0x34]
push eax
call fcn.004052f0
xor ecx, ecx
mov dword [ebp - 4], 0
cmp word [0x4e336c], cx
mov eax, 4
cmove eax, ecx
lea ecx, [ebp - 0x38]
push eax
push 0x4e336c
call fcn.00409070
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push str.w__ccsUNICODE
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call fcn.004aaa22
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4599a9
test eax, eax
jne 0x4599a9
push str.Overwrite
push 0x4dc554
push str.Version
push 0x4e34c0
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.004a6937
push dword [ebp - 0x10]
lea eax, [ebp - 0x258]
push eax
call fcn.004aa8cd
lea eax, [esi + 4]
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x4598a2
mov eax, dword [eax]
push eax
push 0x4e339c
push 0x4e34d8
push dword [ebp - 0x10]
call fcn.004aa979
add esp, 0x10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.SoftwareSynapticsScrybe
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00406df0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045a460
cmp dword [ebp - 0x3c], 8
mov byte [ebp - 4], 1
jb 0x459903
push dword [ebp - 0x50]
call fcn.004a46e7
add esp, 4
push str.SoftwareSynapticsPersistent
lea ecx, [ebp - 0x50]
call fcn.00406df0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c]
call fcn.0045a460
cmp dword [ebp - 0x3c], 8
mov byte [ebp - 4], 1
jb 0x459935
push dword [ebp - 0x50]
call fcn.004a46e7
add esp, 4
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push str.SoftwareSynaptics
push SysReAllocString
push dword [ebp - 0x10]
call fcn.004599d0
push dword [ebp - 0x10]
mov esi, eax
call fcn.004a8f94
add esp, 4
test esi, esi
jne 0x459970
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4599ab
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1d]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.004586f0
push dword [ebp - 0x1c]
call fcn.004a46e7
add esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jmp 0x4599ab
xor esi, esi
cmp dword [ebp - 0x24], 8
jb 0x4599bc
push dword [ebp - 0x38]
call fcn.004a46e7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45ab40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d89f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
lea ebx, [edi + 4]
mov dword [ebp - 0x30], edi
mov dword [ebx], 0
mov dword [edi + 0x20], 7
mov dword [edi + 0x1c], 0
mov word [edi + 0xc], cx
mov dword [edi + 0x38], 7
mov dword [edi + 0x34], ecx
mov dword [ebp - 4], ecx
mov word [edi + 0x24], cx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 1
call fcn.00486bb0
mov dword [edi + 0x3c], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [edi + 0x44], 0
call fcn.004917a0
push 0
push 0
push 0
push str.SoftwareSynapticsSynTPEnh
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004948e0
test eax, eax
je 0x45abed
push 0
push ebx
push ebx
push str.MultipleProfiles
lea ecx, [ebp - 0x28]
call fcn.004a1050
cmp dword [ebx], 0
jne 0x45ac1f
push 0
push 0
push 0
push str.SoftwareSynapticsScrybe
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.004948e0
test eax, eax
je 0x45ac1f
push 0
push ebx
push ebx
push str.MultipleProfiles
lea ecx, [ebp - 0x28]
call fcn.004a1050
lea eax, [ebp - 0x14]
push eax
call fcn.0049dff0
add esp, 4
lea ecx, [ebp - 0x2c]
xor eax, eax
cmp dword [ebp - 0x14], eax
push 0
push 0
push 0
push str.SoftwareSynapticsSynTPInstall
setne al
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 8], eax
call fcn.004948e0
test eax, eax
je 0x45accf
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push eax
call fcn.004a4860
add esp, 0xc
mov dword [ebp - 0x10], 0x208
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x28]
push 0
push 0
push eax
lea eax, [ebp - 0x238]
push eax
push str.ProgDir
call fcn.004a1110
cmp word [ebp - 0x238], 0
jne 0x45aca1
xor ecx, ecx
jmp 0x45acbf
lea ecx, [ebp - 0x238]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45acb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x238]
push eax
lea ecx, [edi + 0xc]
call fcn.00405410
push 0
push 0x1a
lea eax, [ebp - 0x440]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45ad33
cmp word [ebp - 0x440], 0
jne 0x45ad06
xor ecx, ecx
lea eax, [ebp - 0x440]
push ecx
lea esi, [edi + 0x24]
push eax
mov ecx, esi
call fcn.00405410
jmp 0x45ad36
lea ecx, [ebp - 0x440]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ad10
sub ecx, edx
lea eax, [ebp - 0x440]
sar ecx, 1
lea esi, [edi + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.00405410
jmp 0x45ad36
lea esi, [edi + 0x24]
cmp dword [edi + 0x34], 0
je 0x45ad5a
xor ecx, ecx
mov eax, 0x14
cmp word [str._Synaptics_Profiles_], cx
cmove eax, ecx
mov ecx, esi
push eax
push str._Synaptics_Profiles_
call fcn.00409070
mov ecx, edi
call fcn.0045ae40
lea ecx, [ebp - 0x2c]
mov dword [edi], 0
mov byte [ebp - 4], 2
call fcn.00491a30
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45ae40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4da0c8
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp dword [ecx + 4], 0
je 0x45aee0
cmp dword [ecx + 8], 0
je 0x45aee0
cmp dword [ecx + 0x38], 8
push esi
lea esi, [ecx + 0x24]
jb 0x45ae75
mov eax, dword [esi]
jmp 0x45ae77
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45aecc
cmp dword [esi + 0x14], 8
jb 0x45ae8a
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x24]
call fcn.00406df0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0049d550
add esp, 8
mov esi, eax
cmp dword [ebp - 0x10], 8
jb 0x45aebb
push dword [ebp - 0x24]
call fcn.004a46e7
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45b630
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3c]
lea eax, [ebx + 0x24]
push eax
call fcn.004052f0
xor eax, eax
mov dword [ebp - 4], 0
cmp word [0x4e0cd8], ax
lea ecx, [ebp - 0x3c]
setne al
push eax
push 0x4e0cd8
call fcn.00409070
xor ecx, ecx
mov eax, 4
cmp word [0x4e336c], cx
cmove eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push 0x4e336c
call fcn.00409070
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45b7df
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
cmp word [ebp - 0x260], ax
jne 0x45b6fa
xor ecx, ecx
jmp 0x45b712
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b703
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405410
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0045b190
cmp dword [ebp - 0x10], 8
mov byte [ebp - 4], 0
jb 0x45b746
push dword [ebp - 0x24]
call fcn.004a46e7
add esp, 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x28c]
push eax
push esi
call edi
test eax, eax
je 0x45b7d7
nop
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
cmp word [ebp - 0x260], ax
je 0x45b795
lea eax, [ebp - 0x260]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b786
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x24]
call fcn.00405410
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0045b190
cmp dword [ebp - 0x10], 8
mov byte [ebp - 4], 0
jb 0x45b7c9
push dword [ebp - 0x24]
call fcn.004a46e7
add esp, 4
lea eax, [ebp - 0x28c]
push eax
push esi
call edi
test eax, eax
jne 0x45b760
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
cmp dword [ebp - 0x28], 8
pop esi
pop ebx
jb 0x45b7f2
push dword [ebp - 0x3c]
call fcn.004a46e7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45d1c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.0040b520
cmp word [eax], 0
je 0x45d21d
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.0040b520
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45d21d
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x51731c]
test al, 1
jne 0x45d23b
or eax, 1
mov dword [0x51731c], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x517318], eax
jmp 0x45d240
mov eax, dword [0x517318]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x45d260
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x517318]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push str.c_a2A
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x45d291
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x45d29d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45e960
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
cmp dword [esi + 0x894], 0
je 0x45ea6d
cmp dword [esi + 0x8f4], 0
jne 0x45ea6d
call fcn.0045ea80
mov eax, dword [esi + 0x898]
test eax, eax
je 0x45e9a2
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [ebp + 8], 0
je 0x45ea61
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x45ea3a
mov eax, dword [esi + 0x894]
push 0
push 0
push 0
mov dword [ebp - 0x20c], eax
lea eax, [ebp + 8]
push 0xba
push eax
call fcn.0047f650
push dword [eax]
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.004a6546
mov edx, dword [ebp + 8]
add esp, 0x20
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
push 0x4924c0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0
push 0
push 0x10
push dword [esi + 0x894]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push eax
push dword [esi + 0x894]
call fcn.0049f950
add esp, 8
test eax, eax
je 0x45ea61
mov dword [esi + 0x898], 0
mov dword [esi + 0x894], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x461b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d72eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x34
mov esi, ecx
call fcn.004a46ec
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x461bad
mov ecx, eax
call fcn.004825f0
jmp 0x461baf
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14c8], eax
call fcn.004826d0
mov eax, dword [esi + 0x14c8]
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
push 5
call dword [eax + 4]
mov dword [esi + 0x14c0], eax
test eax, eax
jne 0x461bf8
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.004830e0
push dword [esi + 0x14c0]
mov ecx, dword [esi + 0x1494]
call fcn.00439be0
test eax, eax
je 0x461be7
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 4]
mov dword [esi + 0x14c4], eax
test eax, eax
je 0x461be7
mov ecx, eax
call fcn.00481990
push dword [esi + 0x14c4]
mov ecx, dword [esi + 0x1494]
call fcn.00439bc0
mov ecx, dword [ebp - 0xc]
neg eax
pop esi
sbb eax, eax
mov dword fs:[0], ecx
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x462850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d908b
push eax
mov eax, 0x32ec
mov dword fs:[0], esp
call fcn.004a7790
cmp dword [0x515cc0], 0
push esi
mov esi, ecx
jne 0x462907
push 0
push str.notifyiconoverflowwindow
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x46289c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x32f8]
call fcn.004467d0
push 0
push dword [esi + 0x8f8]
lea ecx, [ebp - 0x32f8]
mov dword [ebp - 4], 0
push 0x4da
push dword [0x516880]
call fcn.0042d410
mov eax, dword [esi + 0x894]
test eax, eax
je 0x4628e1
push 0
push eax
call fcn.0049de70
add esp, 8
lea ecx, [ebp - 0x32f8]
mov dword [ebp - 4], 0xffffffff
call fcn.00446880
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x8c0]
test eax, eax
je 0x46291c
push 0
push eax
call fcn.0049de70
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret