Function at 0x10074410
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a74fe
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x138], edi
mov al, byte [edi + 0x6c]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x194], 0
test al, al
je 0x10075335
lea ecx, [ebp - 0x184]
call fcn.10012b30
lea esi, [edi + 0x10]
mov dword [ebp - 4], 0
push esi
call fcn.1007a062
add esp, 4
test eax, eax
je 0x1007448f
push eax
call fcn.1007a0ff
add esp, 4
lea edx, [edi + 0x40]
lea eax, [ebp - 0x184]
cmp eax, edx
je 0x100744be
mov eax, dword [edx]
mov ecx, dword [ebp - 0x184]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x180], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x48]
lea eax, [ebp - 0x17c]
cmp eax, edx
je 0x100744ed
mov eax, dword [edx]
mov ecx, dword [ebp - 0x17c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x178], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x50]
lea eax, [ebp - 0x174]
cmp eax, edx
je 0x1007451c
mov eax, dword [edx]
mov ecx, dword [ebp - 0x174]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x170], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x58]
lea eax, [ebp - 0x16c]
cmp eax, edx
je 0x1007454b
mov eax, dword [edx]
mov ecx, dword [ebp - 0x16c]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x168], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x60]
lea eax, [ebp - 0x164]
cmp eax, edx
je 0x1007457a
mov eax, dword [edx]
mov ecx, dword [ebp - 0x164]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x160], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x15c], eax
push esi
mov byte [ebp - 4], 1
call fcn.1007a087
add esp, 4
test eax, eax
je 0x1007459d
push eax
call fcn.1007a0ff
add esp, 4
cmp dword [ebp - 0x170], 0
mov byte [ebp - 4], 0
jbe 0x10074634
push str.__Got_a_close
push str.D3d12Graphics::_checkAndResyncWindows
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
push eax
call fcn.10011fa0
mov ecx, dword [ebp - 0x174]
add esp, 0xc
mov eax, dword [ecx]
mov dword [ebp - 0x134], eax
cmp eax, ecx
je 0x10074634
lea edx, [edi + 0x3b8]
mov dword [ebp - 0x13c], edx
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 4]
mov esi, dword [edx]
cmp esi, eax
je 0x10074615
nop
mov edx, dword [esi]
cmp ecx, dword [edx]
je 0x1007460d
add esi, 8
cmp esi, eax
jne 0x10074600
cmp esi, eax
jne 0x10074763
lea ecx, [ebp - 0x134]
call fcn.10013f70
mov eax, dword [ebp - 0x134]
lea edx, [edi + 0x3b8]
cmp eax, dword [ebp - 0x174]
jne 0x100745f2
cmp dword [ebp - 0x180], 0
ja 0x1007464a
cmp dword [ebp - 0x160], 0
jbe 0x10074ec5
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1007465d
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], esi
mov byte [ebp - 4], 2
call fcn.10053540
or edi, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x1007469f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1007469f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1007469f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x100746b2
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1b0], esi
mov byte [ebp - 4], 3
call fcn.1005c5b0
push eax
lea ecx, [ebp - 0x190]
call fcn.100126f0
mov byte [ebp - 4], 5
test esi, esi
je 0x100746fd
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100746fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100746fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x184]
mov dword [ebp - 0x13c], edi
mov esi, dword [edi]
cmp esi, edi
je 0x10074b52
mov ecx, dword [ebp - 0x18c]
nop dword [eax]
mov edx, dword [ebp - 0x190]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x134], edx
cmp edx, ecx
je 0x10074b08
nop word [eax + eax]
mov ecx, dword [edx]
cmp eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x18c]
je 0x100748fb
add edx, 8
mov dword [ebp - 0x134], edx
cmp edx, ecx
jne 0x10074740
jmp 0x10074b08
mov eax, dword [esi]
add eax, 4
push str.MainOverlay
push eax
mov dword [ebp - 0x134], eax
call fcn.10010d00
add esp, 8
test al, al
je 0x100747ec
mov dword [edi + 0x3c4], 0
mov eax, dword [edi + 0x3c8]
mov dword [edi + 0x3c8], 0
mov edi, eax
mov dword [ebp - 0x154], eax
test edi, edi
je 0x100748e3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100748e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x100748e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.1004c150
jmp 0x100752fe
push str.StatusBar
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x1007489b
push str.__closing_it...
push str.D3d12Graphics::_checkAndResyncWindows
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
push eax
call fcn.10011fa0
add esp, 0xc
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x158]
mov dword [ebp - 0x154], 0
lea ecx, [edi + 0x3cc]
push eax
call fcn.10013a50
mov edi, dword [ebp - 0x154]
test edi, edi
je 0x100748e3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x100748e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x100748e3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.1004c150
jmp 0x100752fe
push str.OverlayTip
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x100748e3
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 0
push eax
lea ecx, [edi + 0x3d4]
mov dword [ebp - 0x1a0], 0
call fcn.10013a50
lea ecx, [ebp - 0x1a4]
call fcn.100136b0
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.1004c150
jmp 0x100752fe
cmp edx, ecx
je 0x10074b08
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x14c]
push edx
push eax
call fcn.10075450
cmp dword [ebp - 0x14c], 0
mov byte [ebp - 4], 6
je 0x10074acf
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
add eax, 0x3c
mov dword [ebp - 0x140], eax
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x10074942
mov ecx, dword [eax]
cmp dword [eax + 0x10], 0xb
jne 0x10074a24
mov edx, str.MainOverlay
mov edi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10074967
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10074956
mov al, byte [ecx]
mov dword [ebp - 0x134], edi
mov edi, dword [ebp - 0x13c]
cmp al, byte [edx]
jne 0x1007499e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1007499e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1007499e
cmp dword [ebp - 0x134], 0xffffffff
je 0x1007499a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1007499e
xor eax, eax
jmp 0x100749a3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10074a1e
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x100749b5
lock inc dword [ecx + 4]
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x14c]
mov dword [edx + 0x3c4], eax
mov eax, dword [edx + 0x3c8]
mov dword [ebp - 0x140], eax
mov dword [edx + 0x3c8], ecx
test eax, eax
je 0x10074a7f
mov edi, dword [ebp - 0x140]
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
mov edi, dword [ebp - 0x13c]
jne 0x10074a7f
mov ecx, dword [ebp - 0x140]
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x140]
lock xadd dword [ecx + 8], eax
jne 0x10074a73
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10074a73
mov eax, dword [ebp - 0x140]
push str.StatusBar
push eax
call fcn.10010d00
add esp, 8
test al, al
je 0x10074a44
mov ecx, dword [ebp - 0x138]
lea ecx, [ecx + 0x3cc]
jmp 0x10074a67
push str.OverlayTip
push dword [ebp - 0x140]
call fcn.10010d00
add esp, 8
test al, al
je 0x10074a73
mov ecx, dword [ebp - 0x138]
lea ecx, [ecx + 0x3d4]
lea eax, [ebp - 0x14c]
push eax
call fcn.10013ab0
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x3bc]
cmp dword [edx + 0x3c0], eax
je 0x10074abc
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x10074aa2
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x14c]
mov dword [eax], edi
mov edi, dword [ebp - 0x13c]
mov dword [eax + 4], ecx
add dword [edx + 0x3bc], 8
jmp 0x10074ad5
lea ecx, [ebp - 0x14c]
push ecx
push eax
lea ecx, [edx + 0x3b8]
call fcn.10066c20
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10074b02
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10074b02
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x148]
lock xadd dword [ecx + 8], eax
jne 0x10074b02
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10074b34
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10074b30
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x10074b30
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10074b20
mov esi, eax
jmp 0x10074b4a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10074b4a
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10074b40
cmp esi, edi
jne 0x10074720
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
mov esi, dword [edi]
mov dword [ebp - 0x134], esi
cmp esi, edi
je 0x10074e5f
mov edx, dword [ebp - 0x138]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x3bc]
mov edx, dword [edx + 0x3b8]
mov dword [ebp - 0x140], edx
cmp edx, eax
je 0x10074e16
mov edi, edx
nop dword [eax]
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x10074bad
add edi, 8
cmp edi, eax
jne 0x10074ba0
mov dword [ebp - 0x140], edi
mov edx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x154]
cmp edx, eax
je 0x10074e16
mov edx, dword [edx]
add edx, 0x2c
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x10074bd8
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x13c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10074bf5
sub ecx, dword [ebp - 0x13c]
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.10017610
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.10012510
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10075351
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100753b0
push 0x1c
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1007540f
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x10074cc9
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074cbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10075440
push edx
push ecx
call fcn.1007836f
add esp, 8
push 0x24
call fcn.1007833f
mov edx, eax
add esp, 4
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x148], edx
mov ecx, dword [ebp - 0x38]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 4], ecx
lea ecx, [edx + 0xc]
mov eax, dword [ebp - 0x30]
mov dword [edx + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x13
call fcn.10012510
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x13c]
cmovae eax, dword [ebp - 0x2c]
or dword [ebp - 0x194], 1
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0
mov edx, dword [eax]
lea eax, [ebp - 0x1c4]
add edx, 0x44
cmp edx, eax
je 0x10074d6d
mov eax, dword [edx]
mov dword [ebp - 0x134], eax
mov dword [edx], ecx
test eax, eax
je 0x10074d82
mov ecx, eax
call fcn.100139d0
push 0x24
push dword [ebp - 0x134]
jmp 0x10074d7a
call fcn.100139d0
push 0x24
push dword [ebp - 0x13c]
call fcn.1007836f
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x10074d9b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10074db5
cmp eax, 0xffffffff
je 0x10074db5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10074e0f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10074ddf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10075445
push edx
push ecx
call fcn.1007836f
add esp, 8
jmp 0x10074e0f
mov dword [ebp - 4], 5
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10074e3f
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10074e38
cmp esi, dword [eax + 8]
jne 0x10074e38
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10074e28
mov esi, eax
jmp 0x10074b66
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10074b66
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10074e50
jmp 0x10074b66
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x10074e72
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1a8], esi
mov byte [ebp - 4], 0x15
call fcn.1005c490
test esi, esi
je 0x10074eb0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10074eb0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10074eb0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0
call fcn.10015910
mov edi, dword [ebp - 0x138]
cmp dword [ebp - 0x168], 0
jbe 0x10075154
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x13c], esi
mov edx, dword [esi]
mov dword [ebp - 0x140], edx
cmp edx, esi
je 0x10075154
nop
mov eax, dword [edi + 0x3bc]
mov edi, dword [edi + 0x3b8]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], edi
cmp edi, eax
je 0x10075135
mov esi, edi
nop
mov edi, dword [esi]
cmp ecx, dword [edi]
je 0x10074f1d
add esi, 8
cmp esi, eax
jne 0x10074f10
mov dword [ebp - 0x134], esi
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x13c]
cmp edi, eax
je 0x10075135
mov eax, dword [edi]
movups xmm0, xmmword [edx + 0x14]
push 0x38
push 0
movups xmmword [eax + 0x1c], xmm0
lea eax, [ebp - 0x1fc]
push eax
call fcn.1007b7a0
mov ecx, dword [ebp - 0x138]
add esp, 0xc
mov edx, dword [ecx + 0x158]
test edx, edx
je 0x10074fa4
mov eax, dword [edx]
lea ecx, [ebp - 0x130]
push ecx
push edx
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x138]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1fc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x1ec], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x1dc], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [ebp - 0x1cc], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x150], eax
cdq
mov dword [ebp - 0x144], edx
mov edx, dword [ebp - 0x1e8]
cmp dword [ebp - 0x1ec], eax
jne 0x10074ff9
cmp edx, dword [ebp - 0x144]
jne 0x10074ff9
mov esi, dword [edi]
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [esi + 0x28]
mov esi, dword [ebp - 0x13c]
jne 0x10074ff9
push edi
mov edi, dword [ebp - 0x138]
mov byte [ecx + 0x1d4], 0
mov ecx, edi
call fcn.10072e50
jmp 0x1007513b
test edx, edx
jb 0x1007503c
ja 0x1007500d
mov eax, dword [ebp - 0x150]
cmp dword [ebp - 0x1ec], eax
jb 0x1007503c
mov edx, dword [edi]
mov eax, dword [ebp - 0x1e4]
cmp eax, dword [edx + 0x28]
jb 0x1007503c
push edi
mov byte [ecx + 0x1d4], 0
call fcn.10072e50
push 1
push edi
mov edi, dword [ebp - 0x138]
mov ecx, edi
call fcn.10076350
jmp 0x1007513b
push edi
mov byte [ecx + 0x1d4], 0
call fcn.10072e50
mov eax, dword [ebp - 0x138]
cmp dword [eax + 0x158], 0
jne 0x10075027
mov ecx, dword [eax + 0x3bc]
lea eax, [edi + 8]
mov dword [ebp - 0x150], ecx
cmp eax, ecx
je 0x100750ee
mov edx, edi
lea esi, [eax + 4]
sub edx, eax
mov dword [ebp - 0x154], edx
nop dword [eax]
mov eax, dword [esi - 4]
mov ecx, dword [esi]
mov dword [esi - 4], 0
mov dword [esi], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x154]
mov edx, dword [esi + edx]
mov dword [ebp - 0x144], edx
mov dword [esi + eax], ecx
test edx, edx
je 0x100750d1
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x100750d1
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x144]
lock xadd dword [ecx + 8], eax
jne 0x100750d1
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x154]
add esi, 8
add edi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x150]
jne 0x10075080
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x138]
mov eax, dword [edi + 0x3bc]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x144], ecx
test ecx, ecx
je 0x1007512c
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1007512c
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x144]
lock xadd dword [ecx + 8], eax
jne 0x1007512c
mov eax, dword [ecx]
call dword [eax + 4]
add dword [edi + 0x3bc], 0xfffffff8
jmp 0x1007513b
mov edi, dword [ebp - 0x138]
lea ecx, [ebp - 0x140]
call fcn.10013f70
mov edx, dword [ebp - 0x140]
cmp edx, esi
jne 0x10074ef0
cmp dword [ebp - 0x178], 0
jbe 0x10075214
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x144], edi
mov esi, dword [edi]
cmp esi, edi
je 0x10075214
nop word [eax + eax]
mov edx, dword [ebp - 0x138]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x3bc]
mov edx, dword [edx + 0x3b8]
mov dword [ebp - 0x134], edx
cmp edx, eax
je 0x100751d2
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x100751ae
add edi, 8
cmp edi, eax
jne 0x100751a1
mov dword [ebp - 0x134], edi
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x144]
cmp edx, eax
je 0x100751d2
mov ecx, dword [ebp - 0x138]
push 0
push edx
call fcn.10076350
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100751f8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100751f4
cmp esi, dword [eax + 8]
jne 0x100751f4
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100751e4
mov esi, eax
jmp 0x1007520c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1007520c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10075202
cmp esi, edi
jne 0x10075180
cmp dword [ebp - 0x15c], 0
je 0x100752f1
mov edi, dword [ebp - 0x138]
mov eax, dword [edi + 0x3bc]
mov ecx, eax
mov edx, dword [edi + 0x3b8]
sub ecx, edx
sar ecx, 3
lea esi, [ecx - 1]
mov dword [ebp - 0x144], esi
cmp ecx, esi
mov esi, dword [ebp - 0x15c]
jbe 0x1007544a
mov ecx, dword [ebp - 0x144]
mov ecx, dword [edx + ecx*8]
cmp dword [ecx], esi
je 0x100752f1
cmp edx, eax
je 0x100752f1
nop word [eax + eax]
mov ecx, dword [edx]
cmp dword [ecx], esi
je 0x1007527d
add edx, 8
cmp edx, eax
jne 0x10075270
cmp edx, eax
je 0x100752f1
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1007528f
lock inc dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], ecx
push edx
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [edi + 0x3b8]
call fcn.1004c150
lea eax, [ebp - 0x19c]
push eax
lea ecx, [edi + 0x3b8]
call fcn.1006a2d0
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x100752f1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100752f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100752f1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x138]
xor cl, cl
add eax, 0x6c
xchg byte [eax], cl
lea ecx, [ebp - 0x164]
call fcn.100134f0
lea ecx, [ebp - 0x16c]
call fcn.10013450
lea ecx, [ebp - 0x174]
call fcn.100134f0
lea ecx, [ebp - 0x17c]
call fcn.100134f0
lea ecx, [ebp - 0x184]
call fcn.100134f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10077d23
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xa
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xb
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0xc
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x208]
push eax
call fcn.1007c332
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0xd
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xe
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0xf
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x214]
push eax
call fcn.1007c332
push str.system_error:VirtualQuery
lea ecx, [ebp - 0xc8]
call fcn.100126b0
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x10
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x220]
push eax
call fcn.1007c332
call fcn.10086061
call fcn.10086061
call fcn.10047ab0
int3