joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4221d8
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x46503d
call fcn.00452ab4
sub esp, 0x414
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
push ebx
push esi
push edi
mov edi, ecx
jb 0x422200
add eax, 4
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
jmp 0x422206
add eax, 4
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x18], 0x10
lea esi, [edi + 4]
jb 0x422213
mov ecx, dword [esi]
jmp 0x422215
mov ecx, esi
push eax
push ecx
push str.fs::CopyFileA_688
push str._s__in_s_out_s_
xor ebx, ebx
push ebx
call fcn.004418d2
add esp, 0x14
cmp dword [edi + 0x18], 0x10
jb 0x422234
mov esi, dword [esi]
push ebx
mov edi, 0x80
push edi
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileA]
call esi
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x422330
cmp eax, 0xffffffff
je 0x422329
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
mov eax, dword [ebp - 0x10]
jb 0x422273
mov eax, dword [eax]
push ebx
push edi
push 2
push ebx
push ebx
push 0x40000000
push eax
call esi
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x422319
cmp eax, 0xffffffff
je 0x422326
push ebx
push dword [ebp - 0x18]
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
mov edi, 0x400
jmp 0x4222e3
cmp dword [ebp - 0x14], ebx
jbe 0x4222f9
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x422310
mov eax, dword [ebp - 0x14]
add dword [ebp + 8], eax
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x4222b9
mov eax, dword [ebp - 0x20]
cmp dword [ebp + 8], eax
jb 0x422310
push str.__ok
push ebx
call fcn.004418d2
pop ecx
pop ecx
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, bl
jmp 0x422332
push eax
jmp 0x422313
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4227bc
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x464222
call fcn.00452ab4
sub esp, 0x40
and dword [ebp - 0x14], 0
cmp dword [esi + 0x18], 0x10
jb 0x4227d8
mov eax, dword [esi + 4]
jmp 0x4227db
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
xor ebx, ebx
inc ebx
test eax, eax
je 0x422833
push 0x4796fc
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00418a32
push dword [ebp + 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00418bb5
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], 3
jb 0x422822
mov eax, dword [eax + 4]
jmp 0x422825
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [ebp - 0xd], bl
je 0x422837
mov byte [ebp - 0xd], 0
test byte [ebp - 0x14], 2
je 0x42284c
and dword [ebp - 0x14], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.0041b413
test byte [ebp - 0x14], bl
je 0x42285c
push 0
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42286c
Capabilities:
Get file size

Disassembly:
cmp dword [eax + 0x18], 0x10
jb 0x422877
mov eax, dword [eax + 4]
jmp 0x42287a
add eax, 4
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
test esi, esi
je 0x4228ad
cmp esi, 0xffffffff
je 0x4228ad
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
jmp 0x4228af
xor ebx, ebx
test esi, esi
je 0x4228ba
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x42290e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 0x10
push edi
lea edi, [esi + 4]
jb 0x42292d
mov eax, dword [edi]
jmp 0x42292f
mov eax, edi
lea ecx, [ebp - 4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x422952
mov ecx, dword [ebp + 8]
push 0x472e5a
call fcn.0041c1c2
jmp 0x4229ec
push ebx
push eax
call fcn.0044ef98
cmp dword [esi + 0x18], 0x10
pop ecx
mov ebx, eax
jb 0x422964
mov edi, dword [edi]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x4796fc
push ebx
call sub.VERSION.dll_VerQueryValueA
push 0x3f
pop ecx
mov byte [ebp - 0x10c], 0
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov ecx, 0xffff
and edx, ecx
push edx
movzx edx, word [eax + 0xe]
push edx
mov edx, dword [eax + 8]
movzx eax, word [eax + 0xa]
and edx, ecx
push edx
push eax
push str._d._d._d._d
lea eax, [ebp - 0x10c]
push 0xff
push eax
call fcn.00451da8
push ebx
call fcn.0045012d
mov ecx, dword [ebp + 8]
add esp, 0x20
lea eax, [ebp - 0x10c]
push eax
call fcn.0041c1c2
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret
Function at 0x424b84
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [esi], edi
mov dword [esi + 8], eax
call fcn.0041c33e
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [esi + 0x28], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x2c], eax
cmp dword [edi], ebx
je 0x424be8
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [esi + 0x38], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x424c37
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov eax, esi
pop ebx
pop ebp
ret 8
Function at 0x42568d
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x4256d6
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateEventA]
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x18], eax
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
push edi
push 4
push esi
push 0x4259d0
push edi
push edi
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
pop ebx
pop edi
ret

Function at 0x4256d8
Capabilities:
Terminate thread

Disassembly:
cmp dword [esi + 0x14], 0
je 0x425710
push edi
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x3e8
push eax
call edi
test eax, eax
je 0x42570f
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push 0xffffffffffffffff
push dword [esi + 0x14]
call edi
pop edi
ret

Function at 0x4258b7
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, 0x4641ed
call fcn.00452ab4
sub esp, 0x6c
push ebx
push esi
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x14]
push 0x2710
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call esi
mov ebx, 0x102
jmp 0x42591f
and dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
test al, al
je 0x425985
push 0x2710
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call esi
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4258f7
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
cmp dword [ebp - 0x10], 0
jne 0x42594c
cmp dword [edi + 0x28], 0
ja 0x42594c
mov ecx, dword [ebp - 0xc]
mov al, byte [edi + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 0x472e5a
lea ecx, [ebp - 0x5c]
call fcn.0041c1c2
push 0xc353
push 1
lea eax, [ebp - 0x5c]
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.00430388
mov byte [ebp - 4], 3
push dword [edi + 0x28]
push str.InetRequestCtx::WorkerThread
push str._s_failed__err_d
jmp 0x4259c0
mov esi, edi
call fcn.004256d8
push 0x472e5a
lea ecx, [ebp - 0x78]
call fcn.0041c1c2
and dword [ebp - 4], 0
push 0xc353
push 1
lea eax, [ebp - 0x78]
lea esi, [ebp - 0x40]
call fcn.00430388
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push str.InetRequestCtx::WorkerThread
push str._s_timeout__conn.type_d_
push eax
call fcn.0041ba49
add esp, 0x10
mov ecx, eax
jmp fcn.0041c220
Function at 0x4260af
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.fs::ShowCriticalErrorBox
xor ebx, ebx
push ebx
call fcn.004418d2
cmp byte [0x490709], bl
pop ecx
pop ecx
jne 0x42610f
cmp byte [ebp + 8], bl
push esi
je 0x4260e3
mov esi, dword [0x490700]
cmp esi, ebx
je 0x4260e3
push ebx
call fcn.00409cd7
jmp 0x4260e5
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x426112
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
cmp esi, ebx
je 0x42610e
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebx
leave
ret
Function at 0x428f0a
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x468a6e
call fcn.00452ab4
sub esp, 0x78
push ebx
push esi
push edi
mov esi, str.fs::FF_SetDefaultSearch_2663
push esi
mov ebx, ecx
call fcn.00450e4d
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x428f44
mov eax, dword [eax + 4]
jmp 0x428f47
add eax, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 0x10
jb 0x428f55
mov edx, dword [edx + 4]
jmp 0x428f58
add edx, 4
push ecx
push eax
push edx
push esi
push str.___s__name_s_fn_s_len_xml__d_
push edi
call fcn.004418d2
add esp, 0x18
cmp dword [ebx + 0x14], edi
jbe 0x428f8c
push ebx
call fcn.00428a52
test al, al
pop ecx
je 0x428f8c
push str.__skip_FF_search_setting
push edi
call fcn.004418d2
pop ecx
pop ecx
jmp 0x4290d1
push str._FFProfile_
lea ecx, [ebp - 0x68]
call fcn.0041c1c2
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
lea eax, [ebp - 0x30]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.00422b9f
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.0041b413
cmp dword [ebp - 0x1c], edi
je 0x4290c7
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0041c33e
mov ecx, dword [ebp + 8]
push ebx
call fcn.0042bbed
push str._searchplugins_
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00418a32
push dword [ebp + 0x10]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00418bb5
add esp, 0x18
push edi
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.0041b413
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x429025
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42903e
push str.__search_xml_exists_already
push edi
call fcn.004418d2
pop ecx
jmp 0x42907f
push str._searchplugins
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00418a32
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x42905e
mov eax, dword [eax + 4]
jmp 0x429061
add eax, 4
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push edi
push ebx
lea ecx, [ebp - 0x68]
call fcn.0041b413
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00421eb0
pop ecx
push str.user_pref__browser.search.selectedEngine_____1___
lea ecx, [ebp - 0x68]
call fcn.0041c1c2
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.0042a517
add esp, 0x10
push edi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0041b413
push dword [ebp + 8]
mov eax, ebx
call fcn.0042bf9e
push edi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.0041b413
push edi
lea ecx, [ebp - 0x30]
push ebx
call fcn.0041b413
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x10]
call fcn.0041bdf9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x429af3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x46601b
call fcn.00452ab4
sub esp, 0x254
push ebx
push esi
push edi
mov esi, str.fs::FF_getExePath_2891
push esi
call fcn.00450e4d
mov dword [ebp - 0x24], eax
push esi
xor edi, edi
push 0x475f78
push edi
mov dword [ebp - 4], edi
call fcn.004418d2
add esp, 0x10
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov ebx, 0x20019
push ebx
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041bd2f
test eax, eax
jne 0x429cf5
push 0x3f
pop ecx
mov byte [ebp - 0x260], al
lea edi, [ebp - 0x25f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.CurrentVersion
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x260]
mov dword [ebp - 0x10], 0xff
call fcn.0041f8be
test eax, eax
jne 0x429cf5
mov eax, edi
push eax
push str.__ff_ver:__s
xor esi, esi
push esi
call fcn.004418d2
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, esi
je 0x429bad
mov eax, edi
push eax
call fcn.0041bbeb
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041c1c2
push str.Main
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 3
call fcn.00418a32
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x429be7
mov eax, dword [eax + 4]
jmp 0x429bea
add eax, 4
push ebx
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.0041bd2f
mov ebx, eax
neg ebx
sbb bl, bl
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x5c]
inc bl
call fcn.0041b413
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041b413
test bl, bl
je 0x429ced
push 0x40
xor eax, eax
cmp dword [ebp + 8], esi
mov byte [ebp - 0x160], 0
pop ecx
lea edi, [ebp - 0x15f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x104
stosb byte es:[edi], al
mov dword [ebp - 0x10], ebx
je 0x429c8c
push str.PathToExe
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x160]
call fcn.0041f8be
test eax, eax
jne 0x429c8c
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x429c8c
mov eax, edi
push eax
push str.__ff_exe:__s
push 0
call fcn.004418d2
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, edi
push eax
call fcn.0041bbeb
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x10], ebx
je 0x429ce1
push str.Install_Directory
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x160]
call fcn.0041f8be
test eax, eax
jne 0x429ce1
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x429ce1
mov eax, edi
push eax
push str.__ff_dir:__s
push 0
call fcn.004418d2
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov eax, edi
push eax
call fcn.0041bbeb
lea esi, [ebp - 0x18]
call fcn.0041b553
mov bl, 1
jmp 0x429cf7
lea esi, [ebp - 0x18]
call fcn.0041b553
xor bl, bl
lea esi, [ebp - 0x20]
call fcn.0041b553
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x24]
call fcn.0041bdf9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42aff2
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x467368
call fcn.00452ab4
sub esp, 0x88
push ebx
push esi
push edi
mov esi, str.fs::Action_InstallCrx_3167
mov dword [ebp - 0x10], esp
push esi
mov edi, ecx
call fcn.00450e4d
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 0x10
jb 0x42b02e
add eax, 4
mov edx, dword [eax]
jmp 0x42b033
add eax, 4
mov edx, eax
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x18], eax
jb 0x42b041
mov ecx, dword [edi + 4]
jmp 0x42b044
lea ecx, [edi + 4]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x42b052
mov eax, dword [eax + 4]
jmp 0x42b055
add eax, 4
push edx
push ecx
push eax
push esi
push str.___s__id_s_f_s_v_s_
push ebx
call fcn.004418d2
add esp, 0x18
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x40], 0xf
call fcn.0041acc8
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.00429a38
cmp al, bl
pop ecx
je 0x42b1c9
cmp dword [ebp - 0x44], ebx
je 0x42b1c9
mov esi, dword [ebp + 8]
push edi
lea eax, [esi + 0x28]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00418bb5
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x42b0ba
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42b0da
push str.__no_file
push ebx
call fcn.004418d2
pop ecx
xor edi, edi
pop ecx
inc edi
jmp 0x42b1bb
push esi
lea ecx, [ebp - 0x3c]
call fcn.00421874
mov esi, 0x20006
call fcn.004303e7
test al, al
je 0x42b0f6
mov esi, 0x20206
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str.SOFTWAREGoogleChromeExtensions_
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0041c1c2
push dword [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00418bb5
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x42b12f
mov eax, dword [eax + 4]
jmp 0x42b132
add eax, 4
push ebx
push esi
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
lea eax, [ebp - 0x20]
call fcn.0041b50a
push ebx
inc edi
push edi
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.0041b413
push ebx
push edi
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0041b413
cmp esi, ebx
je 0x42b179
push esi
push str.__fail_reg_create__err_d
push ebx
call fcn.004418d2
add esp, 0xc
jmp 0x42b1b3
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x42b185
lea eax, [ebp - 0x38]
push edi
push eax
push 0x475280
lea eax, [ebp - 0x20]
push eax
call fcn.0041be41
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov eax, dword [ebp - 0x18]
jb 0x42b1a3
mov eax, dword [eax]
push edi
push eax
push str.version
lea eax, [ebp - 0x20]
push eax
call fcn.0041be41
lea esi, [ebp - 0x20]
call fcn.0041b553
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.0041b413
push ebx
push edi
jmp 0x42b1d9
push str.__no_gc
push ebx
call fcn.004418d2
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0041b413
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.0041bdf9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x42bfcd
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, 0x46732b
call fcn.00452ab4
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
imul eax, eax, 0x1c
push ebx
push esi
push edi
lea edi, [eax + ecx]
lea esi, [edi + 0x88]
call fcn.004014d1
lea esi, [edi + 0xdc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.004014d1
mov edi, eax
movzx eax, byte [ebp + 0x10]
push edi
push dword [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
push str.fs::RunApp_3437
push str._s__app_d_must_d_u_k_d__d_
push ebx
call fcn.004418d2
add esp, 0x1c
cmp edi, ebx
jle 0x42c17e
cmp dword [ebp - 0x10], ebx
jle 0x42c03e
cmp byte [ebp + 0x10], bl
je 0x42c17e
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x42c14c
dec eax
je 0x42c0d5
dec eax
jne 0x42c16f
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.0041acc8
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.00429a38
xor edi, edi
inc edi
test al, al
pop ecx
je 0x42c0c6
cmp dword [ebp - 0x1c], ebx
je 0x42c0c6
lea eax, [ebp - 0x4c]
push eax
call fcn.00422376
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42c099
mov eax, dword [eax + 4]
jmp 0x42c09c
add eax, 4
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x42c0a8
lea ecx, [ebp - 0x2c]
push edi
push eax
push str.__restore_last_session
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.0041b413
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041b413
jmp 0x42c16f
lea eax, [ebp - 0x68]
push eax
call fcn.00422376
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42c0ea
mov eax, dword [eax + 4]
jmp 0x42c0ed
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x68]
call fcn.0041b413
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.0041acc8
push ebx
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 4], edi
call fcn.00429af3
add esp, 0xc
test al, al
je 0x42c0c6
cmp dword [ebp - 0x1c], ebx
je 0x42c0c6
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42c137
lea eax, [ebp - 0x2c]
push edi
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x42c0c6
mov esi, dword [ebp + 8]
lea edi, [esi + 0xdc]
push edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push esi
mov dword [ebp - 4], ebx
call fcn.0042c4b6
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], ebx
call fcn.00415a4f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x42c599
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x464f49
call fcn.00452ab4
sub esp, 0x40
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0x10
push edi
jb 0x42c5b5
mov eax, dword [esi + 4]
jmp 0x42c5b8
lea eax, [esi + 4]
push eax
push str.fs::OpenLinkInNewIE_3596
push str._s__url_s_
xor edi, edi
push edi
call fcn.004418d2
add esp, 0x10
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
push 0x46ce3c
push 4
push edi
push 0x46cdfc
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x10], edi
jne 0x42c618
push eax
push str.__cant_run_IE__hr0x_08x
push 1
call fcn.004418d2
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, edi
je 0x42c611
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x42c6aa
mov word [ebp - 0x20], di
push 0xfde9
lea eax, [ebp - 0x4c]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0044dd40
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x42c63d
mov eax, dword [eax + 4]
jmp 0x42c640
add eax, 4
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x30], di
call fcn.0041c287
lea edx, [ebp - 0x20]
push edx
push edx
push edx
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
call esi
push edi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00416bdc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
lea eax, [ebp - 0x20]
push eax
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x42c6a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret