Function at 0x40c2b0
Capabilities:
Get system information on windows
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [0x450010]
xor eax, ebp
mov dword [esp + 0xe0], eax
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x40d782
mov esi, edx
mov edi, ecx
and eax, 0xfffffffc
lea edx, [esp + 0x54]
lea ecx, [esp + 0x88]
push edx
push 0x1c
push ecx
push 0
push eax
push dword [edi]
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x40d776
cmp dword [esp + 0x54], 0
je 0x40d782
cmp dword [esp + 0x90], 0
je 0x40d782
cmp dword [esp + 0x98], 0x1000
jne 0x40d782
cmp dword [esp + 0x9c], 1
je 0x40d782
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x48]
and edi, 0xfffffffc
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
add eax, 4
mov dword [esp + 0x18], eax
xor ebx, ebx
inc ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi], 0x4453c8
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10
lea eax, [esi + 0x1c]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0xc]
mov dword [esp + 4], edi
mov dword [esi + 0x2c], edi
mov edi, dword [esp + 0x10]
mov edx, 0x40
call fcn.0040e0e0
cmp dword [esi + 0x2c], 0
mov dword [esp + 8], esi
je 0x40d6b0
cmp dword [esi + 0x14], 0
je 0x40d6b0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40d6b0
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x40d6b0
mov esi, dword [eax + 0x3c]
add esi, dword [esp + 4]
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], 0x4453c8
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x10
lea ecx, [eax + 0x1c]
mov dword [eax + 0x10], ecx
lea ecx, [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [eax + 0x2c], esi
mov esi, eax
lea ecx, [eax + 0xc]
mov edx, 0xf8
call fcn.0040e0e0
cmp dword [esi + 0x2c], 0
mov dword [esp + 0x14], esi
je 0x40d68c
cmp dword [esi + 0x14], 0
je 0x40d68c
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x40d68c
cmp dword [ebx], 0x4550
jne 0x40d68c
movzx eax, word [ebx + 0x18]
cmp eax, 0x10b
jne 0x40d68c
cmp dword [ebx + 0x50], 0x137
mov eax, dword [esp + 4]
jbe 0x40d68c
cmp dword [ebx + 0x74], 0
je 0x40d68c
mov esi, dword [ebx + 0x78]
test esi, esi
je 0x40d78f
cmp dword [ebx + 0x7c], 0
je 0x40d78f
add esi, eax
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi], 0x4453c8
mov eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10
lea eax, [edi + 0x1c]
mov dword [edi + 0x10], eax
lea eax, [edi + 4]
mov dword [esp + 0x2c], eax
mov dword [edi + 0x2c], esi
lea ecx, [edi + 0xc]
mov edx, 0x28
call fcn.0040e0e0
cmp dword [edi + 0x2c], 0
mov dword [esp + 0x20], edi
je 0x40d6c3
cmp dword [edi + 0x14], 0
je 0x40d6c3
mov edx, dword [edi + 0x10]
test edx, edx
je 0x40d6c3
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x40d6c3
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov ebx, edx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x88], edi
mov esi, dword [esp + 4]
mov dword [esp + 0x8c], esi
mov edx, dword [edx + 0x10]
mov dword [esp + 0x90], edx
add ecx, eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x28], ebx
mov ebx, dword [ebx + 0x1c]
add ebx, esi
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], 0x4453c8
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x10
lea ecx, [eax + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x2c], ebx
lea ecx, [eax + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
mov esi, dword [esp + 0x24]
mov dword [esp + 0xa4], esi
lea edx, [esi*4]
call fcn.0040e370
shr eax, 2
cmp eax, esi
jb 0x40d9b5
mov edi, dword [esp + 0x28]
mov esi, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
add ebx, dword [esp + 4]
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], 0x4453c8
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x10
lea ecx, [eax + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x2c], ebx
lea ecx, [eax + 0xc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], esi
lea edx, [esi*4]
call fcn.0040e370
shr eax, 2
cmp eax, esi
mov ecx, edi
jb 0x40d9c1
mov edi, dword [ecx + 0x18]
mov esi, dword [esp + 4]
add esi, dword [ecx + 0x24]
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xor ebx, ebx
inc ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], 0x4453c8
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0x10
lea ecx, [eax + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x2c], esi
lea ecx, [eax + 0xc]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edi
lea edx, [edi + edi]
call fcn.0040e370
shr eax, 1
cmp eax, edi
jb 0x40d9cd
mov eax, dword [esp + 0x2c]
lock dec dword [eax]
mov esi, dword [esp + 0x20]
jne 0x40c6d7
mov edi, esi
add edi, 8
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
call dword [section..00cfg]
mov ecx, esi
call dword [esp + 4]
lock dec dword [edi]
jne 0x40c6d7
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov eax, dword [esp + 0x1c]
lock dec dword [eax]
mov esi, dword [esp + 0x14]
jne 0x40c713
mov edi, esi
add edi, 8
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
call dword [section..00cfg]
mov ecx, esi
call dword [esp + 4]
lock dec dword [edi]
jne 0x40c713
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov eax, dword [esp + 0x18]
lock dec dword [eax]
jne 0x40c753
mov esi, dword [esp + 8]
add esi, 8
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, dword [esp + 8]
call edi
lock dec dword [esi]
mov esi, dword [esp + 8]
jne 0x40c753
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov edx, dword [esp + 0xc]
cmp edx, 0xffff
jbe 0x40d94e
xor esi, esi
cmp dword [esp + 0x8c], 0
je 0x40c96f
cmp dword [esp + 0x94], 0
je 0x40c96f
cmp dword [esp + 0x98], 0
je 0x40c96f
mov eax, dword [esp + 0x9c]
cmp dword [eax + 0x20], 0
je 0x40c96f
cmp dword [esp + 0xa4], 0
je 0x40c96f
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x20], 0
je 0x40c96f
mov edi, dword [esp + 0xb0]
test edi, edi
je 0x40c96f
test edx, edx
je 0x40c96f
mov ecx, dword [esp + 0xb4]
cmp dword [ecx + 0x20], 0
je 0x40c96f
cmp dword [esp + 0xbc], 0
je 0x40c96f
cmp byte [edx], 0
je 0x40c808
xor ecx, ecx
inc ecx
lea ebx, [ecx + 1]
cmp byte [edx + ecx], 0
mov ecx, ebx
jne 0x40c7fd
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x40c81e
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], edi
sub edi, eax
shr edi, 1
mov dword [esp + 0x14], eax
add edi, eax
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], edi
add esi, dword [eax + edi*4]
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov edi, eax
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi], 0x4453c8
lea ecx, [edi + 0xc]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10
lea eax, [edi + 0x1c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x2c], esi
mov edx, dword [esp + 0x20]
call fcn.0040e370
mov eax, dword [edi + 0x14]
test eax, eax
je 0x40c893
mov eax, dword [edi + 0x10]
lea ecx, [edi + 4]
mov edx, edi
add edx, 8
mov dword [esp + 8], edx
xor edx, edx
mov esi, dword [esp + 0xc]
mov bl, byte [esi + edx]
mov bh, byte [eax + edx]
test bl, bl
je 0x40c8b4
inc edx
cmp bl, bh
je 0x40c8a5
lock dec dword [ecx]
jne 0x40c8e3
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov eax, dword [esp + 8]
lock dec dword [eax]
jne 0x40c8e3
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp bl, bh
je 0x40c90d
cmp bl, bh
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 4]
cmovl edi, eax
lea eax, [eax + 1]
mov ecx, dword [esp + 0x14]
cmovge ecx, eax
mov eax, ecx
cmp edi, ecx
jne 0x40c820
jmp 0x40d988
xor esi, esi
mov ecx, dword [esp + 4]
cmp dword [esp + 0xbc], ecx
jbe 0x40c96f
mov eax, dword [esp + 0xb4]
cmp dword [eax + 8], 0
je 0x40c96f
mov eax, dword [eax + 4]
test eax, eax
je 0x40c96f
movzx eax, word [eax + ecx*2]
cmp dword [esp + 0xa4], eax
jbe 0x40c96f
mov ecx, dword [esp + 0x9c]
cmp dword [ecx + 8], 0
je 0x40c96f
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x40c96f
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x94]
jb 0x40c966
cmp eax, dword [esp + 0x98]
jb 0x40c96f
add eax, dword [esp + 0x8c]
mov esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xb8]
test esi, esi
je 0x40c9ab
lock dec dword [esi + 4]
jne 0x40c9ab
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lock dec dword [esi + 8]
jne 0x40c9ab
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov esi, dword [esp + 0xac]
test esi, esi
je 0x40c9e3
lock dec dword [esi + 4]
jne 0x40c9e3
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lock dec dword [esi + 8]
jne 0x40c9e3
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x40ca1b
lock dec dword [esi + 4]
jne 0x40ca1b
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lock dec dword [esi + 8]
jne 0x40ca1b
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40d782
lea eax, [esp + 0x54]
push eax
push 0x1c
lea eax, [esp + 0x90]
push eax
push 0
push esi
mov edi, dword [esp + 0x24]
push dword [edi]
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
js 0x40d776
cmp dword [esp + 0x54], 0
je 0x40d782
cmp dword [esp + 0x90], 0
je 0x40d782
cmp dword [esp + 0x98], 0x1000
jne 0x40d782
cmp dword [esp + 0x9c], 1
je 0x40d782
cmp byte [edi + 0x20], 0
jne 0x40ca9a
mov dword [edi + 0x20], 1
mov dword [edi + 0x1c], 0
jmp 0x40caa4
test byte [edi + 0x1c], 4
jne 0x40cb64
mov ebx, esi
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov esi, eax
xor eax, eax
inc eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0x4453c8
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10
lea eax, [esi + 0x1c]
mov dword [esi + 0x10], eax
lea edi, [esi + 0xc]
mov dword [esi + 0x2c], ebx
mov ecx, edi
xor edx, edx
call fcn.0040e0e0
mov eax, dword [esi + 0x10]
cmp byte [eax], 0xeb
mov dword [esp + 4], ebx
je 0x40d79f
mov ecx, edi
xor edx, edx
call fcn.0040e0e0
mov eax, dword [esi + 0x10]
cmp byte [eax], 0xff
mov dword [esp + 8], ebx
je 0x40d825
lea eax, [esi + 4]
lock dec dword [eax]
jne 0x40cb44
mov edi, esi
add edi, 8
mov eax, dword [esi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
lock dec dword [edi]
jne 0x40cb44
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp ebx, esi
mov edi, dword [esp + 0x10]
jne 0x40caa4
mov esi, dword [esp + 0x18]
cmp ebx, esi
jne 0x40d98f
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], 0x4453c8
lea ecx, [ebx + 0xc]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x2c], esi
mov dword [esp + 4], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0
mov eax, dword [0x4508b4]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x40cc0e
push 0x4508b4
call fcn.00422a27
add esp, 4
cmp dword [0x4508b4], 0xffffffff
jne 0x40cc0e
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0xa4]
mov dword [0x4508b0], eax
push 0x4508b4
call fcn.00422a79
add esp, 4
mov esi, dword [0x4508b0]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
test esi, esi
je 0x40d9a8
cmp dword [edi], 0
je 0x40d9a8
mov eax, dword [edi + 0xc]
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x40cd53
mov eax, dword [0x4508b4]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x40cc9c
push 0x4508b4
call fcn.00422a27
add esp, 4
cmp dword [0x4508b4], 0xffffffff
jne 0x40cc9c
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0xa4]
mov dword [0x4508b0], eax
push 0x4508b4
call fcn.00422a79
add esp, 4
mov ecx, dword [0x4508b0]
mov eax, esi
xor edx, edx
div ecx
sub ecx, edx
test edx, edx
cmove ecx, edx
add ecx, esi
mov dword [edi + 0x10], ecx
sub esp, 0x18
mov dword [esp + 0x10], ecx
movaps xmm0, xmmword [0x4452b0]
movups xmmword [esp], xmm0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 4], eax
test eax, eax
je 0x40d9a2
sub esp, 0x14
movaps xmm0, xmmword [0x4452a0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 8], eax
test eax, eax
je 0x40d9a2
lea esi, [edi + 0x10]
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 4]
cmp byte [esp + 0x38], 0
jne 0x40dc00
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0
call dword [sym.imp.mozglue.dll_void____cdecl_mozilla::MapRemoteViewOfFile_void___void___unsigned_long_long_unsigned___int64___void___unsigned_long_int__unsigned_long_int__unsigned_long_int_]
add esp, 0x20
test eax, eax
je 0x40de14
mov edi, dword [esp + 0x10]
mov dword [edi + 0xc], eax
jmp 0x40cd56
lea esi, [edi + 0x10]
mov edx, dword [esi]
test edx, edx
je 0x40d9a8
mov dword [esp + 8], 0
cmp dword [edi], 0
je 0x40d573
cmp dword [edi + 4], 0
je 0x40d573
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40d573
mov ebx, dword [edi + 0x18]
shl ebx, 7
mov dword [esp + 8], ebx
or ebx, 0x7f
mov esi, dword [edi + 0x14]
cmp ebx, esi
jb 0x40ce61
cmp esi, edx
jae 0x40d8e6
mov eax, dword [0x4508ac]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
mov edi, dword [esp + 0x10]
jg 0x40d5ba
mov eax, dword [edi + 8]
add eax, dword [edi + 0x14]
push 4
push 0x1000
push dword [0x4508a8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x40d8e6
mov eax, dword [0x4508ac]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40d600
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x14]
push 0x20
push 0x1000
push dword [0x4508a8]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x40d8e6
mov eax, dword [0x4508ac]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40d646
mov eax, dword [0x4508a8]
add dword [edi + 0x14], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 8]
add eax, edx
add ecx, edx
lea esi, [esp + 0x8c]
mov dword [esi - 4], edi
xor edx, edx
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov eax, 0x80
mov dword [esi + 0x14], eax
mov byte [esi + 0x18], 1
push esi
push 4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
mov edx, dword [esi - 4]
mov ecx, dword [esi]
mov dword [esp + 8], ecx
cmovne eax, ecx
mov edi, dword [esi + 4]
mov cl, byte [esi + 0x18]
mov ebx, dword [esi + 8]
mov dword [esp + 0xc], edx
test edx, edx
je 0x40cec9
test edi, edi
je 0x40ced0
test ebx, ebx
je 0x40ced0
test eax, eax
je 0x40ced0
test cl, cl
je 0x40ced0
mov esi, dword [esp + 0x10]
inc dword [esi + 0x18]
mov byte [esp + 0x18], cl
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x98]
mov edx, ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x74], 1
mov dword [esp + 0x48], ebx
mov dl, byte [esp + 0x18]
mov byte [esp + 0x4c], dl
xor edx, edx
mov dword [esp + 0x58], edx
mov byte [esp + 0x70], 0
mov edx, dword [ebp + 0xc]
xor edi, edi
mov dword [edx], edi
test ecx, ecx
je 0x40d9d9
cmp byte [esp + 0x18], 0
mov edi, dword [esp + 0x20]
je 0x40d527
test edi, edi
je 0x40d527
cmp dword [esp + 0x1c], 0
je 0x40d527
test eax, eax
je 0x40d527
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_EncodePointer]
lea ecx, [esi + 4]
cmp ecx, ebx
ja 0x40d9f1
mov dword [edi + esi], eax
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
add esi, 4
mov dword [esp + 0x40], esi
test ebx, ebx
je 0x40d9ea
mov al, byte [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test edi, edi
je 0x40d527
test ecx, ecx
je 0x40d527
cmp dword [esp + 8], 0
je 0x40d527
test al, al
je 0x40d527
mov eax, dword [esp + 4]
push dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_EncodePointer]
lea ecx, [esi + 4]
test ebx, ebx
je 0x40da04
cmp ecx, dword [esp + 0x48]
ja 0x40da19
mov ecx, dword [esp + 0x38]
mov dword [ecx + esi], eax
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x40da0c
mov al, byte [esp + 0x4c]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x38], 0
je 0x40d51b
cmp dword [esp + 0x3c], 0
je 0x40d51b
cmp dword [esp + 0x34], 0
je 0x40d51b
test al, al
je 0x40d51b
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
xor esi, esi
mov ebx, dword [esp + 4]
mov ecx, ebx
mov edx, esi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d07f
mov eax, dword [ebx + 4]
movzx eax, byte [eax + esi]
xor edi, edi
cmp eax, 0x65
jg 0x40d0ad
lea ecx, [eax - 0x2e]
cmp ecx, 0x10
ja 0x40d0a0
mov edx, 0x10101
bt edx, ecx
jb 0x40d6e9
add eax, 0xffffff9c
cmp eax, 2
jae 0x40d0d3
jmp 0x40d6e9
lea ecx, [eax - 0xf0]
cmp ecx, 3
ja 0x40d0c1
cmp ecx, 1
jne 0x40db2c
cmp eax, 0x67
je 0x40d8f7
cmp eax, 0x66
je 0x40d901
add edi, esi
mov dword [esp + 0x80], edi
mov ebx, dword [esp + 4]
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d0f3
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0x88
jb 0x40d12e
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d10c
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0x8b
ja 0x40d12e
lea eax, [edi + 1]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x78]
call fcn.0040e820
lea esi, [eax + edi]
inc esi
jmp 0x40d217
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d141
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0xf
je 0x40d90b
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d15e
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0xa1
je 0x40d17d
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d177
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0xb8
jne 0x40d185
add edi, 5
jmp 0x40d215
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d198
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0x33
je 0x40db36
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d1b5
mov eax, dword [ebx + 4]
mov al, byte [eax + edi]
and al, 0xf8
cmp al, 0x40
je 0x40d214
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d1d1
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0x83
je 0x40db65
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d1ee
mov eax, dword [ebx + 4]
cmp byte [eax + edi], 0x68
je 0x40d17d
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d207
mov eax, dword [ebx + 4]
mov al, byte [eax + edi]
and al, 0xf0
cmp al, 0x50
jne 0x40db9f
inc edi
mov esi, edi
mov dword [esp + 0x80], esi
cmp esi, 5
jb 0x40d06c
mov eax, dword [esp + 8]
lea edi, [esi + eax]
cmp dword [esp + 0x18], 0
je 0x40da70
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
cmp edi, eax
ja 0x40d6db
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0
je 0x40d6db
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 8]
mov dword [esp + 0x88], 0
lea edx, [esp + 0x88]
push edx
push esi
push ecx
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40d6db
cmp dword [esp + 0x88], esi
jne 0x40d6db
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x38]
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x40d51b
cmp dword [esp + 0x3c], 0
je 0x40d51b
cmp dword [esp + 0x34], 0
je 0x40d51b
cmp esi, 0x64
ja 0x40d51b
cmp byte [esp + 0x4c], 0
je 0x40d51b
cmp dword [esp + 0x10], 0
jns 0x40df02
cmp edi, ecx
jae 0x40da95
mov byte [eax + edi], 0xe9
mov edi, dword [esp + 0x40]
inc edi
mov dword [esp + 0x40], edi
cmp dword [esp + 0x30], 0
je 0x40da89
mov ecx, dword [esp + 0x48]
lea eax, [edi + 4]
cmp eax, ecx
ja 0x40df15
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x20]
add eax, esi
mov ecx, dword [esp + 0x3c]
add ecx, edi
sub eax, ecx
add eax, 0xfffffffc
mov ecx, dword [esp + 0x38]
mov dword [ecx + edi], eax
add dword [esp + 0x40], 4
cmp byte [esp + 0x4c], 0
je 0x40d51b
cmp dword [esp + 0x30], 0
je 0x40d51b
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
je 0x40d51b
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xa8]
mov dword [ecx - 0x20], edx
mov dword [ecx - 0x1c], eax
mov dword [ecx - 0x18], esi
xor ebx, ebx
mov dword [ecx - 0x14], ebx
mov dword [ecx - 0x10], ebx
mov dword [ecx - 8], ebx
mov dword [ecx - 4], 0x10
mov dword [ecx - 0xc], ecx
mov byte [ecx + 0x10], 1
lea edi, [esp + 0xbc]
mov ecx, edi
push esi
push eax
call fcn.0040e600
add esp, 8
cmp dword [edi + 8], ebx
mov ebx, edi
je 0x40d4ec
cmp byte [esp + 0xb8], 0
je 0x40d4ec
lea edi, [esp + 0x9c]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x40dabd
mov ecx, dword [esp + 0x9c]
mov byte [ecx + eax], 0xe9
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xa0]
inc eax
mov dword [esp + 0xa0], eax
inc esi
mov dword [esp + 0x94], esi
add esi, dword [esp + 0x8c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0xa4]
ja 0x40dada
mov edx, dword [ebp + 8]
sub edx, esi
add edx, 0xfffffffc
mov ecx, dword [esp + 0x9c]
mov dword [ecx + eax], edx
add dword [esp + 0xa0], 4
mov eax, dword [esp + 0x94]
add eax, 4
mov dword [esp + 0x94], eax
cmp eax, dword [esp + 0x90]
jb 0x40daf7
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
cmp dword [esp + 0xc4], 0
je 0x40d6a2
cmp byte [esp + 0xb8], 0
je 0x40d6a2
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x40d4ec
mov eax, dword [esp + 0x88]
cmp dword [eax], 0
je 0x40d6a2
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
add ecx, dword [esp + 0x8c]
lea edi, [esp + 0x84]
mov dword [edi], 0
push edi
push esi
push edx
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x40d6a2
cmp dword [esp + 0x84], esi
jne 0x40d6a2
mov eax, dword [esp + 0x88]
xor esi, esi
push esi
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0xa0]
add dword [esp + 0x98], eax
mov dword [esp + 0xa0], esi
mov ecx, ebx
call fcn.0040e750
lea ecx, [esp + 0xcc]
mov eax, dword [ecx - 0xc]
cmp eax, ecx
jne 0x40da9f
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xa8]
cmp eax, ecx
jne 0x40daae
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x40da29
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
setne al
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40d554
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x40d554
lea edx, [esp + 0x34]
push edx
push ecx
push dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [esp + 0x74], 0
mov ebx, dword [esp + 0x14]
je 0x40d573
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40d573
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x40da5b
lock dec dword [ebx + 4]
jne 0x40d5a0
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
lock dec dword [ebx + 8]
jne 0x40d5a0
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, dword [esp + 0xe0]
xor ecx, ebp
call fcn.004230e0
mov eax, dword [esp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4508ac
call fcn.00422a27
add esp, 4
cmp dword [0x4508ac], 0xffffffff
jne 0x40cdcb
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x8c]
mov dword [0x4508a8], eax
push 0x4508ac
call fcn.00422a79
add esp, 4
jmp 0x40cdcb
push 0x4508ac
call fcn.00422a27
add esp, 4
cmp dword [0x4508ac], 0xffffffff
jne 0x40ce0e
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x8c]
mov dword [0x4508a8], eax
push 0x4508ac
call fcn.00422a79
add esp, 4
jmp 0x40ce0e
push 0x4508ac
call fcn.00422a27
add esp, 4
cmp dword [0x4508ac], 0xffffffff
jne 0x40ce53
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x8c]
mov dword [0x4508a8], eax
push 0x4508ac
call fcn.00422a79
add esp, 4
jmp 0x40ce53
lea ecx, [esp + 0x88]
mov edx, edi
call fcn.004271f0
xor ebx, ebx
inc ebx
jmp 0x40c6d7
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
jmp 0x40d4ec
lea ecx, [esp + 0x88]
mov edx, edi
call fcn.004271f0
jmp 0x40c713
lea ecx, [esp + 0x88]
mov edx, dword [esp + 0x10]
call fcn.004271f0
xor ebx, ebx
inc ebx
jmp 0x40c69b
mov byte [esp + 0x4c], 0
mov edi, dword [esp + 8]
jmp 0x40d29c
mov byte [esp + 0xc], 2
xor edi, edi
inc edi
lea edx, [esi + edi]
mov ebx, dword [esp + 4]
mov ecx, ebx
mov dword [esp + 0x1c], edx
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d711
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + ecx]
cmp eax, 0x65
jg 0x40d741
lea ecx, [eax - 0x2e]
cmp ecx, 0x10
ja 0x40d734
mov edx, 0x10101
bt edx, ecx
jb 0x40dea2
add eax, 0xffffff9c
cmp eax, 2
jae 0x40d766
jmp 0x40dea2
cmp eax, 0x66
je 0x40deb0
cmp eax, 0x67
je 0x40debe
add eax, 0xffffff10
cmp eax, 3
ja 0x40d766
cmp eax, 1
jne 0x40decc
test byte [esp + 0xc], 0xc
jne 0x40d51b
jmp 0x40d0d3
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
push eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov dword [esp + 8], 0
jmp 0x40d5a0
lea ecx, [esp + 0x88]
mov edx, dword [esp + 0x10]
jmp 0x40d695
xor edx, edx
inc edx
mov ecx, edi
call fcn.0040e0e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40d7b3
mov eax, dword [esi + 0x10]
movsx eax, byte [eax + 1]
add eax, 2
mov dword [esp + 0xc], eax
mov ecx, eax
shl ecx, 0x18
add ecx, 0xfe000000
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x40cb11
mov eax, dword [esp + 0xc]
add eax, dword [esi + 0x2c]
mov dword [esp + 0xc], eax
sar dword [esp + 0x14], 0x18
mov ebx, 2
mov ecx, edi
mov edx, ebx
call fcn.0040e0e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40d805
mov eax, dword [esi + 0x10]
cmp byte [eax + ebx], 0x90
jne 0x40dbf3
lea eax, [ebx - 1]
movsx eax, al
inc ebx
cmp dword [esp + 0x14], eax
jg 0x40d7f2
mov eax, dword [esp + 0xc]
jmp 0x40dbf7
xor edx, edx
inc edx
mov ecx, edi
mov ebx, edx
call fcn.0040e0e0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40d83b
mov eax, dword [esi + 0x10]
cmp byte [eax + 1], 0x25
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
jne 0x40cb11
push 0x30
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax], 0x4453c8
lea ecx, [eax + 0xc]
mov dword [esp + 8], ecx
mov ebx, eax
mov edx, edi
push 2
call fcn.004272f0
add esp, 4
mov ecx, dword [esp + 8]
mov edx, 4
call fcn.0040e0e0
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call fcn.00427390
mov dword [esp + 8], eax
mov dword [esp + 0x14], ebx
lock dec dword [ebx + 4]
jne 0x40cb11
mov edi, dword [esp + 0x14]
mov ebx, edi
add ebx, 8
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esp + 0xc]
lock dec dword [ebx]
jne 0x40cb11
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
jmp 0x40cb11
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x14]
jmp 0x40d573
mov byte [esp + 0xc], 8
jmp 0x40d6ee
mov byte [esp + 0xc], 4
jmp 0x40d6ee
lea esi, [edi + 1]
mov ecx, ebx
mov edx, esi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40d925
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 1], 0x10
mov ebx, dword [esp + 4]
jne 0x40dbc8
lea eax, [edi + 2]
lea ecx, [esp + 0x78]
mov dword [ecx + 8], eax
call fcn.0040e820
lea esi, [eax + edi]
add esi, 2
jmp 0x40d217
movzx eax, dx
sub eax, dword [esp + 0x90]
jb 0x40d988
cmp dword [esp + 0xa4], eax
jbe 0x40d988
mov ecx, dword [esp + 0x9c]
cmp dword [ecx + 8], 0
je 0x40d988
mov ecx, dword [ecx + 4]
test ecx, ecx
mov esi, 0
je 0x40c96f
mov eax, dword [ecx + eax*4]
jmp 0x40c966
xor esi, esi
jmp 0x40c96f
mov ecx, edi
mov edx, ebx
call fcn.00424f30
test al, al
cmovne esi, ebx
jmp 0x40cb64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 8], 0
jmp 0x40d573
mov dword [esp + 0xa4], eax
jmp 0x40c5b8
mov dword [esp + 0xb0], eax
jmp 0x40c62f
mov dword [esp + 0xbc], eax
jmp 0x40c69b
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_EncodePointer]
add esi, 4
mov dword [esp + 0x40], esi
xor ebx, ebx
jmp 0x40cfe2
mov byte [esp + 0x4c], 0
xor ecx, ecx
inc ecx
xor eax, eax
mov ebx, dword [esp + 0xc]
jmp 0x40cfbf
mov dword [esp + 8], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x18], 0
jmp 0x40d057
mov byte [esp + 0x4c], 0
xor eax, eax
mov dword [esp + 8], esi
jmp 0x40d02a
xor esi, esi
mov dword [esp + 0x40], esi
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
cmp dword [esp + 0x30], esi
je 0x40dee3
cmp dword [esp + 0x48], 3
jbe 0x40def0
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
add dword [esp + 0x40], 4
jmp 0x40d527
lea edx, [esp + 0x58]
push edx
push ecx
push dword [edx + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x40d573
mov dword [esp + 0x40], edi
cmp esi, 0x64
ja 0x40d51b
cmp dword [esp + 0x10], 0
jns 0x40defa
inc edi
add edi, 4
mov dword [esp + 0x40], edi
jmp 0x40d330
mov byte [esp + 0x4c], 0
jmp 0x40d305
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40d505
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x40d51b
mov ecx, edi
push 1
call fcn.0040e270
test al, al
je 0x40de37
mov eax, dword [esp + 0xa0]
jmp 0x40d3c9
mov ecx, edi
push 4
call fcn.0040e270
test al, al
je 0x40de52
mov eax, dword [esp + 0xa0]
jmp 0x40d409
lea edi, [esp + 0x88]
lea esi, [esp + 0x84]
mov byte [esp + 0x84], 0x90
mov ecx, edi
mov edx, esi
call fcn.00425290
mov eax, dword [esp + 0x94]
cmp eax, dword [esp + 0x90]
jae 0x40d441
jmp 0x40db05
mov byte [esp + 0xc], 1
jmp 0x40d6ee
lea edx, [edi + 1]
mov ecx, ebx
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40db4e
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 1], 0xc0
mov ebx, dword [esp + 4]
jb 0x40d1a2
add edi, 2
jmp 0x40d215
lea esi, [edi + 1]
mov ecx, ebx
mov edx, esi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40db7f
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov bl, byte [eax + edi + 1]
mov ecx, dword [esp + 4]
mov edx, esi
call fcn.0040e0e0
cmp bl, 0xc0
jb 0x40dcdb
add edi, 3
jmp 0x40dd0a
mov ecx, ebx
mov edx, edi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40dbb6
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi], 0x6a
jne 0x40dd15
add edi, 2
jmp 0x40dd0a
mov ecx, ebx
mov edx, esi
call fcn.0040e0e0
mov eax, dword [ebx + 8]
test eax, eax
je 0x40dbdf
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 1], 0x11
mov ebx, dword [esp + 4]
jne 0x40d14b
jmp 0x40d934
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
jmp 0x40cb11
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x30]
lea ecx, [esp + 0x88]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
call fcn.004223b0
mov dword [esp + 0x1c], eax
cmp byte [ebx + 8], 0
je 0x40de66
push ebx
call fcn.004275b0
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [0x4508c0]
mov ecx, dword [0x4502e0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x40de71
mov ecx, dword [0x4508bc]
test ecx, ecx
je 0x40dd98
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
xor ebx, ebx
mov dword [esp + 0x5c], ebx
movaps xmm0, xmmword [0x4452c0]
movups xmmword [esp + 0x88], xmm0
lea eax, [esp + 0x54]
mov dword [esp + 0x90], eax
call dword [section..00cfg]
push 1
lea eax, [esp + 0x8c]
push eax
push 0x20
push ebx
push dword [esp + 0x1c]
push ebx
push ebx
push ebx
push edi
push dword [esp + 0x3c]
call ecx
mov edi, dword [esp + 0x10]
mov dword [edi + 0xc], eax
test eax, eax
mov ebx, dword [esp + 0x14]
jne 0x40cd56
jmp 0x40d9a8
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x40dced
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
and bl, 0xc0
cmp bl, 0x40
jne 0x40d51b
mov al, byte [eax + edi + 1]
and al, 7
cmp al, 4
je 0x40d51b
add edi, 4
mov esi, edi
mov ebx, dword [esp + 4]
jmp 0x40d217
mov esi, dword [esp + 4]
mov ecx, esi
mov edx, edi
call fcn.0040e0e0
mov eax, dword [esi + 8]
test eax, eax
je 0x40dd30
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi], 0xe9
jne 0x40dd3f
lea esi, [edi + 5]
mov dword [esp + 0x10], edi
jmp 0x40dd0c
mov esi, dword [esp + 4]
mov ecx, esi
mov edx, edi
call fcn.0040e0e0
mov eax, dword [esi + 8]
test eax, eax
je 0x40dd5a
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi], 0xff
jne 0x40dd88
lea edx, [edi + 1]
mov esi, dword [esp + 4]
mov ecx, esi
call fcn.0040e0e0
mov eax, dword [esi + 8]
test eax, eax
je 0x40dd7c
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
cmp byte [eax + edi + 1], 0x25
jne 0x40dd88
add edi, 6
jmp 0x40dd0a
mov ecx, dword [esp + 4]
mov edx, edi
call fcn.0040e0e0
jmp 0x40d51b
inc dword [esp + 8]
mov ebx, 8
mov ecx, dword [esp + 0x10]
push dword [esp + 8]
push dword [esp + 0x20]
push dword [esp + 0x14]
push edi
call fcn.00427430
test eax, eax
je 0x40de1a
push 0x20
xor ecx, ecx
push ecx
push ecx
push eax
push ecx
push ecx
push edi
push dword [esp + 0x34]
call dword [sym.imp.mozglue.dll_void____cdecl_mozilla::MapRemoteViewOfFile_void___void___unsigned_long_long_unsigned___int64___void___unsigned_long_int__unsigned_long_int__unsigned_long_int_]
add esp, 0x20
test eax, eax
jne 0x40de2e
dec ebx
jne 0x40dda1
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edi
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x18], 0
call dword [sym.imp.mozglue.dll_void____cdecl_mozilla::MapRemoteViewOfFile_void___void___unsigned_long_long_unsigned___int64___void___unsigned_long_int__unsigned_long_int__unsigned_long_int_]
add esp, 0x20
test eax, eax
mov ebx, dword [esp + 0x14]
jne 0x40cd4a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 0
mov ebx, dword [esp + 0x14]
jmp 0x40d9a8
mov ebx, dword [esp + 0x14]
jmp 0x40cd4a
mov byte [esp + 0xb8], 0
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xa0]
jmp 0x40d3f2
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x94]
jmp 0x40d434
int3
push 0x4508c0
call fcn.00422a27
add esp, 4
cmp dword [0x4508c0], 0xffffffff
jne 0x40dc64
call fcn.00427600
push 0x4508c0
call fcn.00422a79
add esp, 4
jmp 0x40dc64
mov al, 2
test byte [esp + 0xc], 2
je 0x40ded9
jmp 0x40d51b
mov al, 4
test byte [esp + 0xc], 4
je 0x40ded9
jmp 0x40d51b
mov al, 8
test byte [esp + 0xc], 8
je 0x40ded9
jmp 0x40d51b
mov al, 1
test byte [esp + 0xc], 1
jne 0x40d51b
or byte [esp + 0xc], al
inc edi
jmp 0x40d6f1
mov dword [esp + 0x40], 4
jmp 0x40d527
mov byte [esp + 0x4c], 0
jmp 0x40d527
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add eax, ecx
add eax, 5
cmp eax, dword [esp + 0xc]
jbe 0x40df1f
mov byte [esp + 0x4c], 0
jmp 0x40d330
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
add eax, edx
inc eax
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0x20]
add edx, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x38]
add dword [edx + eax], ecx
jmp 0x40d330