joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412700
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6432bb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb0]
xor edi, edi
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], ax
mov dword [esp + 0xa8], edi
mov esi, dword [esp + 0xb4]
cmp esi, 0x34
jle 0x41277b
mov eax, dword [0x75dc58]
cmp eax, edi
jne 0x412773
mov eax, 0x75dc5c
push edi
push str.idmmzcc3.xpi
jmp 0x4127aa
cmp esi, 0x1a
jle 0x412796
mov eax, dword [0x75dc58]
cmp eax, edi
jne 0x41278e
mov eax, 0x75dc5c
push edi
push str.idmmzcc2.xpi
jmp 0x4127aa
mov eax, dword [0x75dc38]
cmp eax, edi
jne 0x4127a4
mov eax, 0x75dc3c
push edi
push str.idmmzcc5
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402320
cmp esi, 0x1a
mov ecx, 0x7523c0
jg 0x4127c8
mov ecx, 0x752370
lea edx, [esp + 0x1c]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, di
jne 0x4127d0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040fc50
add esp, 4
cmp esi, 0x34
jle 0x41280e
lea edx, [esp + 0x1c]
push 0x32
push edx
call fcn.00621ce0
add esp, 8
cmp eax, edi
je 0x41280e
mov ecx, 0x33
mov word [eax], cx
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, edi
jne 0x41281c
lea eax, [esp + 0x14]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412820
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x412839
lea ecx, [esp + 0x14]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push edi
lea eax, [esp + 0x2c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x412855
lea edi, [eax + 1]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0062016f
add esp, 0x9c
ret
Function at 0x4128a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6432fb
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor edi, edi
push edi
push str.SoftwareMozillaFirefoxExtensions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x412901
xor eax, eax
jmp 0x4129cc
xor ecx, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], edi
mov word [esp + 0x14], cx
mov dword [esp + 0xa8], edi
mov eax, dword [0x75dc38]
cmp eax, edi
jne 0x412925
mov eax, 0x75dc3c
push edi
push str.idmmzcc5
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402320
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x752370]
mov word [esp + eax + 0x1c], cx
add eax, 2
cmp cx, di
jne 0x412940
lea edx, [esp + 0x1c]
push edx
call fcn.0040fc50
mov edx, dword [esp + 0x14]
add esp, 4
mov eax, edx
cmp edx, edi
jne 0x41296f
lea eax, [esp + 0x14]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412972
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, edi
jne 0x41298b
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4129ab
lea edi, [eax + 1]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, edi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0062016f
add esp, 0xa0
ret
Function at 0x412a00
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64334b
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x75dc58]
cmp eax, ebx
jne 0x412a47
mov eax, 0x75dc5c
push str.idmmzcc.xpi
push eax
push 0x67c1a4
lea eax, [ebp - 0x234]
push eax
call fcn.0040fbb0
add esp, 0x10
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x412b9b
push 0x44
push ebx
lea edx, [ebp - 0x294]
push edx
call fcn.00620850
add esp, 0xc
mov dword [ebp - 0x294], 0x44
mov dword [ebp - 0x268], 3
mov eax, 5
mov word [ebp - 0x264], ax
mov dword [ebp - 0x27c], 0x12c
mov dword [ebp - 0x278], 0xc8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor ecx, ecx
mov word [ebp - 0x1c], cx
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x234]
push edx
push esi
push str.__s____s_
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x412aed
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x294]
push edx
push ebx
push ebx
push 0x30
push 1
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x412bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
xor ecx, ecx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 2
push ebx
push ebx
lea edx, [ebp - 0x240]
push edx
push 0x400
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push ebx
mov eax, dword [ebp - 0x240]
push eax
push str.Cannot_start_browser._r_n_s
lea ecx, [ebp - 0x2c]
call fcn.004021b0
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x412b70
lea eax, [ebp - 0x28]
push 0x50030
push 0x678d88
push eax
push ebx
call fcn.00473630
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
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 - 0x14]
xor ecx, ebp
call fcn.0062016f
mov esp, ebp
pop ebp
ret 4
push 0x1388
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24c]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [ebp - 0x250]
push ecx
call esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov eax, 1
jmp 0x412b9d
Function at 0x412ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6433cb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov esi, dword [esp + 0x448]
mov edi, dword [esp + 0x44c]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], ax
mov dword [esp + 0x440], eax
mov eax, dword [0x75dc58]
test eax, eax
jne 0x412f2e
mov eax, 0x75dc5c
push 0
push str.IDMMsgHost.json
push eax
push 0x678de0
lea ecx, [esp + 0x28]
call fcn.00402320
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413030
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0x679c78
push ecx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412fab
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x412f96
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0062567a
add esp, 8
test eax, eax
jne 0x412fab
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x413030
call fcn.00448070
test eax, eax
je 0x413030
lea ecx, [esp + 0x10]
push ecx
push 0x20119
xor ebx, ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413030
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push 0x679c78
push ecx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x413025
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x413010
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.0062567a
add esp, 8
test eax, eax
jne 0x413025
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x440], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00401210
mov eax, ebx
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.0062016f
add esp, 0x434
ret
Function at 0x413070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643408
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401980
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARENetscapeNetscape_6
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41324a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41324a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41324a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41324a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41324a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413183
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x4131b3
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4131a0
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4131c0
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017f0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41324c
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 + 0x244]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x413280
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401980
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4132e4
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0062016f
add esp, 0x214
ret 4
mov eax, dword [esp + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory
mov edi, 0x208
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x413391
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x41335e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x413391
xor eax, eax
jmp 0x4133fc
lea ecx, [esp + 0x14]
push 0x67c330
push ecx
call fcn.0062247b
add esp, 8
test eax, eax
je 0x413416
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0061fc83
add esp, 8
test eax, eax
je 0x413391
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
jmp 0x4133a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4133a0
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x4133d4
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4133c0
mov edx, dword [0x679980]
mov dword [edi], edx
push 0
push str.ProgramPlugins_
lea eax, [esp + 0x1c]
push eax
push 0x678de0
mov ecx, ebx
call fcn.00402320
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0062016f
add esp, 0x214
ret 4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.Last_Directory2
push ecx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x413391
xor eax, eax
jmp 0x4133fc
Function at 0x413440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401980
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREmozilla.orgMozilla
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41361a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41361a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41361a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41361a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41361a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413553
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x413583
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413570
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x413590
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017f0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41361c
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 + 0x244]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x413650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x248]
sub esp, 0x248
push 0xffffffffffffffff
push 0x643468
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x244], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x250]
mov dword [ebp - 4], 0
push 0
push 0x67997c
mov ecx, ebx
call fcn.00401980
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWARENetscapeNetscape
push 0x80000002
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call esi
test eax, eax
jne 0x41382a
mov dword [ebp - 0x18], 0x32
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp + 0x210]
push edx
push eax
push eax
push str.CurrentVersion
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41382a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
lea edx, [ebp + 0x210]
push edx
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x41382a
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.Main
mov edx, dword [ebp - 0x14]
push edx
call esi
test eax, eax
jne 0x41382a
mov dword [ebp - 0x18], 0x208
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push str.Install_Directory
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41382a
lea eax, [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413763
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 + 6], 0x5c
je 0x413793
lea edi, [ebp + 8]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413780
mov eax, dword [0x679980]
mov dword [edi], eax
lea eax, [ebp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4137a0
mov ecx, dword [str.Plugins_]
mov dword [eax], ecx
mov edx, dword [0x67c2b0]
mov dword [eax + 4], edx
mov ecx, dword [0x67c2b4]
mov dword [eax + 8], ecx
mov edx, dword [0x67c2b8]
mov dword [eax + 0xc], edx
mov cx, word [0x67c2bc]
mov word [eax + 0x10], cx
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004017f0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x41382c
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 + 0x244]
xor ecx, ebp
call fcn.0062016f
add ebp, 0x248
mov esp, ebp
pop ebp
ret 4
Function at 0x414330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x643578
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], cx
mov dword [esp + 0x80], ebx
push ebx
push eax
push 0x678ea8
lea ecx, [esp + 0x34]
call fcn.004021b0
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41439c
lea eax, [esp + 0x2c]
push 0x5c
push eax
call fcn.0061fc83
add esp, 8
cmp eax, ebx
je 0x4143b1
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], ax
mov byte [esp + 0x80], 1
cmp dword [esp + 0x8c], 3
mov ecx, str.ProgramPlugins_
je 0x4143dc
mov ecx, str.Plugins_
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x4143e8
lea eax, [esp + 0x2c]
push ebx
push ecx
push eax
push 0x678de0
lea ecx, [esp + 0x2c]
call fcn.00402320
mov eax, 2
xor ecx, ecx
mov dword [0x7534c8], eax
lea edi, [eax - 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], cx
mov byte [esp + 0x80], al
lea esp, [esp]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x41442c
lea esi, [esp + 0x20]
push ebx
push 0xa
lea edx, [esp + 0x3c]
push edx
push edi
call fcn.00622ed2
add esp, 0xc
push eax
push esi
push str._sNP_IDM_d.dll
lea ecx, [esp + 0x20]
call fcn.00402320
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x414459
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab580
add esp, 8
test eax, eax
je 0x414482
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x414474
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab3e0
add esp, 8
inc edi
jmp 0x414420
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x41448e
lea eax, [esp + 0x20]
push ebx
push str.NPIDMan1.dll
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402320
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4144af
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab580
add esp, 8
test eax, eax
jne 0x4144d5
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x4144ca
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab3e0
add esp, 8
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4144e1
lea eax, [esp + 0x20]
push ebx
push str.NPIDMan2.dll
push eax
push 0x678de0
lea ecx, [esp + 0x20]
call fcn.00402320
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x414502
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab580
add esp, 8
test eax, eax
jne 0x414528
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x41451d
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004ab3e0
add esp, 8
mov dword [0x7534c8], 1
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x10]
call fcn.00401210
mov byte [esp + 0x80], bl
lea ecx, [esp + 0x1c]
call fcn.00401210
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0062016f
add esp, 0x74
ret 0x10
Function at 0x414590
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6435a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, edi
jne 0x4145e4
mov eax, 0x75dc3c
push edi
push ecx
push eax
push str._s_sinstall.rdf
lea ecx, [ebp - 0x20]
call fcn.00402320
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x4145fe
lea eax, [ebp - 0x1c]
push edi
push 0x8000080
push 4
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414643
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062016f
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, edi
je 0x4146f9
push edi
push edi
push edi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4146f2
push str._em:updateURL_
push edi
call fcn.00621810
add esp, 8
test eax, eax
je 0x4146ab
mov ecx, dword [0x67c6b8]
mov dword [eax], ecx
mov edx, dword [0x67c6bc]
mov dword [eax + 4], edx
mov ecx, dword [0x67c6c0]
mov dword [eax + 8], ecx
mov dx, word [0x67c6c4]
mov word [eax + 0xc], dx
push str.__em:updateURL_
push edi
call fcn.00621810
add esp, 8
test eax, eax
je 0x4146eb
mov ecx, dword [0x67c698]
mov dword [eax], ecx
mov edx, dword [0x67c69c]
mov dword [eax + 4], edx
mov ecx, dword [0x67c6a0]
mov dword [eax + 8], ecx
mov dx, word [0x67c6a4]
mov word [eax + 0xc], dx
mov cl, byte [0x67c6a6]
mov byte [eax + 0xe], cl
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x414627