Function at 0x415670
Capabilities:
Contain obfuscated stackstrings
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov ebx, ecx
mov eax, dword [0x481014]
xor eax, ebp
mov dword [esp + 0x120], eax
mov esi, dword [ecx + 0x10]
mov edi, dword [esi + 4]
mov ecx, dword [edi + 4]
call fcn.0042f1b0
mov eax, ebx
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [esi + 8], 0
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x415725
mov dword [esp + 0x20], eax
mov edi, dword [ebx]
test edi, edi
je 0x415718
mov esi, dword [ebx + 4]
cmp edi, esi
je 0x4156ec
mov dword [esp + 8], ebx
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 0
call ebx
add edi, 0x98
cmp edi, esi
jne 0x4156ca
mov ebx, dword [esp + 8]
mov edi, dword [ebx]
mov eax, dword [ebx + 8]
sub eax, edi
cmp eax, 0x1000
jb 0x41570e
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x416603
add eax, 0x23
mov edi, ecx
push eax
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov byte [eax + 4], 0
cmp edi, 4
jb 0x4165bd
mov ecx, dword [eax + 8]
lea edx, [esp + 0x3c]
push 4
mov ebx, eax
call fcn.00412ef0
add esp, 4
test al, al
je 0x4165bb
mov ecx, dword [ebx + 8]
cmp byte [ecx + 0x4e], 0
mov esi, dword [esp + 0x3c]
mov eax, ebx
je 0x415773
cmp byte [ecx + 0x4c], 0
je 0x415773
bswap esi
mov dword [esp + 0x3c], esi
cmp esi, 0x25ed097
ja 0x4165bb
mov dword [esp + 0x20], eax
imul eax, esi, 0x6c
lea edx, [eax + 4]
cmp edx, edi
je 0x4157b2
add eax, 8
cmp eax, edi
jne 0x4165bb
lea edx, [esp + 0x70]
push 4
call fcn.00412ef0
add esp, 4
test al, al
je 0x4165bb
mov esi, dword [esp + 0x3c]
xor ebx, ebx
cmp esi, 0x800
mov eax, dword [esp + 0x20]
ja 0x4165bd
test esi, esi
je 0x4165e4
push 0xc
mov edi, eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 8]
mov byte [esp + 0x74], 0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], 0x44a858
mov dword [esp + 0x7c], 0x44a860
mov word [esp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x88], xmm0
movups xmmword [esp + 0x98], xmm0
movups xmmword [esp + 0xa8], xmm0
movups xmmword [esp + 0xb8], xmm0
movups xmmword [esp + 0xc8], xmm0
movups xmmword [esp + 0xd8], xmm0
movups xmmword [esp + 0xe8], xmm0
movaps xmm0, xmmword [0x44a780]
movups xmmword [esp + 0xf8], xmm0
imul eax, esi, 0x98
cmp esi, 0x1b
mov dword [esp + 8], eax
jb 0x415872
add eax, 0x23
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41587d
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [eax], edi
mov ecx, dword [esp + 8]
add ecx, edi
mov dword [eax + 8], ecx
mov byte [edi + 4], 0
mov dword [edi + 8], ebx
mov dword [edi], 0x44a858
mov dword [edi + 0xc], 0x44a860
lea eax, [edi + 0x10]
push 0x88
lea ecx, [esp + 0x84]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, 0x98
dec esi
jne 0x41588c
mov esi, dword [esp + 0x18]
mov dword [esi + 4], edi
lea ecx, [esp + 0x70]
call fcn.00414030
cmp dword [esp + 0x3c], 0
je 0x4165d7
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
lea ebx, [eax + 0x94]
xor ecx, ecx
mov dword [esp + 8], ecx
mov esi, dword [ebx - 0xc]
test esi, esi
je 0x415936
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x41592d
mov ecx, dword [esi]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x415923
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx - 0xc], 0
mov esi, dword [ebx - 8]
test esi, esi
je 0x41597f
mov ecx, dword [esi]
test ecx, ecx
je 0x415976
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x41596c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x23
mov ecx, edx
push eax
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx - 8], 0
mov dword [ebx - 4], 0xffffffff
mov esi, dword [ebx]
test esi, esi
je 0x4159ce
mov ecx, dword [esi]
test ecx, ecx
je 0x4159c5
mov eax, dword [esi + 8]
sub eax, ecx
cmp eax, 0x1000
jb 0x4159bb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x23
mov ecx, edx
push eax
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx], 0
mov word [ebx - 0x84], 0
mov byte [ebx - 0x90], 0
mov ecx, dword [ebx - 0x8c]
lea edi, [ebx - 0x7c]
mov edx, edi
push 0x6c
call fcn.00412ef0
add esp, 4
test al, al
je 0x416555
mov eax, dword [ebx - 0x8c]
cmp byte [eax + 0x4e], 0
je 0x415ad5
cmp byte [eax + 0x4c], 0
je 0x415ad5
mov eax, dword [ebx - 0x7c]
mov ecx, dword [ebx - 0x78]
bswap eax
bswap ecx
mov dword [ebx - 0x7c], ecx
mov dword [ebx - 0x78], eax
mov eax, dword [ebx - 0x74]
bswap eax
mov dword [ebx - 0x74], eax
mov ecx, dword [ebx - 0x70]
bswap ecx
mov dword [ebx - 0x70], ecx
mov ecx, dword [ebx - 0x6c]
bswap ecx
mov dword [ebx - 0x6c], ecx
mov ecx, dword [ebx - 0x68]
bswap ecx
mov dword [ebx - 0x68], ecx
mov ecx, dword [ebx - 0x64]
bswap ecx
mov dword [ebx - 0x64], ecx
mov ecx, dword [ebx - 0x60]
bswap ecx
mov dword [ebx - 0x60], ecx
mov ecx, dword [ebx - 0x5c]
bswap ecx
mov dword [ebx - 0x5c], ecx
mov ecx, dword [ebx - 0x58]
bswap ecx
mov dword [ebx - 0x58], ecx
mov ecx, dword [ebx - 0x54]
bswap ecx
mov dword [ebx - 0x54], ecx
mov ecx, dword [ebx - 0x50]
bswap ecx
mov dword [ebx - 0x50], ecx
mov ecx, dword [ebx - 0x4c]
bswap ecx
mov dword [ebx - 0x4c], ecx
mov ecx, dword [ebx - 0x48]
bswap ecx
mov dword [ebx - 0x48], ecx
mov ecx, dword [ebx - 0x44]
bswap ecx
mov dword [ebx - 0x44], ecx
mov ecx, dword [ebx - 0x40]
bswap ecx
mov dword [ebx - 0x40], ecx
mov ecx, dword [ebx - 0x3c]
bswap ecx
mov dword [ebx - 0x3c], ecx
mov ecx, dword [ebx - 0x38]
bswap ecx
mov dword [ebx - 0x38], ecx
mov ecx, dword [ebx - 0x34]
bswap ecx
mov dword [ebx - 0x34], ecx
mov ecx, dword [ebx - 0x30]
bswap ecx
mov dword [ebx - 0x30], ecx
mov ecx, dword [ebx - 0x2c]
bswap ecx
mov dword [ebx - 0x2c], ecx
mov ecx, dword [ebx - 0x28]
bswap ecx
mov dword [ebx - 0x28], ecx
mov ecx, dword [ebx - 0x24]
bswap ecx
mov dword [ebx - 0x24], ecx
jmp 0x415ad8
mov eax, dword [ebx - 0x74]
test eax, eax
je 0x416555
mov ecx, dword [edi + 4]
add eax, dword [edi]
adc ecx, 0
jb 0x416555
mov byte [ebx - 0x84], 1
mov ecx, dword [esp + 8]
inc ecx
mov eax, dword [esp + 0x3c]
add ebx, 0x98
cmp ecx, eax
jb 0x4158eb
mov dword [esp + 0x38], 0
test eax, eax
je 0x4165d7
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx]
imul edi, eax, 0x98
lea ecx, [ebx + edi]
cmp byte [ebx + edi + 0x10], 0
je 0x415ff4
mov esi, ecx
mov ecx, dword [ecx + 8]
mov edx, dword [ebx + edi + 0x2c]
call fcn.00414120
mov ecx, esi
mov dword [ebx + edi + 0x88], eax
test eax, eax
je 0x415ff4
lea edx, [ebx + edi]
add edx, 0x10
mov byte [ecx + 4], 1
cmp dword [edx + 0x54], 0
je 0x415b9c
cmp byte [edx], 0
je 0x415ff4
mov dword [esp + 8], edx
mov edx, dword [ebx + edi + 0x8c]
test edx, edx
je 0x415bcf
cmp dword [edx], 0
mov edx, dword [esp + 8]
je 0x415ff4
mov eax, dword [ebx + edi + 0x6c]
test eax, eax
je 0x415bc5
cmp byte [edx], 0
je 0x415ff4
mov edx, dword [ebx + edi + 0x94]
test edx, edx
je 0x415c4b
cmp dword [edx], 0
je 0x415ff4
mov byte [ebx + edi + 0x11], 1
jmp 0x415ffe
mov ecx, dword [esi + 8]
mov edx, dword [ebx + edi + 0x68]
call fcn.004131b0
mov ecx, esi
test al, al
je 0x415ff4
lea eax, [ebx + edi]
add eax, 0x64
mov dword [esp + 0xc], eax
mov eax, dword [eax]
cmp eax, 0x8000
ja 0x415ff4
push 0xc
mov dword [esp + 8], eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x415cde
cmp eax, 0x1000
jb 0x415cfe
add eax, 0x23
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x415d07
cmp eax, 0xc
jb 0x415ff4
mov ecx, dword [esi + 8]
mov edx, dword [ebx + edi + 0x70]
call fcn.004131b0
mov ecx, esi
test al, al
je 0x415ff4
lea eax, [ebx + edi]
add eax, 0x6c
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [esp + 4], eax
cmp eax, 0x8000
ja 0x415ff4
push 0xc
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [eax + 8], ecx
cmp dword [esp + 4], 0
je 0x415e1e
cmp dword [esp + 4], 0x1000
jb 0x415e22
mov eax, dword [esp + 4]
add eax, 0x23
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x415e2e
mov ecx, dword [esi + 8]
mov dword [esp + 4], 0
xor edx, edx
push 0
call fcn.00412ef0
add esp, 4
test al, al
jne 0x415d53
jmp 0x415fe6
push eax
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov ecx, dword [esp + 4]
add ecx, eax
mov dword [esp + 0x14], ecx
mov dword [edx + 8], ecx
push dword [esp + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [eax]
mov ecx, dword [esi + 8]
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
push dword [eax]
call fcn.00412ef0
add esp, 4
test al, al
je 0x415e0d
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
xor ecx, ecx
dec ecx
mov dword [esp + 0x14], eax
cmp eax, 5
jb 0x41653d
mov eax, dword [esi + 8]
cmp byte [eax + 0x4e], 0
setne dl
cmp byte [eax + 0x4c], 0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
setne al
and al, dl
mov edx, ecx
bswap edx
cmovne ecx, edx
cmp ecx, 0x3031424e
je 0x415f46
cmp ecx, 0x4270454c
je 0x415f53
cmp ecx, 0x53445352
jne 0x41653d
cmp dword [esp + 0x14], 0x19
jb 0x415f4d
test al, al
je 0x415df0
mov ecx, dword [esp + 4]
mov dword [ecx], edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x14]
bswap eax
mov dword [ecx + 4], eax
rol word [ecx + 8], 8
rol word [ecx + 0xa], 8
bswap edx
mov dword [ecx + 0x14], edx
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
cmp byte [eax + ecx - 1], 0
jne 0x415fb4
mov ecx, 0x53445352
jmp 0x41653d
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x415fb4
jmp 0x415fe6
xor eax, eax
jmp 0x415e67
push dword [esp + 4]
call sub.mozglue.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov ecx, dword [esp + 4]
add ecx, eax
mov dword [esp + 8], ecx
mov dword [edx + 8], ecx
push dword [esp + 4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 8]
push eax
call fcn.00412ef0
add esp, 4
test al, al
je 0x415f03
mov eax, dword [esi + 8]
cmp byte [eax + 0x4e], 0
je 0x415ecd
cmp byte [eax + 0x4c], 0
je 0x415ecd
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
bswap ecx
mov dword [eax], ecx
bswap edx
mov dword [esp + 4], edx
mov dword [eax + 4], edx
cmp byte [eax + 8], 0
je 0x415ed8
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
add ecx, 0xfffffff4
cmp ecx, 2
jb 0x415ed8
shr ecx, 1
xor edx, edx
mov eax, dword [esp + 8]
rol word [eax + edx*2 + 0xc], 8
inc edx
cmp ecx, edx
jne 0x415ec0
jmp 0x415ed8
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 4]
cmp dword [ecx], eax
jne 0x415ef9
lea eax, [ebx + edi]
add eax, 0x94
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov ecx, esi
jmp 0x415bbc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x415fe6
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
sub eax, dword [esp + 8]
cmp eax, 0x1000
jb 0x415f3c
mov edx, dword [esp + 8]
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
sub edx, ecx
cmp edx, 0x20
jae 0x416603
add eax, 0x23
mov dword [esp + 8], ecx
push eax
push dword [esp + 0xc]
jmp 0x415fde
cmp dword [esp + 0x14], 0x11
jae 0x415f6b
mov ecx, dword [esp + 4]
jmp 0x415fb4
mov ecx, 0x4270454c
test al, al
je 0x41653d
mov eax, dword [esp + 4]
mov dword [eax], edx
jmp 0x41653d
test al, al
je 0x415fa1
mov ecx, dword [esp + 4]
mov dword [ecx], edx
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
bswap eax
mov dword [ecx + 4], eax
bswap edx
mov dword [ecx + 8], edx
mov eax, dword [ecx + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
cmp byte [eax + ecx - 1], 0
je 0x416538
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov edx, ecx
sub eax, ecx
cmp eax, 0x1000
jb 0x415fdc
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
sub edx, ecx
cmp edx, 0x20
jae 0x416603
add eax, 0x23
mov edx, ecx
push eax
push edx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push dword [esp + 0x10]
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, esi
cmp byte [ecx + 4], 0
je 0x4165ef
lea edi, [ecx + 0xc]
mov eax, dword [ecx + 0xc]
mov ebx, dword [eax + 4]
mov esi, ecx
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov dword [esp + 8], edi
mov ecx, edi
call ebx
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, ecx
and edi, esi
cmp edi, 0xffffffff
je 0x4165ef
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 4]
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
je 0x41627b
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x70]
call fcn.004154d0
cmp dword [esp + 0x70], 0x8203
sete bl
and bl, al
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x58], xmm0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc], eax
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x58]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00432f60
mov ecx, ebx
add esp, 0xc
test al, al
jne 0x4161d1
test cl, cl
je 0x4161d1
mov byte [esp + 0xc], cl
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea ebx, [esp + 0x108]
push ebx
call edi
mov dword [esp + 0x84], 0xf
mov edx, 0xc
mov dword [esp + 0x80], edx
mov dword [esp + 0x70], 0x7665642f
mov dword [esp + 0x74], 0x6873612f
mov dword [esp + 0x78], 0x2f6d656d
mov byte [esp + 0x7c], 0
mov esi, dword [esp + 0x108]
mov eax, dword [esp + 0x118]
mov edi, dword [esp + 0x11c]
cmp edi, 0x10
mov ecx, ebx
cmovae ecx, esi
cmp eax, edx
cmovae eax, edx
setae bl
push eax
lea eax, [esp + 0x74]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
sete bh
cmp edi, 0x10
jb 0x4161bc
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x4161b2
mov eax, dword [esi - 4]
add esi, 0xfffffffc
sub esi, eax
cmp esi, 0x20
jae 0x416603
add edi, 0x24
mov ecx, edi
mov esi, eax
push ecx
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
and bh, bl
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov cl, byte [esp + 0xc]
je 0x4161dd
jmp 0x416251
test al, al
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
jne 0x416251
test cl, cl
je 0x4165ef
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
cmp ecx, dword [esp + 0x1c]
mov edx, eax
sbb edx, dword [esp + 0x24]
jae 0x4165ef
mov edx, dword [esp + 0x1c]
sub ecx, edx
mov esi, dword [esp + 0x24]
sbb eax, esi
add edi, ecx
adc ebx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
lea edx, [esp + 0x30]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00432f60
add esp, 0xc
test al, al
je 0x4165ef
add edi, dword [esp + 0x30]
adc ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jb 0x415b2e
jmp 0x4165d9
mov edx, eax
cmp dword [edi + 0x10], ecx
mov ebx, dword [edi + 0x14]
sbb ebx, esi
lea ebx, [edi + 8]
cmovae edx, edi
cmovae ebx, edi
mov edi, dword [ebx]
cmp byte [edi + 0xd], 0
je 0x41627d
cmp edx, eax
je 0x416067
cmp ecx, dword [edx + 0x18]
sbb esi, dword [edx + 0x1c]
jb 0x416067
mov eax, dword [edx + 0x28]
cmp eax, dword [esp + 0x3c]
jae 0x416067
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
imul eax, eax, 0x98
lea edi, [ecx + eax]
add edi, 0xc
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
xor edx, dword [esp + 0x14]
xor eax, dword [esp + 0xc]
or eax, edx
jne 0x416067
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
xor edx, dword [esp + 0x14]
xor eax, dword [esp + 0xc]
or eax, edx
jne 0x416067
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x70]
push eax
call ebx
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x108]
push eax
call ebx
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x118], eax
jne 0x4163c5
cmp dword [esp + 0x11c], 0x10
lea ecx, [esp + 0x108]
jb 0x4163a0
mov ecx, dword [esp + 0x108]
cmp dword [esp + 0x84], 0x10
lea edx, [esp + 0x70]
jb 0x4163b2
mov edx, dword [esp + 0x70]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x416451
xor ebx, ebx
mov eax, dword [esp + 0x11c]
cmp eax, 0x10
jb 0x416407
mov ecx, dword [esp + 0x108]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x4163fd
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp + 0x84]
cmp eax, 0x10
jb 0x416444
mov ecx, dword [esp + 0x70]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x41643a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
test bl, bl
je 0x416067
jmp 0x416261
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
lea eax, [esp + 0x58]
push eax
call ebx
mov eax, dword [edi]
mov ebx, dword [eax + 0x10]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
lea eax, [esp + 0x40]
push eax
call ebx
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x50], eax
jne 0x4164bd
lea ecx, [esp + 0x40]
cmp esi, 0x10
jb 0x41649c
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x6c], 0x10
lea edx, [esp + 0x58]
jb 0x4164ab
mov edx, dword [esp + 0x58]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
sete bl
jmp 0x4164bf
xor ebx, ebx
cmp esi, 0x10
jb 0x4164f5
mov eax, dword [esp + 0x40]
lea edx, [esi + 1]
cmp edx, 0x1000
jb 0x4164eb
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x416603
add esi, 0x24
mov edx, esi
mov eax, ecx
push edx
push eax
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
mov eax, dword [esp + 0x6c]
cmp eax, 0x10
jb 0x4163c7
mov ecx, dword [esp + 0x58]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x416529
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x416603
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
jmp 0x4163c7
mov ecx, 0x3031424e
lea eax, [ebx + edi]
add eax, 0x8c
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, esi
jmp 0x415b8f
mov esi, dword [esp + 0x18]
mov ebx, dword [esi + 4]
cmp dword [esp + 0x1c], ebx
je 0x416582
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0
call edi
add esi, 0x98
cmp esi, ebx
jne 0x416566
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x1c]
sub eax, edx
cmp eax, 0x1000
jb 0x4165a8
mov ecx, dword [edx - 4]
add edx, 0xfffffffc
sub edx, ecx
cmp edx, 0x20
jae 0x416603
add eax, 0x23
mov edx, ecx
push eax
push edx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
push esi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.0043f990
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebx
mov byte [eax + 4], 1
mov bl, 1
jmp 0x4165bd
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x416559
jmp 0x4165b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3