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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x2c], edx
mov esi, ecx
mov eax, dword [0x100a500c]
xor eax, ebp
mov dword [esp + 0x78], eax
lea eax, [ecx + 0x58]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 0x58]
test ecx, ecx
mov dword [esp + 0x1c], esi
je 0x10053e56
mov edx, dword [esp + 0x2c]
and edx, 0xfffff000
xor eax, eax
xor edi, edi
dec edi
mov esi, dword [ecx + 8]
mov ebx, 0xfffff000
and esi, ebx
xor ebx, ebx
cmp edx, esi
seta bl
cmovb ebx, edi
lea esi, [ebx + 1]
cmp esi, 2
jae 0x100535db
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100535b5
jmp 0x100535ec
cmp ebx, 1
jne 0x100547fc
mov ecx, dword [ecx + 4]
and ecx, 0xfffffffe
jmp 0x100535d5
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x10053e56
mov ecx, eax
and ecx, 0xfff00000
and eax, 0xfffff
add eax, 0xfffffff0
mov edx, 0xaaaaaaab
mul edx
mov edi, edx
and edi, 0xfffffff8
shl edi, 9
add edi, ecx
mov edx, edi
and edx, 0xfff00000
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edi
mov eax, edi
shr eax, 0xc
movzx esi, al
lea eax, [esi*4]
lea ecx, [eax + eax*2]
or ecx, edx
mov eax, dword [esp + 0x2c]
mov ebx, eax
shr ebx, 0xc
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x48], ecx
cmp eax, 0x1000
mov dword [esp + 8], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], ebx
jb 0x100537a3
xor eax, eax
inc eax
cmp ebx, 2
cmovae eax, ebx
mov dword [esp + 4], eax
lea eax, [esi + esi*2]
lea edi, [edx + eax*4]
add edi, 0x18
xor ecx, ecx
mov esi, ebx
xor ebx, ebx
mov dword [esp], edi
mov eax, dword [esp + 0x34]
lea edx, [ebx + eax]
lea eax, [edx + edx*2]
mov edi, dword [esp + 8]
test byte [edi + eax*4 + 0x18], 0x60
mov edi, dword [esp]
jne 0x100536b9
inc ebx
cmp ebx, dword [esp + 0x24]
setae cl
dec esi
add edi, 0xc
cmp ebx, dword [esp + 4]
jne 0x10053687
jmp 0x100537a5
mov dword [esp + 0x14], edx
cmp ebx, dword [esp + 0x24]
jae 0x10054110
mov dword [esp + 0x28], ecx
xor ecx, ecx
mov eax, edi
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
test cl, 0x60
je 0x1005466b
and ecx, 0xffffff9f
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
inc ecx
add eax, 0xc
cmp esi, ecx
jne 0x100536cf
mov eax, esi
mov edx, eax
shl edx, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jne 0x10053ea1
jmp 0x10054117
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x3c], eax
push 4
push 0x1000
push dword [esp + 0x38]
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
je 0x100546c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
add ecx, eax
mov edx, dword [esp + 0x40]
sub edx, eax
mov eax, 0x100000
cmp edx, eax
cmovb eax, edx
test edx, edx
je 0x10053ec6
jmp 0x10053709
test eax, eax
je 0x10053784
cmp byte [esp + 0x20], 0
mov ecx, 0x20
mov eax, 4
cmovne ecx, eax
mov edx, edi
mov eax, dword [esp + 0xc]
or dword [edx], ecx
add edx, 0xc
dec eax
jne 0x1005377c
cmp byte [esp + 0x20], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
je 0x100540c7
mov eax, dword [esp + 0x1c]
add dword [eax + 0x2c], ecx
jmp 0x100536a2
mov cl, 1
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 0x10]
mov dword [esp], eax
add ecx, 0x18
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], ecx
mov edx, dword [ecx]
mov esi, 0xfffff000
mov ebx, edx
and ebx, esi
and esi, dword [eax + 8]
xor edi, edi
dec edi
xor ecx, ecx
cmp ebx, esi
seta cl
cmovb ecx, edi
test ecx, ecx
mov edi, dword [esp + 0x1c]
je 0x10053dff
cmp ecx, 0xffffffff
jne 0x10053cc5
mov edx, dword [eax]
test edx, edx
je 0x10054803
mov ecx, dword [edx + 4]
mov dword [esp + 4], 0
test cl, 1
je 0x10053d3e
mov edi, eax
mov eax, edx
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx]
mov ecx, ebx
mov edx, 0xfffff000
and ecx, edx
mov esi, dword [eax + 8]
and esi, edx
xor edx, edx
cmp ecx, esi
seta dl
mov ecx, 0xffffffff
cmovb edx, ecx
test edx, edx
je 0x10053871
cmp edx, 0xffffffff
jne 0x1005388a
mov edx, dword [eax]
test edx, edx
je 0x100541fb
mov ebx, dword [edx + 4]
test bl, 1
jne 0x1005381a
mov ecx, dword [edx]
test ecx, ecx
je 0x10053957
test byte [ecx + 4], 1
jne 0x1005381a
jmp 0x10053957
test bl, 0x10
mov ecx, 0
cmove ecx, dword [esp]
xor edx, edx
cmp ecx, eax
seta cl
jb 0x1005384a
mov dl, cl
jmp 0x10053845
test edx, edx
je 0x10053946
mov esi, dword [eax + 4]
mov edx, esi
and edx, 0xfffffffe
je 0x100538ac
mov ecx, dword [edx]
test ecx, ecx
je 0x100538ac
test byte [ecx + 4], 1
jne 0x1005381a
mov ebx, dword [eax]
test ebx, ebx
je 0x100547ba
mov edx, dword [ebx + 4]
test dl, 1
je 0x10053e1c
and edx, 0xfffffffe
je 0x10054709
mov ecx, dword [edx]
test ecx, ecx
je 0x100538db
test byte [ecx + 4], 1
jne 0x1005425d
and esi, 1
or esi, edx
mov dword [ebx + 4], esi
or byte [edx + 4], 1
mov edx, dword [eax]
test edx, edx
je 0x1005478a
mov ecx, dword [edx + 4]
and ecx, 0xfffffffe
mov dword [eax], ecx
mov ecx, eax
and ecx, 0xfffffffe
mov esi, dword [edx + 4]
and esi, 1
or esi, ecx
mov dword [edx + 4], esi
mov ebx, dword [eax + 4]
mov esi, ebx
and esi, 0xfffffffe
je 0x1005479c
mov ecx, dword [esi]
and ecx, 0xfffffffe
and ebx, 1
or ebx, ecx
mov dword [eax + 4], ebx
mov dword [esi], eax
mov ecx, dword [edx + 4]
and ecx, 1
or ecx, esi
mov dword [edx + 4], ecx
or byte [eax + 4], 1
cmp dword [edi], eax
jne 0x10053ed5
mov dword [edi], edx
mov eax, edi
jmp 0x1005381a
mov esi, dword [eax + 4]
mov dword [esp + 4], edi
cmp esi, 1
jbe 0x1005399e
jmp 0x10053895
or ebx, 1
mov dword [edx + 4], ebx
mov ebx, dword [eax + 4]
mov esi, ebx
and esi, 0xfffffffe
je 0x100546ee
mov edx, dword [esi]
test edx, edx
je 0x1005397d
mov ecx, dword [edx + 4]
test cl, 1
jne 0x1005419c
or ebx, 1
mov dword [eax + 4], ebx
mov ecx, dword [esi]
or ecx, 1
mov dword [eax + 4], ecx
mov dword [esi], eax
mov edx, esi
cmp dword [edi], eax
jne 0x10054854
mov dword [edi], edx
jmp 0x1005381c
mov ecx, dword [eax]
test ecx, ecx
je 0x100539cf
mov edx, dword [ecx + 4]
and edx, 0xfffffffe
mov dword [eax], edx
mov edx, eax
and edx, 0xfffffffe
mov esi, dword [ecx + 4]
and esi, 1
or esi, edx
mov dword [ecx + 4], esi
mov esi, dword [eax + 4]
and esi, 1
or esi, edx
mov dword [ecx + 4], esi
or byte [eax + 4], 1
and dword [ecx + 4], 1
cmp dword [edi], eax
jne 0x10053dec
mov dword [edi], ecx
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
shr ecx, 0xc
mov ebx, dword [esp + 0x18]
mov dword [ebx], edx
xor eax, eax
mov edx, dword [esp]
mov dword [edx], eax
mov dword [edx + 4], eax
mov edx, dword [esp + 0x24]
cmp ecx, edx
jne 0x10053ad8
cmp dword [esp + 0x2c], 0x1000
jb 0x10053a4e
xor eax, eax
inc eax
cmp edx, 2
cmovae eax, edx
shl eax, 2
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + ecx*2]
mov edx, dword [esp + 8]
lea ecx, [edx + ecx*4]
add ecx, 0x18
xor edx, edx
mov esi, dword [esp + 8]
test byte [ecx + edx], 8
je 0x10053a40
dec dword [esi + 0xc]
dec dword [edi + 0x48]
mov dword [ecx + edx], 3
add edx, 0xc
cmp eax, edx
jne 0x10053a34
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
or dword [ecx], eax
mov edx, dword [esp + 8]
cmp dword [edx + 0xc], 0
jne 0x100540c3
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x28]
je 0x100540c7
mov esi, dword [edi + 0x38]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0
xor ecx, ecx
dec ecx
xor eax, eax
cmp esi, edx
setb al
cmova eax, ecx
cmp eax, 0xffffffff
je 0x10053f59
test eax, eax
je 0x1005438f
test esi, esi
je 0x10054736
mov ecx, dword [esi + 8]
xor ebx, ebx
mov eax, ecx
and eax, 0xfffffffe
je 0x1005435f
mov edx, dword [eax + 4]
test edx, edx
je 0x1005435f
test byte [edx + 8], 1
je 0x1005435f
mov edx, dword [esp + 8]
jmp 0x10053f78
mov eax, dword [esp + 0x34]
lea esi, [eax + ecx]
mov dword [esp], esi
sub ecx, edx
shl ecx, 0xc
add eax, edx
lea ebx, [eax + eax*2]
mov edi, dword [esp + 8]
lea edx, [edi + ebx*4]
add edx, 0x10
mov eax, 0xfff
mov esi, dword [edx + 8]
and esi, eax
or esi, ecx
mov dword [esp + 4], edx
mov dword [edx + 8], esi
mov edx, dword [esp]
lea esi, [edx + edx*2]
and eax, dword [edi + esi*4 + 0xc]
or eax, ecx
mov dword [edi + esi*4 + 0xc], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x100540e5
lea eax, [edi + ebx*4]
add eax, 0x18
mov dword [esp], eax
lea ebx, [esp + 0x58]
xor edi, edi
mov esi, edi
mov edi, ebx
mov ebx, dword [ecx]
test ebx, ebx
je 0x10053b60
mov edx, dword [ebx + 4]
test dl, 1
je 0x10053b60
mov eax, dword [ebx]
test eax, eax
je 0x10053b60
test byte [eax + 4], 1
jne 0x10053bb4
mov ebx, ecx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, ecx
mov eax, 0xfffff000
and edx, eax
mov esi, dword [ebx + 8]
and esi, eax
xor eax, eax
cmp edx, esi
seta al
mov edx, 0xffffffff
cmovb eax, edx
cmp eax, 0xffffffff
je 0x10053ba6
xor edx, edx
inc edx
test eax, eax
jne 0x10053bec
test cl, 0x10
mov eax, 0
cmove eax, dword [esp + 4]
xor edx, edx
cmp eax, ebx
seta al
jae 0x10053bea
mov ecx, dword [ebx]
xor edx, edx
dec edx
test ecx, ecx
jne 0x10053b42
jmp 0x10053c86
mov dword [esp + 0xc], esi
and edx, 0xfffffffe
mov dword [ecx], edx
mov edx, ecx
and edx, 0xfffffffe
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
and esi, 1
or esi, edx
mov dword [ebx + 4], esi
test eax, eax
je 0x1005476f
and byte [eax + 4], 0xfe
cmp dword [edi], ecx
mov edx, dword [esp + 0xc]
jne 0x10053bf4
mov dword [edi], ebx
jmp 0x10053b62
mov dl, al
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffe
jmp 0x10053bab
and ebx, 0xfffffffe
mov ecx, dword [edi + 4]
and ecx, 1
lea eax, [ecx + ebx]
mov dword [edi + 4], eax
test ebx, ebx
je 0x1005477b
mov eax, dword [ebx]
and eax, 0xfffffffe
or eax, ecx
mov dword [edi + 4], eax
mov dword [ebx], edi
mov eax, dword [edi + 4]
and eax, 1
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffe
or ecx, eax
mov dword [ebx + 4], ecx
or byte [edi + 4], 1
test edx, edx
je 0x10054742
cmp dword [edx], edi
je 0x10054140
jmp 0x100541eb
mov eax, dword [esp]
mov edx, dword [eax]
mov eax, edx
mov ecx, 0xfffff000
and eax, ecx
mov esi, dword [ebx + 8]
and esi, ecx
xor ecx, ecx
cmp eax, esi
seta cl
mov eax, 0xffffffff
cmovb ecx, eax
test ecx, ecx
jne 0x100540ff
jmp 0x100542cb
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffe
mov esi, dword [esp + 0xc]
mov edi, ebx
test ecx, ecx
jne 0x10053b46
mov edi, esi
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 1
cmp edx, 1
je 0x10053d95
mov edx, dword [esp + 0x24]
mov dword [ebx], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10054812
and byte [eax + 4], 0xfe
mov dword [ecx], eax
mov edi, dword [esp + 0x1c]
jmp 0x10053a04
test ecx, ecx
je 0x10053eec
mov ecx, dword [eax + 4]
mov dword [esp + 4], 0
mov edx, ecx
and edx, 0xfffffffe
je 0x10053cef
mov esi, dword [edx]
test esi, esi
je 0x10053cef
test byte [esi + 4], 1
jne 0x1005381a
mov edx, dword [eax]
test edx, edx
je 0x10054878
test byte [edx + 4], 1
jne 0x1005431c
or ecx, 1
mov dword [eax + 4], ecx
mov ecx, dword [edx]
test ecx, ecx
je 0x10053d1b
mov ebx, dword [ecx + 4]
test bl, 1
jne 0x10054403
or byte [edx + 4], 1
mov ecx, dword [eax + 4]
mov edx, ecx
and edx, 0xfffffffe
je 0x10054894
mov esi, dword [edx]
and esi, 0xfffffffe
and ecx, 1
or ecx, esi
mov dword [eax + 4], ecx
mov dword [edx], eax
jmp 0x10053d8a
mov esi, dword [edx]
test esi, esi
je 0x10053d4e
test byte [esi + 4], 1
jne 0x1005381a
or ecx, 1
mov dword [edx + 4], ecx
mov esi, dword [eax + 4]
mov ecx, esi
and ecx, 0xfffffffe
je 0x10054724
mov edx, dword [ecx]
test edx, edx
je 0x10053d74
mov ebx, dword [edx + 4]
test bl, 1
jne 0x10054458
or esi, 1
mov dword [eax + 4], esi
mov edx, dword [ecx]
or edx, 1
mov dword [eax + 4], edx
mov dword [ecx], eax
mov edx, ecx
and byte [edx + 4], 0xfe
lea eax, [esp + 0x58]
mov dword [eax], edx
jmp 0x1005381a
mov eax, dword [ebx + 4]
and eax, 1
mov ecx, eax
or ecx, dword [esp + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx]
and ecx, 0xfffffffe
or ecx, eax
mov dword [ebx + 4], ecx
mov eax, dword [esp + 4]
mov dword [eax], ebx
mov eax, dword [ebx + 4]
and eax, 1
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
and ecx, 0xfffffffe
or ecx, eax
mov eax, dword [esp + 4]
mov dword [eax + 4], ecx
mov eax, dword [esp + 4]
or byte [ebx + 4], 1
cmp dword [edi], ebx
mov edx, dword [esp + 0x24]
jne 0x10053f36
mov dword [edi], eax
jmp 0x10053ca6
and ecx, 0xfffffffe
mov eax, dword [edi + 4]
and eax, 1
or eax, ecx
mov dword [edi + 4], eax
jmp 0x100539d9
xor esi, esi
test dl, 0x10
cmove esi, dword [esp]
xor ecx, ecx
cmp esi, eax
seta dl
jb 0x100537fc
mov cl, dl
jmp 0x100537f3
or edx, 1
mov dword [ebx + 4], edx
mov edx, dword [ebx]
test edx, edx
je 0x10053e34
mov ebx, dword [edx + 4]
test bl, 1
jne 0x10054147
mov esi, dword [eax + 4]
mov edx, esi
and edx, 0xfffffffe
je 0x100547c9
mov ecx, dword [edx]
and ecx, 0xfffffffe
and esi, 1
or esi, ecx
mov dword [eax + 4], esi
mov dword [edx], eax
jmp 0x10053935
mov edx, dword [esi + 0x3c]
test edx, edx
jne 0x10054122
lea eax, [esp + 0x58]
mov ecx, 0x100000
mov edx, 0x100000
push eax
push 0
call fcn.10050c80
add esp, 8
test eax, eax
je 0x1005488d
mov edi, eax
movzx eax, byte [esp + 0x58]
mov ecx, esi
mov edx, edi
push eax
call fcn.10050ba0
add esp, 4
add edi, 0x2000
jmp 0x10053619
shl ecx, 0xc
mov eax, ecx
and eax, 0xff000
mov dword [esp + 0x14], eax
mov eax, 0x100000
sub eax, dword [esp + 0x14]
cmp eax, edx
cmovae eax, edx
add ecx, dword [esp + 8]
jmp 0x10053709
mov al, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xc]
jmp 0x10053760
mov eax, edx
and eax, 0xfffffffe
mov ecx, dword [edi + 4]
and ecx, 1
or ecx, eax
mov dword [edi + 4], ecx
mov eax, edi
jmp 0x1005381a
mov ecx, dword [eax + 4]
cmp ecx, 1
ja 0x1005451b
mov ecx, dword [eax]
xor edx, edx
test ecx, ecx
je 0x100539e1
mov edx, dword [ecx + 4]
and edx, 0xfffffffe
mov dword [eax], edx
mov edx, eax
and edx, 0xfffffffe
mov esi, dword [ecx + 4]
and esi, 1
or esi, edx
mov dword [ecx + 4], esi
mov esi, dword [eax + 4]
and esi, 1
or esi, edx
mov dword [ecx + 4], esi
or byte [eax + 4], 1
and dword [ecx + 4], 1
mov edx, ecx
jmp 0x100539e1
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 0xfffffffe
cmp ebx, ecx
mov ecx, dword [esp + 0x18]
jne 0x10053caa
and eax, 1
or eax, dword [esp + 4]
mov dword [edi + 4], eax
jmp 0x10053caa
test esi, esi
je 0x100542fd
mov eax, dword [esi + 4]
test eax, eax
je 0x100542fd
xor ebx, ebx
test byte [eax + 8], 1
je 0x100542ec
mov edi, esi
mov esi, eax
xor eax, eax
cmp esi, edx
setb al
mov ecx, 0xffffffff
cmova eax, ecx
cmp eax, 0xffffffff
jne 0x10053fc0
test esi, esi
je 0x10054583
mov eax, dword [esi + 4]
test eax, eax
je 0x10054583
mov ecx, dword [eax + 8]
test cl, 1
jne 0x10053f78
mov edx, dword [eax + 4]
test edx, edx
je 0x1005400c
test byte [edx + 8], 1
je 0x1005400c
mov edi, esi
mov edx, dword [esp + 8]
jmp 0x10053f7a
test eax, eax
jne 0x10053fde
xor ecx, ecx
test esi, esi
je 0x10054098
mov eax, dword [esi + 8]
mov ebx, edi
cmp eax, 1
jbe 0x10054063
jmp 0x10053fe9
test esi, esi
je 0x10054330
mov eax, dword [esi + 8]
and eax, 0xfffffffe
je 0x10054330
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10054330
test byte [ecx + 8], 1
jne 0x10053f78
jmp 0x10054330
mov dword [esp + 0x10], ebx
or ecx, 1
mov dword [eax + 8], ecx
mov edx, dword [esi + 8]
mov ecx, edx
and ecx, 0xfffffffe
je 0x10054821
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x10054036
mov eax, dword [ebx + 8]
test al, 1
jne 0x10054528
or edx, 1
mov dword [esi + 8], edx
mov eax, dword [ecx + 4]
or eax, 1
mov dword [esi + 8], eax
mov dword [ecx + 4], esi
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
cmp dword [edi + 4], esi
jne 0x100548bb
mov dword [edi + 4], ecx
mov esi, ecx
jmp 0x10053f7c
mov eax, dword [esi + 4]
test eax, eax
je 0x10054098
mov ecx, dword [eax + 8]
and ecx, 0xfffffffe
mov dword [esi + 4], ecx
mov ecx, esi
and ecx, 0xfffffffe
mov edx, dword [eax + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
mov edx, dword [esi + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
or byte [esi + 8], 1
and dword [eax + 8], 1
mov ecx, eax
cmp dword [edi + 4], esi
jne 0x1005424a
mov dword [edi + 4], ecx
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x38], eax
test edx, edx
je 0x10054869
xor eax, eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov eax, dword [esp + 0x28]
xor esi, esi
test al, 1
cmovne esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.1004fb50
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
mov dword [eax + 4], 1
lea ebx, [esp + 0x58]
jmp 0x10053ca0
xor edx, edx
inc edx
cmp ecx, 0xffffffff
jne 0x10053c70
jmp 0x100543e2
xor ecx, ecx
jmp 0x10053797
mov cl, 1
mov dword [esp + 0x20], ecx
jmp 0x10053760
mov dword [esi + 0x3c], 0
lea edi, [edx + 0x2000]
add edx, 0x28
mov ecx, dword [esp + 0x18]
call fcn.10051170
jmp 0x10053619
mov dword [edx], ebx
jmp 0x10053c41
and ebx, 0xfffffffe
mov dword [edx + 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x100547d8
mov ecx, dword [edx + 4]
and ecx, 0xfffffffe
mov dword [eax], ecx
mov ecx, eax
and ecx, 0xfffffffe
mov esi, dword [edx + 4]
and esi, 1
or esi, ecx
mov dword [edx + 4], esi
mov ebx, dword [eax + 4]
mov esi, ebx
and esi, 0xfffffffe
je 0x100547ed
mov ecx, dword [esi]
and ecx, 0xfffffffe
and ebx, 1
or ebx, ecx
mov dword [eax + 4], ebx
mov dword [esi], eax
mov ecx, dword [edx + 4]
and ecx, 1
or ecx, esi
mov dword [edx + 4], ecx
jmp 0x10053935
and ecx, 0xfffffffe
mov dword [esi], ecx
mov ecx, dword [edx + 4]
and ecx, 1
or ecx, esi
mov dword [edx + 4], ecx
and edx, 0xfffffffe
mov esi, dword [eax + 4]
and esi, 1
lea ecx, [esi + edx]
mov dword [eax + 4], ecx
test edx, edx
je 0x10054763
mov ecx, dword [edx]
and ecx, 0xfffffffe
or ecx, esi
mov dword [eax + 4], ecx
mov dword [edx], eax
mov esi, dword [eax + 4]
and esi, 0xfffffffe
je 0x100541e3
mov ecx, dword [esi + 4]
test cl, 1
jne 0x100544f0
mov dword [eax + 4], esi
jmp 0x1005398f
mov eax, dword [edx + 4]
and eax, 1
or eax, ebx
mov dword [edx + 4], eax
jmp 0x10053c41
mov edx, dword [esp + 4]
test edx, edx
je 0x100548a3
mov ecx, dword [esp]
cmp dword [edx], ecx
jne 0x100543ec
mov dword [edx], eax
mov esi, dword [esp]
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
and ecx, 0xfffffffe
mov edx, dword [eax + 4]
and edx, 1
or edx, ecx
mov dword [eax + 4], edx
mov edx, dword [esi + 4]
and edx, 1
or edx, ecx
mov dword [eax + 4], edx
cmp dword [edi], eax
jne 0x100548b2
mov dword [edi], 0
jmp 0x100539d9
and ecx, 0xfffffffe
mov eax, dword [edi + 8]
and eax, 1
or eax, ecx
mov dword [edi + 8], eax
jmp 0x100540a4
and esi, 1
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 4]
and ecx, 0xfffffffe
or ecx, esi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xc]
and byte [ecx + 4], 0xfe
mov esi, dword [ebx + 4]
mov edx, esi
and edx, 0xfffffffe
je 0x100547ab
mov ecx, dword [edx]
and ecx, 0xfffffffe
and esi, 1
or esi, ecx
mov dword [ebx + 4], esi
mov dword [edx], ebx
mov dword [eax], edx
mov ecx, dword [edx + 4]
and ecx, 0xfffffffe
mov dword [eax], ecx
mov ecx, eax
and ecx, 0xfffffffe
mov esi, dword [edx + 4]
and esi, 1
or esi, ecx
mov dword [edx + 4], esi
mov ebx, dword [eax + 4]
mov esi, ebx
and esi, 0xfffffffe
jne 0x10053917
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
test dl, 0x10
mov eax, 0
cmove eax, dword [esp + 4]
xor edx, edx
cmp eax, ebx
seta al
jb 0x100543e2
mov dl, al
jmp 0x10053c70
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100542fd
test byte [ecx + 8], 1
jne 0x10053f78
lea edi, [esp + 0x54]
mov ecx, edi
mov edx, esi
call fcn.10001630
mov eax, dword [edi]
test eax, eax
je 0x10054929
and byte [eax + 8], 0xfe
xor ebx, ebx
jmp 0x10054383
lea esi, [esp + 0x54]
mov ecx, esi
mov edx, eax
call fcn.10032030
mov edx, dword [esi]
jmp 0x10053d8a
lea ecx, [esp + 0x50]
mov edx, esi
call fcn.100329e0
mov eax, dword [esp + 0x50]
cmp dword [edi + 4], esi
je 0x100544e8
mov ecx, eax
and ecx, 0xfffffffe
mov edx, dword [edi + 8]
and edx, 1
or edx, ecx
mov dword [edi + 8], edx
mov esi, edi
jmp 0x10053acf
mov eax, dword [esi + 4]
test eax, eax
je 0x100548d2
test byte [eax + 8], 1
je 0x100544a7
lea edi, [esp + 0x54]
mov ecx, edi
mov edx, esi
call fcn.100329e0
mov eax, dword [edi]
lea esi, [esp + 0x58]
mov dword [esi + 4], eax
jmp 0x10053acf
xor edx, edx
test esi, esi
je 0x100543d6
mov ecx, dword [esi + 8]
cmp ecx, 1
ja 0x10054662
mov eax, dword [esi + 4]
test eax, eax
je 0x100543d6
mov ecx, dword [eax + 8]
and ecx, 0xfffffffe
mov dword [esi + 4], ecx
mov ecx, esi
and ecx, 0xfffffffe
mov edx, dword [eax + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
mov edx, dword [esi + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
or byte [esi + 8], 1
and dword [eax + 8], 1
mov edx, eax
mov dword [edi + 0x38], edx
mov edx, dword [esp + 8]
jmp 0x100540bb
mov ecx, dword [ebx]
xor edx, edx
dec edx
jmp 0x10053c76
mov ecx, eax
and ecx, 0xfffffffe
mov esi, edx
mov edx, dword [edx + 4]
and edx, 1
or edx, ecx
mov dword [esi + 4], edx
jmp 0x10054214
and ebx, 0xfffffffe
mov dword [ecx + 4], ebx
mov edx, dword [eax]
test edx, edx
je 0x100548e7
mov ecx, dword [edx + 4]
and ecx, 0xfffffffe
mov dword [eax], ecx
mov ecx, eax
and ecx, 0xfffffffe
mov esi, dword [edx + 4]
and esi, 1
or esi, ecx
mov dword [edx + 4], esi
mov esi, dword [eax + 4]
mov ecx, esi
and ecx, 0xfffffffe
je 0x100548fc
mov edi, dword [ecx]
and edi, 0xfffffffe
and esi, 1
or esi, edi
mov dword [eax + 4], esi
mov dword [ecx], eax
mov eax, dword [edx + 4]
and eax, 1
or eax, ecx
mov dword [edx + 4], eax
jmp 0x10053d8a
and ebx, 0xfffffffe
mov dword [ecx], ebx
mov esi, dword [edx + 4]
and esi, 1
or esi, ecx
mov dword [edx + 4], esi
and edx, 0xfffffffe
mov ecx, dword [eax + 4]
and ecx, 1
lea esi, [ecx + edx]
mov dword [eax + 4], esi
test edx, edx
je 0x1005490b
mov esi, dword [edx]
and esi, 0xfffffffe
or esi, ecx
mov dword [eax + 4], esi
mov dword [edx], eax
mov ecx, dword [eax + 4]
and ecx, 0xfffffffe
je 0x1005449f
mov ebx, dword [ecx + 4]
test bl, 1
jne 0x10054637
mov dword [eax + 4], ecx
jmp 0x10053d86
or ecx, 1
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100544c0
mov edx, dword [ecx + 8]
test dl, 1
jne 0x100545de
or byte [eax + 8], 1
mov ecx, dword [esi + 8]
mov eax, ecx
and eax, 0xfffffffe
je 0x1005491a
mov edx, dword [eax + 4]
and edx, 0xfffffffe
and ecx, 1
or ecx, edx
mov dword [esi + 8], ecx
mov dword [eax + 4], esi
jmp 0x10054383
mov dword [edi + 4], eax
jmp 0x10054358
and ecx, 0xfffffffe
mov dword [esi + 4], ecx
mov esi, dword [eax + 4]
mov ecx, esi
or ecx, 1
mov dword [eax + 4], ecx
and esi, 0xfffffffe
je 0x10054757
mov ecx, dword [esi]
or ecx, 1
mov dword [eax + 4], ecx
mov dword [esi], eax
mov dword [edx], esi
jmp 0x1005398f
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
jmp 0x10053cd8
and eax, 0xfffffffe
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
and eax, 1
or eax, ecx
mov dword [ebx + 8], eax
and ebx, 0xfffffffe
mov ecx, dword [esi + 8]
and ecx, 1
lea eax, [ecx + ebx]
mov dword [esi + 8], eax
test ebx, ebx
je 0x10054836
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
or eax, ecx
mov dword [esi + 8], eax
mov dword [esp], ebx
mov dword [ebx + 4], esi
mov ecx, dword [esi + 8]
and ecx, 0xfffffffe
mov edx, dword [esp + 8]
je 0x10054578
mov eax, dword [ecx + 8]
test al, 1
jne 0x10054689
mov dword [esi + 8], ecx
mov ecx, dword [esp]
jmp 0x1005404c
test ebx, ebx
je 0x10054938
cmp dword [ebx + 4], edx
jne 0x10054674
mov dword [ebx + 4], esi
test edx, edx
je 0x10054950
test esi, esi
je 0x1005496f
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
and eax, 0xfffffffe
mov ecx, dword [esi + 8]
and ecx, 1
or ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [edx + 8]
and ecx, 1
or ecx, eax
mov dword [esi + 8], ecx
cmp dword [edi + 4], esi
jne 0x10054966
mov dword [edi + 4], 0
jmp 0x100540a8
and edx, 0xfffffffe
mov dword [ecx + 8], edx
mov eax, dword [esi + 4]
test eax, eax
je 0x1005497e
mov ecx, dword [eax + 8]
and ecx, 0xfffffffe
mov dword [esi + 4], ecx
mov ecx, esi
and ecx, 0xfffffffe
mov edx, dword [eax + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
mov edx, dword [esi + 8]
mov ecx, edx
and ecx, 0xfffffffe
je 0x10054994
mov edi, dword [ecx + 4]
and edi, 0xfffffffe
and edx, 1
or edx, edi
mov dword [esi + 8], edx
mov dword [ecx + 4], esi
mov edx, dword [eax + 8]
and edx, 1
or edx, ecx
mov dword [eax + 8], edx
jmp 0x10054383
and ebx, 0xfffffffe
mov dword [ecx + 4], ebx
mov ecx, dword [eax + 4]
mov esi, ecx
or esi, 1
mov dword [eax + 4], esi
and ecx, 0xfffffffe
je 0x100549a3
mov esi, dword [ecx]
or esi, 1
mov dword [eax + 4], esi
mov dword [ecx], eax
mov dword [edx], ecx
jmp 0x10053d86
lea ebx, [esp + 0x58]
jmp 0x10053aaf
mov eax, dword [esp + 0xc]
jmp 0x100536f1
mov eax, esi
and eax, 0xfffffffe
mov ecx, dword [ebx + 8]
and ecx, 1
or ecx, eax
mov dword [ebx + 8], ecx
jmp 0x10054597
and eax, 0xfffffffe
mov dword [ecx + 8], eax
mov ecx, dword [esi + 8]
mov eax, ecx
or eax, 1
mov dword [esi + 8], eax
and ecx, 0xfffffffe
mov ebx, dword [esp + 0x10]
je 0x10054845
mov eax, dword [ecx + 4]
or eax, 1
mov dword [esi + 8], eax
mov dword [ecx + 4], esi
mov eax, dword [esp]
mov dword [eax + 4], ecx
mov ecx, eax
jmp 0x10054050
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x5af
je 0x100549b2
cmp eax, 8
je 0x100549b2
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0xc]
mov edi, dword [esp]
jmp 0x10053760
or ebx, 1
mov dword [eax + 4], ebx
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
int3
and esi, 1
mov dword [ebx + 4], esi
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
int3
or esi, 1
mov dword [eax + 4], esi
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
int3
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [eax], 0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x1005474c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [eax], 0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x1005474c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov eax, ecx
jmp 0x100535f8
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
or edx, 1
mov dword [esi + 8], edx
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov eax, edx
and eax, 0xfffffffe
mov ecx, dword [edi + 4]
and ecx, 1
or ecx, eax
mov dword [edi + 4], ecx
jmp 0x1005381c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
or ecx, 1
mov dword [eax + 4], ecx
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
xor esi, esi
jmp 0x100540d0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x1005474c
and dword [edi + 4], 1
jmp 0x100539d9
mov eax, ecx
and eax, 0xfffffffe
mov esi, ecx
mov ecx, dword [edi + 8]
and ecx, 1
or ecx, eax
mov dword [edi + 8], ecx
jmp 0x10053f7c
or ecx, 1
mov dword [esi + 8], ecx
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [eax], 0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x1005474c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x10054719
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
int3
test esi, esi
je 0x1005496f
mov dword [esi + 4], 0
and dword [esi + 8], 1
xor ecx, ecx
jmp 0x100545c6
and dword [edi + 8], 1
jmp 0x100540a8
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [esi + 4], 0
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x1005474c
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_mNode_
jmp 0x100546fe
xor eax, eax
cmp dword [sym.mozglue.dll_enum_GeckoProcessType_mozilla::startup::sChildProcessType], 0
sete al
lea eax, [eax + eax*4]
add eax, 5
mov dword [esp + 0x38], eax
push 0x32
call dword [sym.imp.kernel32.dll_Sleep]
push 4
push 0x1000
push dword [esp + 0x38]
push dword [esp + 0x20]
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov edi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
test edi, edi
jne 0x10054a1b
cmp eax, 0x5af
je 0x10054a01
cmp eax, 8
jne 0x100546da
mov dword [esp + 0x20], 0
dec dword [esp + 0x38]
mov eax, dword [esp + 0xc]
mov edi, dword [esp]
jne 0x100549c8
jmp 0x10053760
cmp eax, 0x5af
mov edi, dword [esp]
mov ecx, dword [esp + 0x3c]
je 0x10054a32
cmp eax, 8
jne 0x1005373c
push ecx
call dword [sym.imp.kernel32.dll_SetLastError]
jmp 0x1005373c