Function at 0x100d5990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov ebx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x1c]
mov eax, dword [0x1038100c]
xor eax, ebp
mov dword [esp + 0xe8], eax
mov edi, 0x84
push edi
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
push edi
push 0
mov dword [esp + 0x10], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
cmp edi, eax
je 0x100d5b82
lea eax, [edi + 0x38]
mov dword [esp + 4], eax
push eax
call fcn.10276740
add esp, 4
test eax, eax
je 0x100d5a64
xor esi, esi
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x90]
cmp eax, 0xffffffff
jne 0x100d5a14
mov dword [edi + 0x90], 0
xor eax, eax
mov edi, dword [ebx]
mov edx, dword [edi + 4]
cmp byte [edx + 0xd], 0
jne 0x100d5e85
add eax, esi
mov ecx, edi
xor ebx, ebx
cmp dword [edx + 0x10], eax
cmovae ecx, edx
setb bl
mov edx, dword [edx + ebx*8]
cmp byte [edx + 0xd], 0
je 0x100d5a27
cmp ecx, edi
je 0x100d5e85
cmp eax, dword [ecx + 0x10]
jb 0x100d5e85
inc esi
push dword [esp + 4]
call fcn.10276740
add esp, 4
cmp esi, eax
mov ebx, dword [ebp + 0x20]
mov edi, dword [esp + 0x10]
jb 0x100d59fd
mov esi, dword [edi]
mov edx, dword [edi + 0x94]
mov cl, byte [edi + 0x9c]
mov eax, 0xa
cmp esi, 0x9063
je 0x100d5af8
cmp esi, 0x9058
je 0x100d5ac4
cmp esi, 0x904d
jne 0x100d5b62
cmp edx, 0x8813
jle 0x100d5b2c
cmp edx, 0x8814
je 0x100d5b3c
cmp edx, 0x8f97
je 0x100d5b48
cmp edx, 0x881a
je 0x100d5b3c
jmp 0x100d5b62
lea esi, [edx - 0x8d82]
cmp esi, 0xc
ja 0x100d5ae1
mov byte [esp + 4], cl
mov ecx, 0x1041
bt ecx, esi
mov cl, byte [esp + 4]
jb 0x100d5ae9
cmp edx, 0x8235
jne 0x100d5b62
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax*4]
add eax, 4
jmp 0x100d5b62
lea esi, [edx - 0x8d70]
cmp esi, 0xc
ja 0x100d5b15
mov byte [esp + 4], cl
mov ecx, 0x1041
bt ecx, esi
mov cl, byte [esp + 4]
jb 0x100d5b1d
cmp edx, 0x8236
jne 0x100d5b62
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax*4]
add eax, 3
jmp 0x100d5b62
cmp edx, 0x8058
je 0x100d5b57
cmp edx, 0x822e
jne 0x100d5b62
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax*4]
jmp 0x100d5b62
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax*4]
add eax, 2
jmp 0x100d5b62
xor eax, eax
test cl, cl
sete al
lea eax, [eax + eax*4]
inc eax
lea eax, [eax + eax*2]
mov ecx, dword [esp + 8]
lea ecx, [ecx + eax*4]
push edi
call fcn.10222950
add edi, 0xb4
cmp edi, dword [esp + 0xc]
jne 0x100d59e3
mov eax, dword [ebp + 0x14]
movzx ecx, byte [ebp + 0x18]
mov dword [esp + 4], ecx
mov eax, dword [eax + ecx*4 + 0x24]
mov eax, dword [eax + 0x100]
mov ecx, dword [eax + 0x60]
lea edx, [esp + 0x18]
mov dword [edx], ecx
mov eax, dword [eax + 0x64]
lea ecx, [esp + 0x14]
mov dword [ecx], eax
lea edi, [esp + 0x70]
mov dword [edi - 0x50], 0x102b437c
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::ios_base::constructor_void_]
mov dword [edi], 0x102b4410
mov eax, dword [edi - 0x50]
mov eax, dword [eax + 4]
mov ecx, 0x102b4378
mov dword [esp + eax + 0x20], ecx
mov eax, dword [edi - 0x50]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x1c], ecx
lea ebx, [esp + 0x24]
mov eax, dword [ebx - 4]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], 0x102b441c
mov eax, dword [ebx - 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 8]
mov dword [esp + eax + 0x1c], ecx
mov eax, dword [ebx - 4]
lea esi, [esp + 0x20]
mov ecx, dword [eax + 4]
add ecx, esi
xor edi, edi
push edi
push ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::init_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, 0x102b4378
mov dword [esp + eax + 0x20], ecx
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x1c], ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi + 4], 0x102b4390
mov dword [esi + 0x3c], edi
mov ebx, esi
mov dword [esi + 0x40], 4
mov esi, dword [esp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0x20]
push esi
push edi
push ebx
push dword [esp + 0x1c]
call fcn.100d5f60
add esp, 0x1c
inc edi
add esi, 0xc
cmp edi, 0xa
jne 0x100d5c4c
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 4]
mov edi, dword [eax + ecx*4 + 0x24]
mov ecx, edi
call fcn.10078700
xor eax, eax
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov esi, dword [edi + 0x34]
cmp dword [edi + 0x38], 0xf
jbe 0x100d5ca2
mov edi, dword [edi + 0x24]
jmp 0x100d5ca5
add edi, 0x24
cmp esi, 0xf
ja 0x100d5e8f
movups xmm0, xmmword [edi]
movups xmmword [ebx], xmm0
mov eax, 0xf
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], eax
lea esi, [esp + 0xd0]
lea ecx, [esp + 0x24]
push esi
call fcn.100033e0
lea edi, [esp + 0xb8]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
sub esp, 0xc
mov al, byte [esp + 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], 0x102c4fa8
mov dword [esp], 0x2c
mov ecx, edi
call fcn.10001080
push esi
push edi
push ebx
call fcn.10227f90
add esp, 0xc
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
lea esi, [esp + 0x70]
jb 0x100d5d3e
mov eax, dword [esp + 0xb8]
inc ecx
cmp ecx, 0x1000
jae 0x100d5f16
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0xe4]
cmp ecx, 0x10
jb 0x100d5d68
mov eax, dword [esp + 0xd0]
inc ecx
cmp ecx, 0x1000
jae 0x100d5f31
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], 0x102b4378
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 0x1c], ecx
mov dword [esp + 0x24], 0x102b4390
test byte [esp + 0x60], 1
je 0x100d5dc6
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
test eax, eax
je 0x100d5eed
lea ecx, [esi - 0x1c]
mov ecx, dword [ecx]
add eax, dword [ecx]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
sub eax, ecx
cmp eax, 0x1000
jae 0x100d5efb
push ecx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
lea ecx, [esi - 0x4c]
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [eax], edx
mov eax, dword [esp + 0x40]
mov dword [eax], edx
mov eax, dword [esp + 0x50]
mov dword [eax], edx
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov eax, dword [esp + 0x44]
mov dword [eax], edx
mov eax, dword [esp + 0x54]
mov dword [eax], edx
mov dword [esp + 0x5c], edx
and byte [esp + 0x60], 0xfe
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.10223bc0
lea ecx, [esi + 0xc]
call fcn.10223bc0
lea ecx, [esi + 0x18]
call fcn.10223bc0
lea ecx, [esi + 0x24]
call fcn.10223bc0
lea ecx, [esi + 0x30]
call fcn.10223bc0
lea ecx, [esi + 0x3c]
call fcn.10223bc0
lea ecx, [esi + 0x48]
call fcn.10223bc0
lea ecx, [esi + 0x54]
call fcn.10223bc0
lea ecx, [esi + 0x60]
call fcn.10223bc0
lea ecx, [esi + 0x6c]
call fcn.10223bc0
mov ecx, esi
add ecx, 0x78
call fcn.10223bc0
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.1021e470
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.invalid_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
mov ecx, esi
or ecx, 0xf
mov eax, 0x7fffffff
cmp ecx, eax
cmovae ecx, eax
cmp ecx, 0xfff
mov dword [esp + 4], ecx
jae 0x100d5ed3
lea eax, [ecx + 1]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
lea ecx, [esi + 1]
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 4]
jmp 0x100d5cb9
lea eax, [ecx + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x100d5eb7
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
lea ecx, [esi - 0x20]
jmp 0x100d5da5
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x100d5f4c
mov ecx, eax
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x70]
jmp 0x100d5dbc
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100d5f4c
mov eax, ecx
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x70]
jmp 0x100d5d34
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x100d5f4c
mov eax, ecx
mov ebx, dword [ebp + 8]
lea esi, [esp + 0x70]
jmp 0x100d5d5e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3