Function at 0x100096e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [0x10014008]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edx, 0x19
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], 0
mov dword [ebp - 0x54], ecx
push str.i686plugin_container.exe
call fcn.1000b6a0
mov ecx, edi
add esp, 4
test edi, edi
je 0x100098b3
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
cmp edx, 7
jbe 0x1000973f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
xor ebx, ebx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], edi
lea eax, [ebx + ebx*2]
cmp dword [esi + eax*4 + 4], 0xffffffff
je 0x10009880
mov edi, dword [esi + eax*4]
mov eax, 7
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x40], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov ebx, eax
cmp eax, 7
ja 0x100097a5
mov eax, ebx
mov dword [ebp - 0x30], ebx
add eax, ebx
push eax
push edi
lea edi, [ebp - 0x40]
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [ebp + ebx*2 - 0x40], 0
jmp 0x100097b5
lea ecx, [ebp - 0x40]
mov edx, ebx
push edi
mov edi, ecx
call fcn.1000b6a0
add esp, 4
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x40]
mov ecx, edi
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x5c]
cmp eax, 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
cmova ecx, edx
sub ebx, edi
mov dword [ebp - 0x4c], ebx
jb 0x1000984e
test edi, edi
je 0x1000988b
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
cmova eax, dword [ebp - 0x44]
lea edx, [eax + edx*2 + 2]
mov dword [ebp - 0x60], edx
sub edx, ecx
je 0x1000984e
mov eax, dword [ebp - 0x54]
mov ebx, ecx
movzx eax, word [eax]
sar edx, 1
cmp word [ebx], ax
je 0x1000980e
add ebx, 2
dec edx
jne 0x10009801
jmp 0x1000984e
xor edx, edx
inc edx
cmp edi, edx
je 0x10009837
movzx edi, word [ebx + edx*2]
mov esi, dword [ebp - 0x54]
cmp di, word [esi + edx*2]
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp + 8]
lea edx, [edx + 1]
je 0x10009811
mov edx, dword [ebp - 0x60]
add ebx, 2
sub edx, ebx
jne 0x100097ff
jmp 0x1000984e
sub ebx, ecx
cmp ebx, 0xfffffffe
je 0x1000984e
sar ebx, 1
cmp ebx, dword [ebp - 0x4c]
jne 0x1000984e
mov al, 1
xor ebx, ebx
mov dword [ebp - 0x50], eax
jmp 0x10009850
mov bl, 1
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0xc]
cmp eax, 8
jb 0x10009876
lea ecx, [eax + eax + 2]
cmp ecx, 0x1000
jae 0x1000988f
push ecx
push dword [ebp - 0x44]
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [ebp + 0xc]
test bl, bl
mov edx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x58]
je 0x100098bd
inc ebx
cmp ebx, ecx
jne 0x1000974e
jmp 0x100098bd
xor ebx, ebx
jmp 0x10009840
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x100099ff
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
add ecx, ecx
add ecx, 0x25
jmp 0x10009867
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x50], 0
cmp edx, 8
jb 0x100098e2
mov eax, dword [ebp - 0x28]
lea ecx, [edx + edx + 2]
cmp ecx, 0x1000
jae 0x100099e1
push ecx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x50]
and al, 1
movzx eax, al
or eax, 4
cmp eax, ecx
sete bl
test ecx, ecx
je 0x100099c4
add esi, 4
mov edi, dword [esi]
cmp edi, 0xffffffff
jne 0x10009922
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10009917
push eax
mov edi, ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, edi
add esi, 0xc
dec ecx
jne 0x100098fd
jmp 0x100099c4
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ebx
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, 0x4000
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1000ba40
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
push 0x4000
push ecx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
mov edx, dword [ebp - 0x4c]
mov edi, eax
mov eax, dword [ebp - 0x40]
test edx, edx
jne 0x10009984
test eax, eax
movzx ebx, bl
cmove ebx, eax
test edi, edi
cmove ebx, edi
push dword [esi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x48]
jmp 0x10009904
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
sub eax, edx
cmp eax, 0x1000
jae 0x100099ad
push eax
push edx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
jmp 0x1000996a
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
sub edx, ecx
cmp edx, 0x20
jae 0x100099ff
mov ebx, dword [ebp - 0x44]
add eax, 0x23
mov edx, ecx
jmp 0x10009993
and bl, 1
mov byte [0x10014974], bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100113c0
mov eax, ebx
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov eax, dword [eax - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x100099ff
mov esi, dword [ebp + 8]
mov ecx, edx
add ecx, edx
add ecx, 0x25
jmp 0x100098d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3