joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bb60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x46bba4
push eax
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esi + 0x64]
xor edi, edi
mov ecx, esi
push dword [esi + 0x20]
cmp dword [esi + 0x244], edi
je 0x46bc0a
call fcn.004687f0
mov ecx, esi
test eax, eax
je 0x46bbf5
push dword [esi + 0x20]
call fcn.00468470
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
je 0x46bc17
call fcn.00465e80
test eax, eax
je 0x46bc2c
mov dword [esi + 0x64], 2
jmp 0x46bc27
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x20]
call fcn.00465fa0
test eax, eax
je 0x46bc2c
mov dword [esi + 0x64], edi
jmp 0x46bc27
call fcn.00468850
test eax, eax
je 0x46bc2c
mov ecx, esi
jmp 0x46bbce
call fcn.004657c0
test eax, eax
je 0x46bc2c
mov dword [esi + 0x64], 1
mov edi, 1
push dword [esi + 0x20]
mov ecx, esi
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
call fcn.004687f0
test eax, eax
je 0x46bc62
mov dword [esi + 0x228], 1
push dword [esi + 0x20]
mov ecx, esi
call fcn.00468850
test eax, eax
je 0x46bc7a
mov dword [esi + 0x22c], 1
push dword [esi + 0x20]
mov ecx, esi
call fcn.00468470
test eax, eax
je 0x46bc92
mov dword [esi + 0x230], 1
test edi, edi
je 0x46bb8c
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, dword [esi + 0x64]
je 0x46bcac
push 0
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x64]
sub eax, 0
je 0x46bd04
dec eax
je 0x46bcdf
dec eax
jne 0x46bd27
movdqu xmm0, xmmword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x24]
movdqu xmmword [eax], xmm0
call fcn.00469dd0
jmp 0x46bd27
movdqu xmm0, xmmword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x24]
movdqu xmmword [eax], xmm0
call fcn.00469d40
jmp 0x46bd27
movdqu xmm0, xmmword [ebp - 0x14]
sub esp, 0x10
mov ecx, esi
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x24]
movdqu xmmword [eax], xmm0
call fcn.00469e60
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46bb93
cmp dword [esi + 0x8c], 5
je 0x46bd48
push 8
push dword [esi + 0x3c]
call edi
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525878
mov esp, ebp
pop ebp
ret
Function at 0x478190
Capabilities:
Enumerate gui resources

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4781a5
push esi
push 0x477d40
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x1c]
cmp eax, 1
jne 0x4781c3
push esi
push 0x477d40
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret
cmp eax, 2
jne 0x4781e1
push esi
push 0x477d40
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret
cmp eax, 3
je 0x4781f5
cmp eax, 4
je 0x4781f5
cmp eax, 5
je 0x4781f5
cmp eax, 6
jne 0x478204
push esi
push 0x477d40
push dword [esi + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret

Function at 0x479100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0046d760
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xb
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov dword [eax], 1
call fcn.00477fe0
mov ecx, esi
call fcn.004793d0
mov ecx, esi
call fcn.00478800
push 0
push 0x3e8
push 1
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x47e970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566f30
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 6
jne 0x47ea7e
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x1c], xmm0
call edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0
call fcn.004cc100
push 3
push 0
lea eax, [ebp - 0x1c]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp dword [ebp - 0x14], 0xc8
jne 0x47ea74
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x2c], xmm0
call edi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.004cc1b0
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push dword [0x5ddf80]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x47ea6a
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x47ea6a
mov ecx, dword [edx + 0x10]
lea eax, [ebp + 8]
push eax
push edx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x47ea6a
mov eax, dword [ebp + 8]
test eax, eax
je 0x47ea6a
push 0
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x47fbc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x120], 0x11c
push 0xfe
push eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x10a]
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
call fcn.00525ee0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x47fc58
cmp dword [ebp - 0x11c], 6
jb 0x47fc58
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret
Function at 0x4814c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push str.Chrome_WidgetWin_1
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x480d40
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], 0
jne 0x481517
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
push 0x7d0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x481538
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x481a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567408
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x481a54
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x5de154
call fcn.0049cc40
or edi, 0xffffffff
test eax, eax
jne 0x481a84
xor ebx, ebx
jmp 0x481b47
push 0xb
push str.chrome.exe
lea ecx, [ebp - 0x10]
call fcn.00472540
push 0x57ed80
lea ecx, [ebp - 0x14]
call fcn.0045a3a0
push 0x38
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00525ee0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x44], str.open
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 5
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x481af8
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x481b27
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x481b47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x481b68
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 0x4825a0
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0xc
push ebx
test ecx, ecx
jne 0x4825bc
push ecx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
jmp 0x4825de
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x481230
mov dword [ebp - 4], 0
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 4]
test ebx, ebx
jne 0x4825ea
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 0xc]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x482615
lea eax, [edi + 3]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0x11
push ebx
call esi
push 1
push 1
push 0x16
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7d0
push edi
call esi
test eax, eax
jne 0x482653
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x482676
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
push 0x7d0
push edi
call esi
push edi
test eax, eax
je 0x482641
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4826a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5674e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x38
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00525ee0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov dword [ebp - 0x3c], str.open
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
xor eax, eax
cmp dword [ebp + 0x14], eax
sete al
lea eax, [eax*2 + 3]
mov dword [ebp - 0x2c], eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x48272b
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test ebx, ebx
je 0x482761
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x482761
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48276e
push ebx
call eax
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48278f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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 0x4831a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x4831c4
lea eax, [esi + 0x14]
push eax
push 0
push esi
push 0x482d90
push 0
push 0
call fcn.0052762d
add esp, 0x18
mov dword [esi + 4], eax
xor eax, eax
cmp dword [esi + 4], eax
pop esi
setne al
ret

Function at 0x487690
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x70], eax
test eax, eax
jne 0x4876ac
xor eax, eax
pop esi
ret
mov ecx, esi
call fcn.00486a60
test eax, eax
je 0x4876a8
lea eax, [esi + 0x78]
push eax
push 0
push esi
push 0x4876e0
push 0
push 0
call fcn.0052762d
xor ecx, ecx
mov dword [esi + 0x74], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
ret
Function at 0x48c9a0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x210], eax
test eax, eax
jne 0x48c9bf
xor eax, eax
pop esi
ret
mov ecx, esi
call fcn.0048bc80
test eax, eax
je 0x48c9bb
lea eax, [esi + 0x194]
push eax
push 0
push esi
push 0x48ca00
push 0
push 0
call fcn.0052762d
xor ecx, ecx
mov dword [esi + 0x214], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
ret
Function at 0x48e7f0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568476
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.00527d30
mov eax, dword [0x5d6b80]
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 eax, dword [ebp + 8]
lea ebx, [ecx + 0x1c]
push dword [ebx]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1020], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48e987
push 0x7fe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.00525ee0
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x48e987
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1014]
call fcn.0045a3a0
push 0x1d
push str.MozillaFirefoxprofiles.ini
lea ecx, [ebp - 0x1014]
mov dword [ebp - 4], 0
call fcn.00472540
push dword [ebp - 0x1014]
xor eax, eax
lea edi, [ebp - 0x810]
push 0x400
mov ecx, 0x200
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x810]
push eax
push 0x57a900
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x400
or esi, 0xffffffff
sub ecx, eax
cmp ecx, 2
jle 0x48e963
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1018]
call fcn.0045a3a0
push 0x57e140
push 0x580ed4
lea ecx, [ebp - 0x1018]
mov byte [ebp - 4], 1
call fcn.004601f0
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
push 0x580ed8
call fcn.004601f0
lea eax, [ebp - 0x1014]
mov ecx, ebx
push eax
call fcn.0045a580
mov edx, dword [ebp - 0x1018]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48e963
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1014]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x48e987
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebx]
sub ecx, 0x10
push ecx
call fcn.0045a950
mov ecx, dword [ebp - 0x101c]
add esp, 4
add eax, 0x10
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00525878
mov esp, ebp
pop ebp
ret 4
Function at 0x4902f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5d6b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x210]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push edx
push 0x20019
push 0
push eax
push ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x4903cb
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x214]
push eax
push edi
push edi
push edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
jne 0x4903cb
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4903cb
push esi
xor esi, esi
test eax, eax
je 0x4903ca
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x4903c1
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0045a6b0
inc esi
cmp esi, dword [ebp - 0x214]
jb 0x490380
pop esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.00525878
mov esp, ebp
pop ebp
ret
Function at 0x491a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5689b0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x5d6880]
lea ecx, [ebp - 0x14]
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0051eb70
add esp, 8
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x491aa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x491ba4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
push dword [0x5d68d4]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004902f0
add esp, 0xc
test eax, eax
je 0x491b89
cmp dword [ebp - 0x20], 0
jle 0x491b89
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x491b12
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 4
lea ecx, [eax - 1]
cmp ecx, eax
jb 0x491b37
push 0x80070057
call fcn.0045a8f0
mov eax, dword [ebp - 0x24]
push dword [eax + ecx*4]
lea eax, [ebp - 0x14]
push dword [0x5d68d4]
push str._s_sMain
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push dword [0x5d68d8]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00511e70
add esi, 0xfffffff0
mov byte [ebp - 4], 3
add esp, 0x20
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x491b89
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x491ba4
push dword [ebp - 0x20]
push eax
call fcn.0045a910
push dword [ebp - 0x24]
call fcn.0052616f
add esp, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x491bbf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x491bbf
mov ebx, 1
jmp 0x491bc1
xor ebx, ebx
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x491be2
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 0x492a10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568be8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00522350
call fcn.0045adc0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x492a60
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x492a8e
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
mov byte [ebp - 4], 1
jge 0x492ac4
push 0x104
lea ecx, [ebp + 8]
call fcn.0045b530
mov eax, dword [ebp + 8]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, dword [ebp + 8]
mov esi, eax
push dword [ecx - 8]
push ecx
call fcn.00526d13
mov edx, eax
add esp, 8
test edx, edx
js 0x492bdd
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x492bdd
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
test esi, esi
je 0x492b28
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._sMozilla_Firefox_browser_searchplugins
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, ebx
push edi
push eax
call fcn.00492bf0
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0048e7f0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp dword [esi - 0xc], 0
je 0x492b5e
push esi
lea eax, [ebp - 0x10]
push str._s_searchplugins
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, ebx
push edi
push eax
call fcn.00492bf0
xor ebx, ebx
mov byte [ebp - 4], 1
cmp dword [edi + 4], ebx
lea edx, [esi - 0x10]
lea ecx, [edx + 0xc]
setne bl
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x492b86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x492ba6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x492bc7
mov ecx, dword [edi]
push edi
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 4
push 0x80070057
call fcn.0045a8f0
int3