Function at 0x411750
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, edx
mov edi, ecx
mov eax, dword [0x481014]
xor eax, ebp
mov dword [esp + 0x30], eax
mov byte [ecx + 4], 0
call fcn.004107e0
cmp ebx, 0x31c
je 0x411a63
cmp ebx, 0x488
jne 0x411d3b
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x18]
push 8
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ed7
mov dword [esp + 4], edi
mov edx, dword [edi + 0x10]
cmp byte [edx + 0x4e], 0
je 0x4117cc
cmp byte [edx + 0x4c], 0
je 0x4117cc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
bswap eax
bswap ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x18]
mov esi, 0xffffff00
mov eax, 0xffffff00
and eax, ebx
mov dword [esp + 0x14], eax
mov eax, 0x488
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x488
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
and esi, ebx
jne 0x41182b
lea edx, [esp + 0x14]
mov ecx, dword [esp + 8]
call fcn.00413060
test al, al
je 0x412ece
mov esi, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], 0
cmp esi, 0x1000000
jne 0x412ece
movq xmm0, qword [esp + 0x18]
movq qword [edi], xmm0
mov edx, edi
add edx, 8
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x10]
push 0x480
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test eax, eax
je 0x411897
cmp byte [eax + 4], 0
je 0x412ece
movzx eax, word [eax + 0x10]
cmp eax, 0x8002
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x411a42
cmp byte [eax + 0x4c], 0
je 0x411a42
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
bswap eax
bswap ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov ecx, dword [edi + 0x14]
bswap ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0x18]
mov edx, dword [edi + eax*8 + 0x1c]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0x18], edx
mov dword [edi + eax*8 + 0x1c], ecx
inc eax
cmp eax, 0x20
jne 0x4118d4
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
bswap eax
bswap ecx
mov dword [edi + 0x118], ecx
mov dword [edi + 0x11c], eax
mov eax, dword [edi + 0x120]
bswap eax
mov ecx, dword [edi + 0x124]
bswap ecx
mov dword [edi + 0x120], ecx
mov dword [edi + 0x124], eax
mov eax, dword [edi + 0x128]
bswap eax
mov ecx, dword [edi + 0x12c]
bswap ecx
mov dword [edi + 0x128], ecx
mov dword [edi + 0x12c], eax
mov eax, dword [edi + 0x130]
bswap eax
mov ecx, dword [edi + 0x134]
bswap ecx
mov dword [edi + 0x130], ecx
mov dword [edi + 0x134], eax
mov eax, dword [edi + 0x138]
bswap eax
mov ecx, dword [edi + 0x13c]
bswap ecx
mov dword [edi + 0x138], ecx
mov dword [edi + 0x13c], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0x140]
mov edx, dword [edi + eax*8 + 0x144]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0x140], edx
mov dword [edi + eax*8 + 0x144], ecx
inc eax
cmp eax, 0x20
jne 0x41197c
mov eax, dword [edi + 0x244]
bswap eax
mov dword [edi + 0x244], eax
xor eax, eax
mov ecx, dword [edi + eax + 0x250]
bswap ecx
mov edx, dword [edi + eax + 0x254]
bswap edx
mov dword [edi + eax + 0x250], edx
mov dword [edi + eax + 0x254], ecx
mov ecx, dword [edi + eax + 0x248]
mov edx, dword [edi + eax + 0x24c]
bswap ecx
bswap edx
mov dword [edi + eax + 0x248], edx
mov dword [edi + eax + 0x24c], ecx
add eax, 0x10
cmp eax, 0x200
jne 0x4119b2
mov eax, dword [edi + 0x450]
bswap eax
mov ecx, dword [edi + 0x454]
bswap ecx
mov dword [edi + 0x450], ecx
mov dword [edi + 0x454], eax
mov eax, dword [edi + 0x448]
mov ecx, dword [edi + 0x44c]
bswap eax
bswap ecx
mov dword [edi + 0x448], ecx
mov dword [edi + 0x44c], eax
mov eax, dword [edi + 0x468]
bswap eax
mov dword [edi + 0x468], eax
mov eax, dword [edi]
cmp dword [edi + 4], 0
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc], eax
jne 0x412ece
mov eax, dword [esp + 4]
mov dword [eax + 8], edi
mov edi, eax
jmp 0x412271
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x18]
push 8
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ed7
mov dword [esp + 4], edi
mov ebx, dword [edi + 0x10]
cmp byte [ebx + 0x4e], 0
je 0x411aa3
cmp byte [ebx + 0x4c], 0
je 0x411aa3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
bswap eax
bswap ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov esi, 0x31c
push esi
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xffffff00
and eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jne 0x411aee
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.00413060
test al, al
je 0x412ece
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], 0
cmp eax, 0x80000000
jne 0x412ece
movq xmm0, qword [esp + 0x18]
movq qword [edi], xmm0
lea edx, [edi + 8]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xc], edx
push 0x314
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x411b5b
cmp byte [eax + 4], 0
je 0x412ece
movzx eax, word [eax + 0x10]
cmp eax, 0x8003
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x411c4d
cmp byte [eax + 0x4c], 0
je 0x411c4d
xor ecx, ecx
mov edx, dword [edi + ecx*8 + 8]
mov esi, dword [edi + ecx*8 + 0xc]
bswap edx
bswap esi
mov dword [edi + ecx*8 + 8], esi
mov dword [edi + ecx*8 + 0xc], edx
inc ecx
cmp ecx, 0x21
jne 0x411b78
mov ecx, dword [edi + 0x110]
mov edx, dword [edi + 0x114]
bswap ecx
mov dword [edi + 0x110], ecx
bswap edx
mov dword [edi + 0x114], edx
mov ecx, dword [edi + 0x118]
bswap ecx
mov dword [edi + 0x118], ecx
xor ecx, ecx
mov dword [esp + 8], eax
cmp byte [eax + 0x4e], 0
je 0x411be5
cmp byte [eax + 0x4d], 0
je 0x411be5
mov ebx, dword [edi + ecx + 0x124]
mov esi, dword [edi + ecx + 0x11c]
mov edx, dword [edi + ecx + 0x120]
jmp 0x411c0f
mov edx, dword [edi + ecx + 0x128]
mov ebx, dword [edi + ecx + 0x11c]
mov esi, dword [edi + ecx + 0x120]
mov dword [edi + ecx + 0x128], esi
mov esi, dword [edi + ecx + 0x124]
mov dword [edi + ecx + 0x124], ebx
mov eax, dword [edi + ecx + 0x128]
bswap eax
mov dword [edi + ecx + 0x124], eax
bswap ebx
mov dword [edi + ecx + 0x128], ebx
bswap edx
mov dword [edi + ecx + 0x11c], edx
bswap esi
mov dword [edi + ecx + 0x120], esi
add ecx, 0x10
cmp ecx, 0x200
mov eax, dword [esp + 8]
jne 0x411bc2
push 0x390
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov eax, dword [edi]
xor ecx, ecx
test eax, 0x80000002
setne cl
lea ecx, [ecx + ecx*2]
xor edx, edx
test eax, 0x80000004
setne dl
shl edx, 2
or edx, ecx
or edx, 0x400000
mov dword [ebx], edx
mov esi, edx
mov eax, dword [edi + 0x110]
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push 0x108
push dword [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebx + 0x110]
mov ecx, edi
add ecx, 0x11c
push 0x200
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x118]
mov dword [ebx + 0x310], eax
mov eax, dword [edi + 0x114]
mov dword [ebx + 0x314], eax
xor eax, eax
mov dword [ebx + 0x388], eax
mov dword [ebx + 0x38c], eax
pxor xmm0, xmm0
movdqu xmmword [ebx + 0x378], xmm0
movdqu xmmword [ebx + 0x368], xmm0
movdqu xmmword [ebx + 0x358], xmm0
movdqu xmmword [ebx + 0x348], xmm0
movdqu xmmword [ebx + 0x338], xmm0
movdqu xmmword [ebx + 0x328], xmm0
movdqu xmmword [ebx + 0x318], xmm0
mov eax, dword [esp + 4]
mov dword [eax + 0xc], esi
mov dword [eax + 8], ebx
push edi
mov edi, eax
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x412271
lea edx, [esp + 0x14]
mov dword [edx], 0
mov ecx, dword [edi + 0x10]
call fcn.00413060
test al, al
je 0x412ed7
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x10]
cmp esi, 0x100000
jne 0x411dc4
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov esi, 0x4d0
push esi
mov ebx, ecx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, ebx
mov edx, edi
push esi
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
cmp byte [esi + 0x4e], 0
je 0x411e0b
cmp byte [esi + 0x4c], 0
je 0x411e0b
mov eax, dword [edi + 0x30]
bswap eax
mov dword [edi + 0x30], eax
jmp 0x411e0e
lea edx, [esp + 0x10]
push 4
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ed7
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x4e], 0
mov edx, dword [esp + 0x10]
je 0x411df3
cmp byte [ecx + 0x4c], 0
je 0x411df3
bswap edx
mov dword [esp + 0x10], edx
mov eax, edx
and eax, 0xffffff00
je 0x41227c
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x41228b
mov eax, dword [edi + 0x30]
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], eax
mov ecx, eax
and ecx, 0xffffff00
cmp ecx, 0x100000
jne 0x412ece
mov ecx, 0x308
movq xmm0, qword [edi + ecx - 8]
movq xmm1, qword [edi + ecx]
movq qword [edi + ecx], xmm0
movq qword [edi + ecx - 8], xmm1
add ecx, 0x10
cmp ecx, 0x4a8
jne 0x411e2f
cmp byte [esi + 0x4e], 0
je 0x412212
cmp byte [esi + 0x4c], 0
je 0x412212
mov eax, dword [edi]
mov ecx, dword [edi + 4]
bswap eax
bswap ecx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
bswap eax
mov ecx, dword [edi + 0xc]
bswap ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov ecx, dword [edi + 0x14]
bswap ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov ecx, dword [edi + 0x1c]
bswap ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
bswap eax
mov ecx, dword [edi + 0x24]
bswap ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
bswap eax
bswap ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x34]
bswap eax
mov dword [edi + 0x34], eax
rol word [edi + 0x38], 8
rol word [edi + 0x3a], 8
rol word [edi + 0x3c], 8
rol word [edi + 0x3e], 8
rol word [edi + 0x42], 8
mov eax, dword [edi + 0x44]
bswap eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
bswap eax
bswap ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
bswap eax
bswap ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], eax
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
bswap eax
bswap ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x64]
bswap eax
bswap ecx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], eax
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x6c]
bswap eax
bswap ecx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
bswap eax
bswap ecx
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
mov eax, dword [edi + 0x78]
mov ecx, dword [edi + 0x7c]
bswap eax
bswap ecx
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x84]
bswap eax
bswap ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0x8c]
bswap eax
bswap ecx
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x94]
bswap eax
bswap ecx
mov dword [edi + 0x90], ecx
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x9c]
bswap eax
bswap ecx
mov dword [edi + 0x98], ecx
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0xa4]
bswap eax
bswap ecx
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
mov ecx, dword [edi + 0xac]
bswap eax
bswap ecx
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xac], eax
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
bswap eax
bswap ecx
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
mov ecx, dword [edi + 0xbc]
bswap eax
bswap ecx
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xc0]
mov ecx, dword [edi + 0xc4]
bswap eax
bswap ecx
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xc4], eax
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xcc]
bswap eax
bswap ecx
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xcc], eax
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd4]
bswap eax
bswap ecx
mov dword [edi + 0xd0], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
bswap eax
bswap ecx
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xe0]
mov ecx, dword [edi + 0xe4]
bswap eax
bswap ecx
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xe4], eax
mov eax, dword [edi + 0xe8]
mov ecx, dword [edi + 0xec]
bswap eax
bswap ecx
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xf0]
mov ecx, dword [edi + 0xf4]
bswap eax
bswap ecx
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xf4], eax
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xfc]
bswap eax
bswap ecx
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xfc], eax
xor eax, eax
mov ecx, dword [edi + eax + 0x308]
bswap ecx
mov edx, dword [edi + eax + 0x30c]
bswap edx
mov dword [edi + eax + 0x308], edx
mov dword [edi + eax + 0x30c], ecx
mov ecx, dword [edi + eax + 0x300]
mov edx, dword [edi + eax + 0x304]
bswap ecx
bswap edx
mov dword [edi + eax + 0x300], edx
mov dword [edi + eax + 0x304], ecx
add eax, 0x10
cmp eax, 0x1a0
jne 0x41211d
mov eax, dword [edi + 0x4a0]
mov ecx, dword [edi + 0x4a4]
bswap eax
bswap ecx
mov dword [edi + 0x4a0], ecx
mov dword [edi + 0x4a4], eax
mov eax, dword [edi + 0x4a8]
bswap eax
mov ecx, dword [edi + 0x4ac]
bswap ecx
mov dword [edi + 0x4a8], ecx
mov dword [edi + 0x4ac], eax
mov eax, dword [edi + 0x4b0]
bswap eax
mov ecx, dword [edi + 0x4b4]
bswap ecx
mov dword [edi + 0x4b0], ecx
mov dword [edi + 0x4b4], eax
mov eax, dword [edi + 0x4b8]
bswap eax
mov ecx, dword [edi + 0x4bc]
bswap ecx
mov dword [edi + 0x4b8], ecx
mov dword [edi + 0x4bc], eax
mov eax, dword [edi + 0x4c0]
bswap eax
mov ecx, dword [edi + 0x4c4]
bswap ecx
mov dword [edi + 0x4c0], ecx
mov dword [edi + 0x4c4], eax
mov eax, dword [edi + 0x4c8]
mov ecx, dword [edi + 0x4cc]
bswap eax
bswap ecx
mov dword [edi + 0x4c8], ecx
mov dword [edi + 0x4cc], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [esp + 4]
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], edi
mov edi, ecx
mov edx, 0xfffffb2f
cmp byte [esi + 0x4e], 0
je 0x412261
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x412261
mov dword [esp + 0xc], esi
lea esi, [esp + 0x18]
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov eax, dword [esi + 8]
add eax, dword [esi]
mov ecx, dword [esi + 0xc]
adc ecx, dword [esi + 4]
lea esi, [eax - 0x4d0]
sar eax, 0x1f
xor eax, ecx
mov edx, 0xfffffb2f
cmove edx, esi
mov esi, dword [esp + 0xc]
add edx, ebx
mov ecx, esi
call fcn.004131b0
mov eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov byte [edi + 4], 1
mov bl, 1
jmp 0x412ed9
test dl, 0x40
jne 0x4124e2
or edx, esi
mov dword [esp + 0x10], edx
cmp esi, 0x3fffff
jg 0x4122bc
cmp esi, 0x7ffff
jg 0x4124ac
cmp esi, 0x10000
je 0x41276c
cmp esi, 0x40000
je 0x4126ba
jmp 0x412ed7
cmp esi, 0x1fffffff
jg 0x4124c9
cmp esi, 0x400000
je 0x4129c6
cmp esi, 0x10000000
jne 0x412ed7
cmp ebx, 0x248
jne 0x412ed7
mov dword [esp + 4], edi
mov eax, 0x248
push eax
mov ebx, ecx
mov esi, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x248
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
mov edx, edi
add edx, 4
mov ecx, ebx
push 0x244
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x412368
cmp byte [eax + 4], 0
je 0x412ece
movzx eax, word [eax + 0x10]
cmp eax, 0x8001
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x412ec0
cmp byte [eax + 0x4c], 0
je 0x412ec0
xor eax, eax
mov ecx, dword [edi + eax*8 + 8]
mov edx, dword [edi + eax*8 + 0xc]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 8], edx
mov dword [edi + eax*8 + 0xc], ecx
inc eax
cmp eax, 0x20
jne 0x412385
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
bswap eax
bswap ecx
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
mov eax, dword [edi + 0x110]
bswap eax
mov ecx, dword [edi + 0x114]
bswap ecx
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x118]
bswap eax
mov ecx, dword [edi + 0x11c]
bswap ecx
mov dword [edi + 0x118], ecx
mov dword [edi + 0x11c], eax
mov eax, dword [edi + 0x120]
bswap eax
mov ecx, dword [edi + 0x124]
bswap ecx
mov dword [edi + 0x120], ecx
mov dword [edi + 0x124], eax
mov eax, dword [edi + 0x128]
bswap eax
mov ecx, dword [edi + 0x12c]
bswap ecx
mov dword [edi + 0x128], ecx
mov dword [edi + 0x12c], eax
mov eax, dword [edi + 0x130]
mov ecx, dword [edi + 0x134]
bswap eax
bswap ecx
mov dword [edi + 0x130], ecx
mov dword [edi + 0x134], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0x138]
mov edx, dword [edi + eax*8 + 0x13c]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0x138], edx
mov dword [edi + eax*8 + 0x13c], ecx
inc eax
cmp eax, 0x20
jne 0x412449
mov eax, dword [edi + 0x238]
mov ecx, dword [edi + 0x23c]
bswap eax
bswap ecx
mov dword [edi + 0x238], ecx
mov dword [edi + 0x23c], eax
mov eax, dword [edi + 0x240]
bswap eax
mov ecx, dword [edi + 0x244]
bswap ecx
mov dword [edi + 0x240], ecx
mov dword [edi + 0x244], eax
jmp 0x412ec0
cmp esi, 0x80000
je 0x4126ba
cmp esi, 0x100000
je 0x411d6c
jmp 0x412ed7
cmp esi, 0x20000000
je 0x412b3b
cmp esi, 0x40000000
je 0x4124f2
jmp 0x412ed7
and edx, 0xbfffffbf
or edx, 0x40000000
mov dword [esp + 0x10], edx
cmp ebx, 0x170
jne 0x412ed7
mov dword [esp + 4], edi
mov eax, 0x170
push eax
mov ebx, ecx
mov esi, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x170
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
mov edx, edi
add edx, 4
mov ecx, ebx
push 0x16c
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x412576
cmp byte [eax + 4], 0
je 0x412ece
cmp word [eax + 0x10], 5
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x412ec0
cmp byte [eax + 0x4c], 0
je 0x412ec0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
bswap eax
mov dword [edi + 4], eax
bswap ecx
mov dword [edi + 8], ecx
mov eax, dword [edi + 0xc]
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
bswap eax
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
bswap eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
bswap eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x24]
bswap eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
bswap eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
bswap eax
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
bswap eax
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x34]
bswap eax
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x38]
bswap eax
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x3c]
bswap eax
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x40]
bswap eax
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x44]
bswap eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
bswap eax
bswap ecx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0x50]
mov edx, dword [edi + eax*8 + 0x54]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0x50], edx
mov dword [edi + eax*8 + 0x54], ecx
inc eax
cmp eax, 0x20
jne 0x41262b
mov eax, dword [edi + 0x150]
mov ecx, dword [edi + 0x154]
bswap eax
mov dword [edi + 0x150], eax
bswap ecx
mov dword [edi + 0x154], ecx
mov eax, dword [edi + 0x158]
bswap eax
mov dword [edi + 0x158], eax
mov eax, dword [edi + 0x15c]
bswap eax
mov dword [edi + 0x15c], eax
mov eax, dword [edi + 0x160]
bswap eax
mov dword [edi + 0x160], eax
mov eax, dword [edi + 0x164]
bswap eax
mov dword [edi + 0x164], eax
mov eax, dword [edi + 0x168]
bswap eax
mov dword [edi + 0x168], eax
mov eax, dword [edi + 0x16c]
bswap eax
mov dword [edi + 0x16c], eax
jmp 0x412ec0
cmp ebx, 0x258
jne 0x412ed7
mov dword [esp + 4], edi
mov eax, 0x258
push eax
mov dword [esp + 0xc], ecx
mov ebx, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x258
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], ebx
mov edx, edi
add edx, 4
mov ecx, dword [esp + 8]
push 0x254
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
mov eax, dword [eax]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, dword [esp + 8]
call ebx
test eax, eax
je 0x412d57
cmp byte [eax + 4], 0
je 0x412ece
movzx eax, word [eax + 0x10]
cmp esi, 0x80000
je 0x412d49
cmp esi, 0x40000
jne 0x412ece
cmp ax, 1
je 0x412d57
jmp 0x412ece
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov eax, 0x2cc
push eax
mov esi, ecx
mov ebx, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x2cc
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], ebx
mov edx, edi
add edx, 4
mov ecx, esi
push 0x2c8
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
test eax, eax
mov ebx, dword [esp + 8]
je 0x4127fc
cmp byte [eax + 4], 0
je 0x412ece
movzx eax, word [eax + 0x10]
cmp eax, 0xa
ja 0x412ece
mov ecx, 0x601
bt ecx, eax
jae 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
cmp byte [esi + 0x4e], 0
je 0x41296d
cmp byte [esi + 0x4c], 0
je 0x41296d
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
bswap eax
mov dword [edi + 4], eax
bswap ecx
mov dword [edi + 8], ecx
mov eax, dword [edi + 0xc]
bswap eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
bswap eax
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
bswap eax
mov dword [edi + 0x14], eax
mov eax, dword [edi + 0x18]
bswap eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
bswap eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x20]
bswap eax
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x24]
bswap eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x28]
bswap eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
bswap eax
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x30]
bswap eax
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x34]
bswap eax
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x88]
bswap eax
mov dword [edi + 0x88], eax
mov eax, dword [edi + 0x8c]
bswap eax
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
bswap eax
mov dword [edi + 0x90], eax
mov eax, dword [edi + 0x94]
bswap eax
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
bswap eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
bswap eax
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0xa0]
bswap eax
mov dword [edi + 0xa0], eax
mov eax, dword [edi + 0xa4]
bswap eax
mov dword [edi + 0xa4], eax
mov eax, dword [edi + 0xa8]
bswap eax
mov dword [edi + 0xa8], eax
mov eax, dword [edi + 0xac]
bswap eax
mov dword [edi + 0xac], eax
mov eax, dword [edi + 0xb0]
bswap eax
mov dword [edi + 0xb0], eax
mov eax, dword [edi + 0xb4]
bswap eax
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
bswap eax
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xbc]
bswap eax
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xc0]
bswap eax
mov dword [edi + 0xc0], eax
mov eax, dword [edi + 0xc4]
bswap eax
mov dword [edi + 0xc4], eax
mov eax, dword [edi + 0xc8]
bswap eax
mov dword [edi + 0xc8], eax
mov eax, dword [esp + 4]
mov dword [eax + 8], edi
mov edi, eax
mov edx, 0xfffffd33
cmp byte [esi + 0x4e], 0
je 0x412261
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x412261
mov ebx, esi
lea esi, [esp + 0x18]
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov eax, dword [esi + 8]
add eax, dword [esi]
mov ecx, dword [esi + 0xc]
adc ecx, dword [esi + 4]
lea esi, [eax - 0x2cc]
sar eax, 0x1f
xor eax, ecx
mov edx, 0xfffffd33
cmove edx, esi
mov esi, ebx
mov ebx, dword [esp + 8]
jmp 0x412261
cmp ebx, 0x390
jne 0x412ed7
mov dword [esp + 4], edi
mov eax, 0x390
push eax
mov ebx, ecx
mov esi, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x390
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
mov edx, edi
add edx, 4
mov ecx, ebx
push 0x38c
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x412a4a
cmp byte [eax + 4], 0
je 0x412ece
cmp word [eax + 0x10], 0xc
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x412ec0
cmp byte [eax + 0x4c], 0
je 0x412ec0
xor ecx, ecx
mov edx, dword [edi + ecx*8 + 8]
mov esi, dword [edi + ecx*8 + 0xc]
bswap edx
bswap esi
mov dword [edi + ecx*8 + 8], esi
mov dword [edi + ecx*8 + 0xc], edx
inc ecx
cmp ecx, 0x21
jne 0x412a67
mov ecx, dword [edi + 4]
bswap ecx
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x314]
bswap ecx
mov dword [edi + 0x314], ecx
mov ecx, dword [edi + 0x310]
bswap ecx
mov dword [edi + 0x310], ecx
xor ecx, ecx
mov dword [esp + 8], eax
cmp byte [eax + 0x4e], 0
je 0x412ace
cmp byte [eax + 0x4d], 0
je 0x412ace
mov ebx, dword [edi + ecx + 0x118]
mov esi, dword [edi + ecx + 0x110]
mov edx, dword [edi + ecx + 0x114]
jmp 0x412af8
mov edx, dword [edi + ecx + 0x11c]
mov ebx, dword [edi + ecx + 0x110]
mov esi, dword [edi + ecx + 0x114]
mov dword [edi + ecx + 0x11c], esi
mov esi, dword [edi + ecx + 0x118]
mov dword [edi + ecx + 0x118], ebx
mov eax, dword [edi + ecx + 0x11c]
bswap eax
mov dword [edi + ecx + 0x118], eax
bswap ebx
mov dword [edi + ecx + 0x11c], ebx
bswap edx
mov dword [edi + ecx + 0x110], edx
bswap esi
mov dword [edi + ecx + 0x114], esi
add ecx, 0x10
cmp ecx, 0x200
mov eax, dword [esp + 8]
jne 0x412aab
jmp 0x412ec0
cmp ebx, 0x3ec
jne 0x412ed7
mov dword [esp + 4], edi
mov eax, 0x3ec
push eax
mov ebx, ecx
mov esi, edx
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, 0x3ec
push eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
mov edx, edi
add edx, 4
mov ecx, ebx
push 0x3e8
call fcn.00412ef0
add esp, 4
test al, al
je 0x412ece
mov eax, dword [esp + 4]
mov esi, dword [eax + 0x10]
mov eax, dword [esi]
mov ebx, dword [eax + 0x24]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
test eax, eax
je 0x412bbf
cmp byte [eax + 4], 0
je 0x412ece
cmp word [eax + 0x10], 3
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x412ec0
cmp byte [eax + 0x4c], 0
je 0x412ec0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
bswap eax
mov dword [edi + 4], eax
bswap ecx
mov dword [edi + 8], ecx
xor eax, eax
pxor xmm0, xmm0
movdqu xmm1, xmmword [edi + eax*4 + 0xc]
movdqa xmm2, xmm1
punpckhbw xmm2, xmm0
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm2
movdqu xmmword [edi + eax*4 + 0xc], xmm1
add eax, 4
cmp eax, 0x20
jne 0x412bf0
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x90]
bswap eax
mov dword [edi + 0x8c], eax
bswap ecx
mov dword [edi + 0x90], ecx
mov eax, dword [edi + 0x94]
bswap eax
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x98]
bswap eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
bswap eax
mov dword [edi + 0x9c], eax
mov eax, dword [edi + 0xa0]
bswap eax
mov dword [edi + 0xa0], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0xa4]
mov edx, dword [edi + eax*8 + 0xa8]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0xa4], edx
mov dword [edi + eax*8 + 0xa8], ecx
inc eax
cmp eax, 0x20
jne 0x412c7e
mov eax, dword [edi + 0x1a8]
bswap eax
mov dword [edi + 0x1a8], eax
xor eax, eax
mov ecx, dword [edi + eax + 0x1b4]
bswap ecx
mov edx, dword [edi + eax + 0x1b8]
bswap edx
mov dword [edi + eax + 0x1b4], edx
mov dword [edi + eax + 0x1b8], ecx
mov ecx, dword [edi + eax + 0x1ac]
mov edx, dword [edi + eax + 0x1b0]
bswap ecx
bswap edx
mov dword [edi + eax + 0x1ac], edx
mov dword [edi + eax + 0x1b0], ecx
add eax, 0x10
cmp eax, 0x200
jne 0x412cb4
mov eax, dword [edi + 0x3b4]
bswap eax
mov ecx, dword [edi + 0x3b8]
bswap ecx
mov dword [edi + 0x3b4], ecx
mov dword [edi + 0x3b8], eax
mov eax, dword [edi + 0x3ac]
mov ecx, dword [edi + 0x3b0]
bswap eax
bswap ecx
mov dword [edi + 0x3ac], ecx
mov dword [edi + 0x3b0], eax
mov eax, dword [edi + 0x3cc]
bswap eax
mov dword [edi + 0x3cc], eax
jmp 0x412ec0
movzx eax, ax
cmp eax, 0x8004
jne 0x412ece
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x4e], 0
je 0x412ec0
cmp byte [eax + 0x4c], 0
je 0x412ec0
xor eax, eax
mov ecx, dword [edi + eax*8 + 8]
mov edx, dword [edi + eax*8 + 0xc]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 8], edx
mov dword [edi + eax*8 + 0xc], ecx
inc eax
cmp eax, 0x20
jne 0x412d74
mov eax, dword [edi + 0x108]
mov ecx, dword [edi + 0x10c]
bswap eax
bswap ecx
mov dword [edi + 0x108], ecx
mov dword [edi + 0x10c], eax
mov eax, dword [edi + 0x110]
bswap eax
mov ecx, dword [edi + 0x114]
bswap ecx
mov dword [edi + 0x110], ecx
mov dword [edi + 0x114], eax
mov eax, dword [edi + 0x118]
bswap eax
mov dword [edi + 0x118], eax
mov eax, dword [edi + 0x124]
bswap eax
mov dword [edi + 0x124], eax
mov eax, dword [edi + 0x11c]
bswap eax
mov dword [edi + 0x11c], eax
mov eax, dword [edi + 0x128]
bswap eax
mov dword [edi + 0x128], eax
mov eax, dword [edi + 0x120]
bswap eax
mov dword [edi + 0x120], eax
mov eax, dword [edi + 0x12c]
bswap eax
mov dword [edi + 0x12c], eax
mov eax, dword [edi + 0x130]
bswap eax
mov dword [edi + 0x130], eax
mov eax, dword [edi + 0x138]
mov ecx, dword [edi + 0x13c]
bswap eax
bswap ecx
mov dword [edi + 0x138], ecx
mov dword [edi + 0x13c], eax
mov eax, dword [edi + 0x140]
mov ecx, dword [edi + 0x144]
bswap eax
bswap ecx
mov dword [edi + 0x140], ecx
mov dword [edi + 0x144], eax
mov eax, dword [edi + 0x148]
bswap eax
mov dword [edi + 0x148], eax
mov eax, dword [edi + 0x14c]
bswap eax
mov dword [edi + 0x14c], eax
xor eax, eax
mov ecx, dword [edi + eax*8 + 0x150]
mov edx, dword [edi + eax*8 + 0x154]
bswap ecx
bswap edx
mov dword [edi + eax*8 + 0x150], edx
mov dword [edi + eax*8 + 0x154], ecx
inc eax
cmp eax, 0x20
jne 0x412e7e
mov eax, dword [edi + 0x250]
mov ecx, dword [edi + 0x254]
bswap eax
mov dword [edi + 0x250], eax
bswap ecx
mov dword [edi + 0x254], ecx
mov eax, dword [esp + 4]
mov dword [eax + 8], edi
mov edi, eax
jmp 0x41226a
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.0043f990
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret