Function at 0x100022e0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036882
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
push 0x180
mov dword [ebp - 0x10], ecx
call fcn.10035016
mov esi, eax
mov dword [ebp - 0x2c], esi
push 0x180
push 0
push esi
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.1000f0c0
mov dword [esi + 0xf0], 0
lea eax, [esi + 0xf8]
mov dword [esi + 0xf4], 0
lea ecx, [eax + 8]
mov dword [ecx + 0x10], 0
lea edi, [eax + 0x20]
mov dword [ecx + 0x14], 7
xor edx, edx
mov word [ecx], dx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], 7
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov word [edi], cx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov byte [eax + 0x64], cl
mov dword [esi + 0x160], ecx
mov dword [esi + 0x164], ecx
mov dword [esi + 0x168], ecx
mov dword [ebp - 0x60], eax
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], ecx
mov dword [esi + 0x178], ecx
mov byte [esi + 0x17c], cl
mov dword [ebp - 0x14], esi
push 0x10
mov dword [ebp - 4], 1
call fcn.10035016
mov ebx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], ebx
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 1
mov dword [ebx + 8], 1
mov dword [ebx], vtable.std::_Ref_count_struct_blackbone::ImageContext_.0
mov dword [ebx + 0xc], esi
sub esp, 0x14
mov dword [ebp - 4], 2
mov ecx, esp
push dword [ebp + 0xc]
call fcn.100076d0
lea ecx, [ebp - 0x50]
call fcn.1000a5c0
add esp, 0x18
mov ecx, edi
push eax
call fcn.10007640
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x10002456
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000244c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000244c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.10009f10
mov ecx, dword [ebp - 0x28]
push eax
call fcn.10007640
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x100024a5
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000249b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000249b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x178], ecx
test eax, eax
je 0x100024c2
push 1
push ecx
push eax
mov ecx, esi
call fcn.1000f5d0
jmp 0x100024d4
mov eax, ecx
mov ecx, esi
shr eax, 0xf
and al, 1
push eax
push dword [ebp + 0xc]
call fcn.1000f400
mov edi, eax
test edi, edi
jns 0x100024f0
push 0
mov ecx, esi
call fcn.1000f680
mov esi, dword [ebp + 8]
mov dword [esi], edi
or edi, 0xffffffff
jmp 0x100029bb
or edi, 0xffffffff
test dword [ebp + 0x1c], 0x100
jne 0x1000256f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x10
cmp byte [esi + 0xd], al
setne al
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.1000a7a0
cmp dword [ebp - 0x18], 0
je 0x1000254a
push 0
mov ecx, esi
call fcn.1000f680
mov esi, dword [ebp + 8]
or edi, edi
mov eax, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
jmp 0x100029d2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000256f
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000256f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000256f
mov eax, dword [ecx]
call dword [eax + 4]
mov dl, byte [esi + 0xd]
mov ecx, dword [ebp - 0x10]
test dl, dl
jne 0x1000259c
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
jne 0x1000259c
push 0
mov ecx, esi
call fcn.1000f680
mov esi, dword [ebp + 8]
mov dword [esi], 0xc0000359
jmp 0x100029bb
xor eax, eax
test dl, dl
setne al
mov dword [esi + 0x134], eax
mov eax, dword [ebp + 0x1c]
test al, 0x20
je 0x100025be
push dword [esi + 0x28]
push ecx
call fcn.10007160
jmp 0x100027c4
test al, 0x10
je 0x100027c4
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
call fcn.100017f0
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x40], 0
push eax
push 0x10039a20
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
call fcn.100078a0
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 3
cmp dword [ecx], 0
jle 0x10002619
xor eax, eax
jmp 0x1000267b
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x1003cec0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
mov ecx, dword [eax]
cmp edx, ecx
je 0x10002656
test ecx, ecx
jle 0x10002652
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, edx
test ecx, ecx
jle 0x10002665
mov dword [eax + 4], 0
xor eax, eax
jmp 0x1000267b
sub esp, 0x18
lea eax, [ebp - 0x50]
mov ecx, esp
push eax
call fcn.100076d0
mov ecx, dword [ebp + 0xc]
call fcn.1001d6a0
shr eax, 0x1f
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
cmp edx, 8
jb 0x100026c4
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100026b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100026b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
mov eax, dword [ebp + 0xc]
add esp, 8
test al, al
je 0x100026de
push 0
mov ecx, esi
call fcn.1000f680
call fcn.100017f0
mov eax, dword [eax + 4]
jmp 0x100029b6
call fcn.100017f0
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
sub esp, 0xc
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x24]
push edx
push dword [ecx + 4]
mov ecx, eax
call fcn.1001dd00
test eax, eax
jns 0x1000274d
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
call fcn.100017f0
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
sub esp, 0xc
mov ecx, dword [ecx]
push edx
lea edx, [ebp - 0x24]
push edx
push dword [ecx + 4]
mov ecx, eax
call fcn.1001dd00
mov dword [ebp + 0xc], eax
test eax, eax
jns 0x1000274d
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp + 0xc]
jmp 0x100029b6
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x38]
push 1
push 1
push 0x40
push dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x20]
add eax, 0x58
push dword [ebp - 0x24]
push eax
call fcn.10014280
mov ecx, dword [esi + 0xf0]
mov edx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [edx]
cmp dword [ebp + 0xc], ecx
je 0x1000279c
mov dword [esi + 0xf0], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [esi + 0xf4]
mov dword [esi + 0xf4], eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp + 0xc], ecx
test ecx, ecx
je 0x100027c4
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x100027c4
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x100027c4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x100027d9
mov eax, dword [ecx]
or eax, dword [ecx + 4]
jne 0x100028f2
mov eax, dword [ebp - 0x10]
push 1
push dword [esi + 0x24]
push dword [esi + 0x20]
mov ecx, dword [eax]
lea eax, [ebp - 0x48]
push 0x40
push dword [esi + 0x28]
add ecx, 0x58
push eax
call fcn.1001c7d0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0
jge 0x1000288a
push 0
mov ecx, esi
call fcn.1000f680
cmp byte [ebp - 0x3c], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
je 0x1000285b
mov ecx, dword [ebp - 0x40]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x1000285b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000285b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000285b
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
mov al, byte [ebp - 0x3c]
test al, al
je 0x10003366
mov edx, dword [esi + 0xf0]
mov ecx, dword [ebp - 0x44]
cmp edx, ecx
je 0x100028c2
mov dword [esi + 0xf0], ecx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov ecx, dword [esi + 0xf4]
mov dword [esi + 0xf4], eax
mov al, byte [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
jmp 0x100028c5
mov ecx, dword [ebp - 0x40]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 4], 2
test al, al
je 0x100028f2
test ecx, ecx
je 0x100028f2
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x100028f2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0xc]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x100028f2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x10002903
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x10002911
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xf8], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0xfc], eax
or ecx, 0x8000
mov eax, dword [esi + 0x28]
mov dword [esi + 0x130], eax
cmp dword [esi + 0x38], 0
cmovne ecx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], ecx
test ecx, 0x8000
jne 0x10002952
mov ecx, dword [ebp - 0x10]
push esi
call fcn.10005d40
mov dword [ebp + 0x1c], eax
test eax, eax
js 0x100029aa
sub esp, 8
lea ecx, [ebx + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.100035a0
mov dword [ebp + 0x1c], eax
test eax, eax
js 0x100029aa
sub esp, 8
lea ecx, [ebx + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.100037b0
mov dword [ebp + 0x1c], eax
test eax, eax
jns 0x10002a01
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
xorps xmm0, xmm0
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
mov eax, dword [esi + 0x134]
lea edx, [esi + 0xf8]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
test dword [ebp + 0xc], 0x100
mov byte [ebp - 4], 5
je 0x10002a93
push ecx
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.1000caf0
mov esi, eax
push 0x60
mov byte [ebp - 4], 6
call fcn.10035016
add esp, 4
mov dword [ebp + 0x1c], eax
xorps xmm0, xmm0
movq qword [eax], xmm0
lea ecx, [eax + 0x10]
mov dword [eax + 8], 0
push esi
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj2_struct_blackbone::ModuleData_const__.0
mov dword [ebp - 0x54], ecx
call fcn.10008ca0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x34], eax
call fcn.10003370
mov esi, dword [ebp - 0x2c]
jmp 0x10002aeb
mov eax, dword [ebp - 0x10]
push edx
mov ecx, dword [eax]
lea eax, [ebp - 0x18]
add ecx, 0x10
push eax
call fcn.1000c950
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp + 0x1c], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10002aeb
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10002aeb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10002aeb
mov eax, dword [ecx]
call dword [eax + 4]
test dword [ebp + 0xc], 0x20000
jne 0x10002b1f
cmp dword [ebp + 0x10], 1
jne 0x10002b1f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp byte [eax + 0xc], 0
je 0x10002b1f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
mov byte [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
jmp 0x10002b2a
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
push 0
sub esp, 8
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebx + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.10003fa0
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x10002bfe
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.1000cc50
cmp byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
je 0x10002baa
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x10002bcf
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10002bcf
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10002bcf
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
test dword [ebp + 0xc], 0x4000
jne 0x10002cdb
push 1
sub esp, 8
lea ecx, [ebx + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.10003fa0
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x10002cdb
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.1000cc50
cmp byte [ebp - 0x20], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
je 0x10002c87
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x10002cac
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10002cac
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10002cac
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
mov byte [ebp - 4], 5
cmp byte [ebp - 0x20], 0
je 0x10002cee
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov eax, dword [ebp + 0xc]
and eax, 0x10
mov dword [ebp - 0x14], eax
jne 0x10002e04
lea eax, [ebx + 4]
lock inc dword [eax]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
cmp ecx, eax
je 0x10002ddd
mov eax, dword [ecx + 0x24]
test eax, 0x20000000
je 0x10002d47
test eax, eax
jns 0x10002d36
mov eax, 0x40
jmp 0x10002d5e
and eax, 0x40000000
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
jmp 0x10002d5e
test eax, eax
jns 0x10002d52
mov eax, 4
jmp 0x10002d5e
test eax, 0x40000000
je 0x10002d78
mov eax, 2
push 0
push dword [ecx + 8]
push dword [ecx + 0xc]
lea ecx, [esi + 0xf0]
push eax
call fcn.10014650
test eax, eax
js 0x10002ddd
jmp 0x10002dcb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, 0x58
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x10002d9a
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x30], eax
jmp 0x10002dae
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov edx, dword [ecx + 0xc]
xor eax, eax
add edx, dword [ebp - 0x58]
push 0x4000
push dword [ecx + 8]
adc eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x68]
push eax
push edx
call fcn.1001c800
mov ecx, dword [ebp - 0x1c]
add ecx, 0x28
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebp - 0x20]
jne 0x10002d21
lea ecx, [ebx + 4]
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10002e07
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea ecx, [ebx + 8]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x10002e04
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebx + 4]
test dword [ebp + 0xc], 0x1000
jne 0x10002edb
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.100048b0
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x10002edb
cmp eax, 0xc0000225
je 0x10002edb
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.1000cc50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
test ecx, ecx
je 0x10002eac
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10002eac
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10002eac
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
sub esp, 8
lea ecx, [ebx + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.10004f30
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x10002f9a
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.1000cc50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
test ecx, ecx
je 0x10002f6b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10002f6b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10002f6b
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
cmp dword [ebp - 0x14], 0
je 0x1000304d
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0xf0]
push eax
call fcn.100070a0
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x1000304d
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
add ecx, 0x10
call fcn.1000cc50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
test ecx, ecx
je 0x1000301e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000301e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000301e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x10003061
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x10003072
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10003082
xor ecx, ecx
add eax, edx
adc ecx, dword [ebp - 0x1c]
jmp 0x10003090
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x150], eax
mov eax, dword [ebp + 0xc]
and al, 2
mov dword [esi + 0x154], ecx
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xff
mov dword [esi + 0x148], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x100030e3
push dword [ebp - 0x54]
push dword [eax]
push dword [eax + 0x38]
lea eax, [ebp - 0x40]
push 1
push eax
call ecx
mov eax, dword [ebp - 0x3c]
add esp, 0x14
cmp eax, 0xde
je 0x100030e0
mov dword [esi + 0x148], eax
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x148], 0
je 0x10003100
mov ecx, dword [eax]
lea edx, [esi + 0xf8]
add ecx, 0x1e8
push edx
call fcn.10017090
test dword [ebp + 0xc], 0x10000
jne 0x100032a8
lea eax, [ebx + 4]
lock inc dword [eax]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 9
cmp byte [esi + 0xd], 0
je 0x1000312d
mov eax, dword [esi + 0x18]
add eax, 0xd0
jmp 0x10003135
mov eax, dword [esi + 0x14]
add eax, 0xc0
mov eax, dword [eax]
test eax, eax
jne 0x10003140
mov dword [ebp + 0xc], eax
jmp 0x1000314d
push 1
push eax
mov ecx, esi
call fcn.100101d0
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x10003164
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], eax
jmp 0x10003178
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
cdq
mov ecx, eax
mov esi, edx
mov eax, dword [ebp + 0xc]
cdq
sub eax, ecx
sbb edx, esi
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
adc edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1000327e
cmp dword [eax + 8], 0
je 0x1000327e
mov esi, dword [ebp - 0x10]
push edx
push dword [ebp - 0x14]
mov ecx, dword [esi]
push dword [ebp - 0x60]
add ecx, 0x1e8
call fcn.100176e0
mov dword [ebp + 0xc], eax
mov ecx, edi
mov byte [ebp - 4], 5
lea eax, [ebx + 4]
lock xadd dword [eax], ecx
jne 0x100031e7
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov eax, edi
lea ecx, [ebx + 8]
lock xadd dword [ecx], eax
jne 0x100031e7
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
jge 0x100032a5
mov ecx, dword [ebp - 0x2c]
push 0
call fcn.1000f680
push dword [ebp + 0x10]
mov ecx, dword [esi]
push dword [ebp - 0x28]
add ecx, 0x10
call fcn.1000cc50
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [esi], eax
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 4], 0
mov byte [esi + 0xc], 0
test ecx, ecx
je 0x1000324f
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000324f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp + 0x1c]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000324f
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
lea ecx, [ebx + 4]
lock xadd dword [ecx], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], edi
dec edi
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x10003351
mov byte [ebp - 4], 5
lea ecx, [ebx + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x100032a5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lea ecx, [ebx + 8]
lock xadd dword [ecx], eax
jne 0x100032a5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x100032b9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x100032c7
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
lea edx, [esi + 0x160]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10010270
push 0
mov ecx, esi
call fcn.1000f680
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x100032ee
mov byte [eax + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10003309
mov dword [eax + 4], ebx
xor ebx, ebx
mov dword [eax], esi
add dword [ecx + 4], 8
jmp 0x10003316
lea edx, [ebp - 0x70]
push edx
push eax
call fcn.10008020
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x54]
mov dword [esi], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 1
test ebx, ebx
je 0x10003351
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x10003351
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x10003351
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.10001700
int3