Function at 0x10014be0
Capabilities:
Execute shellcode via indirect call
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x1007a00c]
mov ebx, edx
xor eax, ebp
mov dword [esp + 0xc8], eax
mov dword [esp + 0x10], ecx
test byte [ecx + 0x10], 4
jne 0x10014c31
test ebx, ebx
je 0x10014c31
mov edx, ebx
mov al, byte [edx]
mov edi, edx
cmp al, 0xff
je 0x100156fa
cmp al, 0xeb
mov edx, edi
je 0x10015710
cmp edi, edx
jne 0x10014c0f
cmp edi, ebx
jne 0x10015a52
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a86c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10014c98
push 0x1007a86c
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a86c], 0xffffffff
jne 0x10014c98
lea esi, [esp + 0x70]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov dword [0x1007a868], eax
push 0x1007a86c
call fcn.10069bc2
add esp, 4
xor edi, edi
mov esi, dword [0x1007a868]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a874]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100154fb
push 0x1007a878
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp byte [esp + 0x28], 0
mov dword [esp + 0xc], ebx
mov dword [esp], esi
jne 0x10015751
mov dword [esp + 8], 0
mov ebx, dword [0x1007a864]
test ebx, ebx
jne 0x10014d1f
mov esi, 0xc
push esi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov ebx, eax
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx], esi
mov esi, dword [esp]
mov dword [0x1007a864], ebx
cmp byte [esp + 0x28], 0
jne 0x10015788
cmp dword [ebx + 4], 0
jne 0x10014d8e
push 0x14
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x10014d5c
mov ecx, ebx
call fcn.10015ef0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esp + 8]
lea eax, [eax + eax*2]
mov dword [ecx + eax*4 + 4], edi
mov dword [ecx + eax*4], edx
mov dword [ecx + eax*4 + 8], esi
inc dword [ebx + 4]
mov ebx, dword [0x1007a864]
mov esi, dword [esp]
test ebx, ebx
je 0x100157f4
cmp dword [ebx + 4], 0
je 0x100157f4
mov ebx, dword [ebx]
xor edi, edi
test esi, esi
mov cl, 1
je 0x10014e58
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x10014e58
cmp dword [ebx + 4], 0
jne 0x10014e4b
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a86c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10014e07
push 0x1007a86c
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a86c], 0xffffffff
jne 0x10014e07
lea esi, [esp + 0x70]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov esi, dword [esp]
mov dword [0x1007a868], eax
push 0x1007a86c
call fcn.10069bc2
add esp, 4
mov edi, dword [0x1007a868]
mov eax, esi
xor edx, edx
div edi
sub edi, edx
test edx, edx
cmove edi, edx
add edi, esi
mov dword [ebx + 8], edi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
cmp byte [esp + 0x28], 0
jne 0x10015a63
push 1
push 0x2000
push edi
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
je 0x10015b14
mov dword [ebx + 4], eax
mov eax, dword [ebx + 8]
test eax, eax
cmove ebx, eax
sete cl
mov edi, ebx
push 0x1007a878
mov ebx, ecx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
test bl, bl
jne 0x10015684
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a874]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10015543
push 0x1007a878
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [edi + 4]
test eax, eax
je 0x10015664
mov esi, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
shl esi, 7
mov edx, esi
or edx, 0x7f
cmp edx, ecx
jb 0x10014f2e
cmp ecx, dword [edi + 8]
jae 0x10015664
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a860]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1001558b
mov eax, dword [edi + 4]
add eax, dword [edi + 0xc]
push 0x20
push 0x1000
push dword [0x1007a85c]
push eax
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
je 0x10015664
mov ecx, dword [0x1007a2f0]
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a860]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100155ce
mov eax, dword [0x1007a85c]
add dword [edi + 0xc], eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x74]
add eax, esi
xor edx, edx
mov dword [ecx - 4], edi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov edx, 0x80
mov dword [ecx + 0x14], edx
mov byte [ecx + 0x18], 1
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x10015809
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x10015816
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0x8c]
mov esi, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
test cl, cl
mov byte [esp + 8], cl
je 0x10014fa1
test eax, eax
je 0x10014fa1
test esi, esi
je 0x10014fa1
cmp dword [esp], 0
je 0x10014fa1
inc dword [edi + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x60], 1
push 0x1007a878
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [esp]
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
xor esi, esi
test ebx, ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x5c], 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov al, byte [esp + 8]
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], al
mov dword [ecx], esi
mov esi, dword [esp + 0xc]
je 0x1001505e
test edx, edx
je 0x10015835
cmp dword [esp + 4], 0
je 0x1001583c
cmp dword [esp], 0
je 0x10015491
test al, al
je 0x10015491
push dword [esp + 0x10]
call dword [sym.imp.kernel32.dll_EncodePointer]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], 0
lea edx, [ecx + 4]
je 0x10015843
cmp edx, dword [esp + 0x38]
ja 0x100158b0
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
add dword [esp + 0x30], 4
cmp dword [esp + 0x20], 0
je 0x100150c4
mov edx, dword [esp + 0x28]
test edx, edx
je 0x100158ba
cmp dword [esp + 0x2c], 0
je 0x100158c8
cmp dword [esp + 0x24], 0
je 0x10015491
cmp byte [esp + 0x3c], 0
je 0x10015491
push esi
call dword [sym.imp.kernel32.dll_EncodePointer]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
lea edi, [ecx + 4]
test edx, edx
je 0x100158d6
cmp edi, dword [esp + 0x38]
ja 0x100158e6
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add edi, 4
test eax, eax
mov dword [esp + 0x30], edi
je 0x100158da
mov dword [esp], eax
mov al, byte [esp + 0x3c]
cmp dword [esp + 0x28], 0
je 0x10015485
cmp dword [esp + 0x2c], 0
je 0x10015485
cmp dword [esp + 0x24], 0
je 0x10015485
test al, al
je 0x10015485
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x34], edi
dec eax
mov dword [esp + 0x10], eax
xor eax, eax
mov esi, ebx
mov ecx, dword [esp + 0xc]
mov cl, byte [ecx + esi]
mov edx, ecx
cmp cl, 0x63
jg 0x10015180
add dl, 0x10
cmp dl, 3
ja 0x10015166
cmp dl, 1
jne 0x10015929
add cl, 0xd2
cmp cl, 0x10
ja 0x1001519e
movzx ecx, cl
mov edx, 0x10101
bt edx, ecx
jae 0x1001519e
jmp 0x10015611
add dl, 0x9c
cmp dl, 2
jb 0x10015611
cmp cl, 0x66
je 0x1001568b
cmp cl, 0x67
je 0x10015697
test al, 0xc
jne 0x10015485
mov edx, dword [esp + 0xc]
mov dword [esp + 0x6c], esi
mov al, byte [edx + esi]
mov ecx, eax
and cl, 0xfc
cmp cl, 0x88
jne 0x100151e9
lea eax, [esi + 1]
mov dword [esp + 0x6c], eax
movzx eax, byte [edx + esi + 1]
mov edx, eax
shr edx, 6
cmp edx, 3
jne 0x10015621
add esi, 2
mov ebx, esi
cmp ebx, 5
mov dword [esp + 0x6c], ebx
jb 0x10015143
jmp 0x10015239
cmp al, 0xe
jg 0x100151fe
cmp al, 0xa1
je 0x1001565c
cmp al, 0xb8
jne 0x1001520e
jmp 0x1001565c
cmp al, 0x33
je 0x100159f3
cmp al, 0xf
je 0x10015a03
mov ecx, eax
and cl, 0xf8
cmp cl, 0x40
je 0x10015236
cmp al, 0x68
je 0x1001565c
cmp al, 0x83
je 0x100156a6
mov ecx, eax
and cl, 0xf0
cmp cl, 0x50
jne 0x100156dd
inc esi
jmp 0x100151d8
cmp dword [esp], 0
lea eax, [ebx + edi]
je 0x10015938
cmp eax, dword [esp + 0x38]
ja 0x1001594a
add edi, dword [esp + 0x28]
push ebx
push dword [esp + 0x10]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, ebx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1001593c
mov dword [esp], ecx
mov cl, byte [esp + 0x3c]
mov edi, eax
cmp dword [esp + 0x28], 0
je 0x10015485
cmp dword [esp + 0x2c], 0
je 0x10015485
cmp dword [esp + 0x24], 0
je 0x10015485
test cl, cl
je 0x10015485
xor ecx, ecx
mov eax, edi
cmp ebx, 0x64
ja 0x10015485
mov edx, dword [esp + 0x10]
test edx, edx
jns 0x10015956
test cl, cl
jne 0x10015972
cmp eax, dword [esp + 0x38]
jae 0x10015987
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], 0xe9
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x30], eax
lea ecx, [eax + 4]
test edx, edx
je 0x1001597e
cmp ecx, dword [esp + 0x38]
ja 0x10015968
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
add edx, ebx
sub edx, eax
sub edx, dword [esp + 0x2c]
add edx, 0xfffffffc
mov dword [ecx + eax], edx
add dword [esp + 0x30], 4
cmp byte [esp + 0x3c], 0
je 0x10015485
cmp dword [esp + 0x20], 0
je 0x10015485
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x2c]
je 0x10015485
xor ebx, ebx
lea esi, [esp + 0x70]
lea ecx, [esp + 0x64]
mov edx, esi
push ebx
push ebx
call fcn.10016300
add esp, 8
cmp dword [esi + 0x3c], ebx
je 0x10015453
cmp byte [esp + 0xa0], 0
je 0x10015453
lea esi, [esp + 0x84]
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10015994
mov ecx, dword [esp + 0x84]
mov byte [ecx + eax], 0xe9
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
inc eax
inc ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x7c], ecx
sub ebx, ecx
lea ecx, [eax + 4]
sub ebx, dword [esp + 0x74]
cmp ecx, dword [esp + 0x8c]
ja 0x100159b5
mov esi, dword [esp + 0x84]
add ebx, 0xfffffffc
mov ecx, ebx
mov edx, ebx
shr ecx, 0x10
shr edx, 0x18
mov byte [esi + eax], bl
mov byte [esi + eax + 1], bh
mov byte [esi + eax + 2], cl
mov byte [esi + eax + 3], dl
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xac]
add eax, 4
mov dword [esp + 0x88], eax
add dword [esp + 0x7c], 4
cmp byte [esp + 0xa0], 0
je 0x10015453
test ecx, ecx
je 0x10015453
test eax, eax
je 0x1001544e
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x74]
push eax
push dword [esp + 0x88]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
xor esi, esi
push esi
push esi
push eax
call dword [sym.imp.kernel32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x88]
add dword [esp + 0x80], eax
mov dword [esp + 0x88], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
lea esi, [esp + 0xa4]
mov ecx, esi
call fcn.100146f0
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb4]
cmp eax, ecx
jne 0x100159d5
lea ecx, [esp + 0x90]
mov eax, dword [ecx - 0xc]
cmp eax, ecx
jne 0x100159e4
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x100158f7
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x28]
cmp dword [eax], 0
setne bl
test edx, edx
je 0x100154c8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100154c8
lea esi, [esp + 0x24]
push esi
push eax
push dword [esi + 0x14]
push edx
call dword [sym.imp.kernel32.dll_VirtualProtect]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x18], 0
cmp byte [esp + 0x60], 0
je 0x100154e3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100154e3
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x1001584c
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.10069260
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1007a874
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a874], 0xffffffff
jne 0x10014ccd
push 0x1000000
push 0xfa0
push 0x1007a878
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionEx]
mov byte [0x1007a870], 1
push 0x1007a874
call fcn.10069bc2
add esp, 4
jmp 0x10014ccd
push 0x1007a874
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a874], 0xffffffff
jne 0x10014e8e
push 0x1000000
push 0xfa0
push 0x1007a878
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionEx]
mov byte [0x1007a870], 1
push 0x1007a874
call fcn.10069bc2
add esp, 4
jmp 0x10014e8e
push 0x1007a860
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a860], 0xffffffff
jne 0x10014ee0
mov ebx, edi
lea edi, [esp + 0x70]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov edi, ebx
mov dword [0x1007a85c], eax
push 0x1007a860
call fcn.10069bc2
add esp, 4
jmp 0x10014ee0
push 0x1007a860
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a860], 0xffffffff
jne 0x10014f23
mov ebx, edi
lea edi, [esp + 0x70]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov edi, ebx
mov dword [0x1007a85c], eax
push 0x1007a860
call fcn.10069bc2
add esp, 4
jmp 0x10014f23
test al, 2
jne 0x10015485
or al, 2
inc esi
jmp 0x10015147
test edx, edx
jne 0x100156ba
mov ecx, eax
and cl, 7
cmp cl, 5
je 0x100156c4
cmp cl, 4
jne 0x10015b48
mov ecx, dword [esp + 0xc]
xor edx, edx
mov cl, byte [ecx + esi + 2]
and cl, 7
cmp cl, 5
sete dl
lea ecx, [edx*4 + 1]
jmp 0x100156c9
add esi, 5
jmp 0x100151d8
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
push 0x1007a878
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
xor ebx, ebx
jmp 0x100154e3
test al, 4
jne 0x10015485
or al, 4
jmp 0x1001561b
test al, 8
jne 0x10015485
or al, 8
jmp 0x1001561b
mov al, byte [edx + esi + 1]
cmp al, 0xc0
jb 0x10015a32
add esi, 3
jmp 0x100151d8
mov ecx, 2
cmp edx, 1
je 0x100156c9
mov ecx, 5
and al, 7
xor edx, edx
cmp al, 4
sete dl
add edx, ecx
lea ebx, [esi + edx + 1]
jmp 0x100151da
cmp al, 0xe9
je 0x10015b50
cmp al, 0xff
je 0x10015b5c
cmp al, 0x6a
je 0x100151d5
jmp 0x10015485
cmp byte [edi + 1], 0x25
mov edx, edi
jne 0x10014c25
mov eax, dword [edi + 2]
mov edx, dword [eax]
jmp 0x10014c25
movsx eax, byte [edi + 1]
mov edx, edi
lea eax, [edi + eax + 2]
mov ecx, eax
sub ecx, edi
shl ecx, 0x18
add ecx, 0xfe000000
test ecx, ecx
jle 0x10014c25
sar ecx, 0x18
xor esi, esi
mov dl, 1
cmp byte [esi + edi + 2], 0x90
jne 0x10015b7c
movsx esi, dl
inc dl
cmp ecx, esi
jg 0x10015736
mov edx, eax
jmp 0x10014c25
lea ecx, [esp + 0x70]
lea esi, [esp + 0x20]
mov dword [ecx], esi
mov dword [ecx + 4], 0
call fcn.10015eb0
cmp byte [esi + 8], 0
mov esi, dword [esp]
mov dword [esp + 8], eax
je 0x10014cf2
lea ecx, [esp + 0x20]
call fcn.10015e60
mov edi, eax
jmp 0x10014cf2
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
test edx, edx
mov ecx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 4], eax
jle 0x1001586f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 4]
shr edx, 1
lea eax, [edx + edx*2]
cmp dword [esi + eax*4], ecx
jae 0x100157e6
mov ecx, dword [esp + 4]
not edx
add edx, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
add ecx, 0xc
mov dword [esp + 4], ecx
test edx, edx
mov dword [esp + 0x1c], edx
jg 0x100157b3
jmp 0x1001586f
jne 0x100157d9
mov ecx, dword [esp + 4]
cmp dword [ecx + eax*4 + 4], edi
jb 0x100157c5
jmp 0x100157d9
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mPolicies___mPolicies__empty___
mov ecx, 0x83
int3
mov dword [esp + 0x74], 0
jmp 0x10014f66
mov eax, dword [esp + 0x74]
mov cl, byte [esp + 0x8c]
mov esi, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov byte [esp + 8], cl
jmp 0x10014f9e
xor ebx, ebx
jmp 0x100154c8
xor ebx, ebx
jmp 0x100154a2
mov dword [esp + 0x30], edx
jmp 0x100150c4
lea esi, [esp + 0x44]
push esi
push ecx
push dword [esi + 0x14]
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], eax
mov byte [esi + 0x18], 0
jmp 0x100154e3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
cmp dword [esp + 4], eax
je 0x10015bd9
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
cmp dword [ecx], eax
ja 0x10015bd9
mov eax, dword [esp + 4]
cmp dword [eax + 4], edi
jb 0x10015bd9
mov esi, dword [esp]
mov ebx, dword [esp + 4]
jmp 0x10014d90
mov byte [esp + 0x3c], 0
jmp 0x10015097
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
setne bl
jmp 0x100154c8
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
setne bl
jmp 0x100154a2
mov dword [esp + 0x30], edi
mov dword [esp], 0
jmp 0x10015136
mov dword [esp], edx
mov byte [esp + 0x3c], 0
xor eax, eax
mov edi, ecx
jmp 0x1001510d
xor esi, esi
mov dword [esp + 0x30], esi
push esi
call dword [sym.imp.kernel32.dll_EncodePointer]
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x20], esi
lea edx, [ecx + 4]
je 0x10015b73
cmp edx, dword [esp + 0x38]
jbe 0x10015b83
mov byte [esp + 0x3c], 0
jmp 0x10015491
test al, 1
jne 0x10015485
or al, 1
jmp 0x1001561b
mov dword [esp + 0x30], eax
mov dword [esp], 0
mov cl, 1
jmp 0x100152ae
mov byte [esp + 0x3c], 0
xor ecx, ecx
jmp 0x10015281
mov eax, dword [esp + 0x34]
lea ecx, [edx + eax + 5]
cmp ecx, dword [esp + 0x38]
jbe 0x10015b2a
mov byte [esp + 0x3c], 0
jmp 0x1001531a
lea ecx, [eax + 1]
add eax, 5
mov dword [esp + 0x30], ecx
mov ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x1001531a
mov edx, dword [esp]
mov byte [esp + 0x3c], 0
jmp 0x100152ea
xor edx, edx
mov ecx, esi
inc edx
call fcn.10014930
test al, al
je 0x10015c2d
mov eax, dword [esp + 0x88]
mov ebx, dword [ebp + 8]
jmp 0x10015381
mov ecx, esi
mov edx, 4
call fcn.10014930
test al, al
je 0x10015c48
mov eax, dword [esp + 0x88]
jmp 0x100153ba
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10015473
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10015485
cmp byte [edx + esi + 1], 0xc0
jae 0x100151d5
jmp 0x10015485
mov al, byte [edx + esi + 1]
and al, 0xfe
cmp al, 0x10
jne 0x10015485
lea eax, [esi + 2]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], eax
call fcn.10016290
test eax, eax
js 0x10015485
lea ebx, [eax + esi + 2]
jmp 0x100151da
mov ecx, eax
and cl, 0xc0
cmp cl, 0x40
jne 0x10015485
and al, 7
cmp al, 4
je 0x10015485
add esi, 4
jmp 0x100151d8
mov ecx, edi
call fcn.10014b70
test al, al
cmovne ebx, edi
jmp 0x10014c31
lea ecx, [esp + 0x70]
lea esi, [esp + 0x20]
mov dword [esp + 8], eax
mov dword [ecx], esi
mov dword [ecx + 4], 0
call fcn.10015eb0
mov ecx, esi
mov dword [esp + 4], eax
call fcn.10015e60
mov dword [esp], eax
mov edx, dword fs:[0x2c]
mov eax, dword [0x1007a898]
mov ecx, dword [0x1007a2f0]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10015c55
mov ecx, dword [0x1007a894]
test ecx, ecx
je 0x10015b94
mov edx, dword [esp + 4]
lea eax, [esp + 0x40]
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [eax], edx
mov edx, dword [esp]
mov dword [eax + 4], edx
xor edx, edx
xor esi, esi
inc esi
mov dword [eax + 8], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x74]
push eax
push esi
push 0x2000
push edi
xor edi, edi
push edi
push dword [esp + 0x20]
call ecx
test eax, eax
mov cl, 1
mov dword [ebx + 4], eax
jne 0x10014e4b
jmp 0x10014e58
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebx + 4], 0
xor edi, edi
mov cl, 1
jmp 0x10014e58
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
sub esi, eax
lea ecx, [ecx + eax + 1]
sub esi, dword [esp + 0x2c]
add dword [edx + ecx], esi
jmp 0x1001531a
xor ecx, ecx
inc ecx
jmp 0x100156c9
lea ebx, [esi + 5]
mov dword [esp + 0x10], esi
jmp 0x100151da
mov eax, dword [esp + 0xc]
cmp byte [eax + esi + 1], 0x25
jne 0x10015485
add esi, 6
jmp 0x100151d8
mov dword [esp + 0x30], edx
jmp 0x10015491
mov edx, edi
jmp 0x10014c25
mov edx, dword [esp + 0x28]
mov dword [edx + ecx], eax
add dword [esp + 0x30], 4
jmp 0x10015491
inc dword [esp]
xor esi, esi
dec esi
inc esi
cmp esi, 7
ja 0x10014e30
mov ecx, dword [esp + 8]
mov edx, edi
push dword [esp]
push dword [esp + 8]
call fcn.100160a0
add esp, 8
test eax, eax
je 0x10015b1a
push 1
push 0x2000
push edi
push eax
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
je 0x10015b9a
jmp 0x10014e48
mov eax, dword [esp + 8]
lea esi, [esp + 0x70]
mov dword [esi + 4], edi
mov dword [esi], eax
push 0x14
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov edx, dword [esp + 4]
xor edi, edi
mov dword [esi + 8], eax
mov ecx, ebx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0xc], edi
push esi
call fcn.10015d10
add esp, 4
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [esi + 8], edi
test eax, eax
je 0x10015c25
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
mov esi, dword [esp]
jmp 0x10014d90
mov byte [esp + 0xa0], 0
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
jmp 0x100153a4
mov byte [esp + 0xa0], 0
jmp 0x10015453
push 0x1007a898
call fcn.10069bc2
add esp, 4
cmp dword [0x1007a898], 0xffffffff
jne 0x10015aac
call fcn.10016240
push 0x1007a898
call fcn.10069bc2
add esp, 4
jmp 0x10015aac