Function at 0x1006eb80
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a70df
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
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 - 0x128], edi
mov al, byte [edi + 0x6c]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x148], 0
test al, al
je 0x1006fb55
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 0x1006ebff
push eax
call fcn.1007a0ff
add esp, 4
lea edx, [edi + 0x40]
lea eax, [ebp - 0x184]
cmp eax, edx
je 0x1006ec2e
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 0x1006ec5d
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 0x1006ec8c
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 0x1006ecbb
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 0x1006ecea
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 0x1006ed0d
push eax
call fcn.1007a0ff
add esp, 4
cmp dword [ebp - 0x180], 0
mov byte [ebp - 4], 0
ja 0x1006ed27
cmp dword [ebp - 0x160], 0
jbe 0x1006f31f
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006ed3a
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], esi
mov byte [ebp - 4], 2
call fcn.10053540
or edi, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x1006ed7c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006ed7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006ed7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006ed8f
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 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 0x1006edda
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006edda
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006edda
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x184]
mov esi, dword [edi]
cmp esi, edi
je 0x1006efb7
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x190]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x134], edx
cmp edx, ecx
je 0x1006ef75
nop word [eax + eax]
mov ecx, dword [edx]
cmp eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x18c]
je 0x1006ee2f
add edx, 8
mov dword [ebp - 0x134], edx
cmp edx, ecx
jne 0x1006ee10
jmp 0x1006ef75
cmp edx, ecx
je 0x1006ef75
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.1006ff90
cmp dword [ebp - 0x150], 0
mov byte [ebp - 4], 6
je 0x1006ef3c
mov eax, dword [ebp - 0x134]
push str.MainOverlay
mov eax, dword [eax]
add eax, 0x3c
push eax
mov dword [ebp - 0x134], eax
call fcn.10010d00
add esp, 8
test al, al
je 0x1006ee8c
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x29c]
jmp 0x1006eed4
push str.StatusBar
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x1006eeb1
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x2a4]
jmp 0x1006eed4
push str.OverlayTip
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x1006eee0
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x2ac]
lea eax, [ebp - 0x150]
push eax
call fcn.10013ab0
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x294]
cmp dword [edx + 0x298], eax
je 0x1006ef29
mov ecx, dword [ebp - 0x14c]
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x1006ef0f
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x150]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14c]
mov dword [eax + 4], ecx
add dword [edx + 0x294], 8
jmp 0x1006ef42
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [edx + 0x290]
call fcn.10066c20
mov ecx, dword [ebp - 0x14c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1006ef6f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006ef6f
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x14c]
lock xadd dword [ecx + 8], eax
jne 0x1006ef6f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006ef9b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006ef97
cmp esi, dword [eax + 8]
jne 0x1006ef97
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006ef87
mov esi, eax
jmp 0x1006efaf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006efaf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006efa5
cmp esi, edi
jne 0x1006edf0
mov edi, dword [ebp - 0x164]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x154], edi
mov esi, dword [edi]
mov dword [ebp - 0x144], esi
cmp esi, edi
je 0x1006f2bf
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x294]
mov edx, dword [edx + 0x290]
mov dword [ebp - 0x140], edx
cmp edx, eax
je 0x1006f276
mov edi, edx
nop
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006f00d
add edi, 8
cmp edi, eax
jne 0x1006f000
mov dword [ebp - 0x140], edi
mov edx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x13c]
cmp edx, eax
je 0x1006f276
mov edx, dword [edx]
add edx, 0x2c
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x1006f038
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 - 0x12c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f055
sub ecx, dword [ebp - 0x12c]
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 0x1006fb71
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 0x1006fbd3
push 0x1c
lea ecx, [ebp - 0x1e8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1006fc35
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x1006f129
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f11f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fc66
push edx
push ecx
call fcn.1007836f
add esp, 8
push 0x24
call fcn.1007833f
mov edx, eax
add esp, 4
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x14c], 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 - 0x134]
cmovae eax, dword [ebp - 0x2c]
or dword [ebp - 0x148], 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 - 0x12c]
add edx, 0x44
cmp edx, eax
je 0x1006f1cd
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
mov dword [edx], ecx
test eax, eax
je 0x1006f1e2
mov ecx, eax
call fcn.100139d0
push 0x24
push dword [ebp - 0x12c]
jmp 0x1006f1da
call fcn.100139d0
push 0x24
push dword [ebp - 0x134]
call fcn.1007836f
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x1006f1fb
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1006f215
cmp eax, 0xffffffff
je 0x1006f215
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1006f26f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006f23f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006fc6b
push edx
push ecx
call fcn.1007836f
add esp, 8
jmp 0x1006f26f
mov dword [ebp - 4], 5
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006f29f
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006f298
cmp esi, dword [eax + 8]
jne 0x1006f298
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006f288
mov esi, eax
jmp 0x1006efcb
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006efcb
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006f2b0
jmp 0x1006efcb
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006f2d2
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a4], esi
mov byte [ebp - 4], 0x15
call fcn.1005c490
test esi, esi
je 0x1006f310
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006f310
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006f310
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0
call fcn.10015910
cmp dword [ebp - 0x170], 0
jbe 0x1006f718
mov edi, dword [ebp - 0x174]
mov dword [ebp - 0x140], edi
mov esi, dword [edi]
mov dword [ebp - 0x134], esi
cmp esi, edi
je 0x1006f718
nop dword [eax + eax]
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x294]
mov edx, dword [edx + 0x290]
mov dword [ebp - 0x144], edx
cmp edx, eax
je 0x1006f6bf
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006f382
add edi, 8
cmp edi, eax
jne 0x1006f375
mov dword [ebp - 0x144], edi
mov edx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x140]
cmp edx, eax
je 0x1006f6bf
mov eax, dword [edx]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x154], edx
lea ecx, [eax + 4]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x148], eax
cmp edx, 0x10
jb 0x1006f3c0
mov ecx, dword [ecx]
cmp eax, 0xb
jne 0x1006f455
mov edx, str.MainOverlay
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006f3e2
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006f3d1
mov al, byte [ecx]
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006f419
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006f419
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006f419
cmp dword [ebp - 0x13c], 0xffffffff
je 0x1006f415
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006f419
xor eax, eax
jmp 0x1006f41e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006f449
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x29c], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2a0]
mov dword [eax + 0x2a0], 0
jmp 0x1006f593
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x12c]
add ecx, 4
cmp edx, 0x10
jb 0x1006f465
mov ecx, dword [ecx]
cmp eax, 9
jne 0x1006f4fa
mov edx, str.StatusBar
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006f487
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006f476
mov al, byte [ecx]
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006f4be
cmp dword [ebp - 0x13c], 0xfffffffd
je 0x1006f4ba
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006f4be
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006f4be
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006f4be
xor eax, eax
jmp 0x1006f4c3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006f4ee
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x2a4], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2a8]
mov dword [eax + 0x2a8], 0
jmp 0x1006f593
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x12c]
add ecx, 4
cmp edx, 0x10
jb 0x1006f50a
mov ecx, dword [ecx]
cmp eax, 0xa
jne 0x1006f5c2
mov edx, str.OverlayTip
lea edi, [eax - 4]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006f531
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006f520
mov al, byte [ecx]
mov dword [ebp - 0x12c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006f568
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006f568
cmp dword [ebp - 0x12c], 0xfffffffe
je 0x1006f564
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006f568
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006f568
xor eax, eax
jmp 0x1006f56d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006f5c2
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x2ac], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2b0]
mov dword [eax + 0x2b0], 0
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x1006f5c2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006f5c2
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x130]
lock xadd dword [ecx + 8], eax
jne 0x1006f5c2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x144]
add eax, 8
mov ecx, dword [ecx + 0x294]
mov dword [ebp - 0x154], ecx
cmp eax, ecx
je 0x1006f674
mov edi, dword [ebp - 0x144]
lea esi, [eax + 4]
mov edx, edi
sub edx, eax
mov dword [ebp - 0x12c], edx
nop dword [eax + 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 - 0x12c]
mov edx, dword [esi + edx]
mov dword [ebp - 0x130], edx
mov dword [esi + eax], ecx
test edx, edx
je 0x1006f651
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x1006f651
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x130]
lock xadd dword [ecx + 8], eax
jne 0x1006f651
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x12c]
add esi, 8
add edi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x154]
jne 0x1006f600
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x294]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x1006f6b2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006f6b2
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x130]
lock xadd dword [ecx + 8], eax
jne 0x1006f6b2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x128]
add dword [eax + 0x294], 0xfffffff8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006f6eb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006f6e1
cmp esi, dword [eax + 8]
jne 0x1006f6e1
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006f6d1
mov esi, eax
mov dword [ebp - 0x134], esi
jmp 0x1006f710
mov esi, eax
mov dword [ebp - 0x134], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006f710
nop dword [eax + eax]
mov esi, eax
mov dword [ebp - 0x134], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006f700
cmp esi, edi
jne 0x1006f350
cmp dword [ebp - 0x168], 0
jbe 0x1006f975
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x154], esi
mov edx, dword [esi]
mov dword [ebp - 0x13c], edx
cmp edx, esi
je 0x1006f975
mov edi, dword [ebp - 0x128]
nop word [eax + eax]
mov eax, dword [edi + 0x294]
mov edi, dword [edi + 0x290]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], edi
cmp edi, eax
je 0x1006f956
mov esi, edi
nop
mov edi, dword [esi]
cmp ecx, dword [edi]
je 0x1006f77d
add esi, 8
cmp esi, eax
jne 0x1006f770
mov dword [ebp - 0x134], esi
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x154]
cmp edi, eax
je 0x1006f956
mov eax, dword [edi]
movups xmm0, xmmword [edx + 0x14]
push 0x2c
push 0
movups xmmword [eax + 0x1c], xmm0
lea eax, [ebp - 0x7c]
push eax
call fcn.1007b7a0
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1006f7c6
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
push ecx
call dword [eax + 0x30]
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], edx
jne 0x1006f7dd
cmp ecx, dword [eax + 0x28]
je 0x1006f956
cmp dword [ebp - 0x7c], edx
jb 0x1006f7f9
cmp ecx, dword [eax + 0x28]
jb 0x1006f7f9
push 1
push edi
mov edi, dword [ebp - 0x128]
mov ecx, edi
call fcn.10071230
jmp 0x1006f95c
push dword [eax + 0x28]
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x194]
push edx
push eax
call fcn.1006fc80
mov ecx, dword [edi]
mov dword [ebp - 0x12c], ecx
mov ecx, dword [eax]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x1006f82d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1006f840
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x194]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x1006f86d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x194], 0
mov eax, dword [edi]
mov byte [ebp - 4], 0
cmp dword [eax + 0x48], 0
jne 0x1006f7e4
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x294]
lea eax, [edi + 8]
mov dword [ebp - 0x148], ecx
cmp eax, ecx
je 0x1006f911
mov edx, edi
lea esi, [eax + 4]
sub edx, eax
mov dword [ebp - 0x12c], edx
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 - 0x12c]
mov edx, dword [esi + edx]
mov dword [ebp - 0x130], edx
mov dword [esi + eax], ecx
test edx, edx
je 0x1006f8f4
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x1006f8f4
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x130]
lock xadd dword [ecx + 8], eax
jne 0x1006f8f4
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x12c]
add esi, 8
add edi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x148]
jne 0x1006f8a3
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x294]
mov edi, dword [eax - 4]
test edi, edi
je 0x1006f947
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1006f947
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x1006f947
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
add dword [edi + 0x294], 0xfffffff8
jmp 0x1006f95c
mov edi, dword [ebp - 0x128]
lea ecx, [ebp - 0x13c]
call fcn.10013f70
mov edx, dword [ebp - 0x13c]
cmp edx, esi
jne 0x1006f750
cmp dword [ebp - 0x178], 0
jbe 0x1006fa34
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x130], edi
mov esi, dword [edi]
cmp esi, edi
je 0x1006fa34
nop dword [eax + eax]
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x294]
mov edx, dword [edx + 0x290]
mov dword [ebp - 0x134], edx
cmp edx, eax
je 0x1006f9f2
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006f9ce
add edi, 8
cmp edi, eax
jne 0x1006f9c1
mov dword [ebp - 0x134], edi
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
cmp edx, eax
je 0x1006f9f2
mov ecx, dword [ebp - 0x128]
push 0
push edx
call fcn.10071230
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006fa18
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006fa14
cmp esi, dword [eax + 8]
jne 0x1006fa14
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006fa04
mov esi, eax
jmp 0x1006fa2c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006fa2c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006fa22
cmp esi, edi
jne 0x1006f9a0
cmp dword [ebp - 0x15c], 0
je 0x1006fb11
mov edi, dword [ebp - 0x128]
mov eax, dword [edi + 0x294]
mov ecx, eax
mov edx, dword [edi + 0x290]
sub ecx, edx
sar ecx, 3
lea esi, [ecx - 1]
mov dword [ebp - 0x130], esi
cmp ecx, esi
mov esi, dword [ebp - 0x15c]
jbe 0x1006fc70
mov ecx, dword [ebp - 0x130]
mov ecx, dword [edx + ecx*8]
cmp dword [ecx], esi
je 0x1006fb11
cmp edx, eax
je 0x1006fb11
nop word [eax + eax]
mov ecx, dword [edx]
cmp dword [ecx], esi
je 0x1006fa9d
add edx, 8
cmp edx, eax
jne 0x1006fa90
cmp edx, eax
je 0x1006fb11
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1006faaf
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 - 0x1a0]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x290]
call fcn.1004c150
lea eax, [ebp - 0x19c]
push eax
lea ecx, [edi + 0x290]
call fcn.1006a2d0
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x1006fb11
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006fb11
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1006fb11
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x128]
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 - 0x94]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xc
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1b4]
push eax
call fcn.1007c332
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xd
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xe
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0xf
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1c0]
push eax
call fcn.1007c332
push str.system_error:VirtualQuery
lea ecx, [ebp - 0x124]
call fcn.100126b0
push eax
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x10
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1cc]
push eax
call fcn.1007c332
call fcn.10086061
call fcn.10086061
call fcn.10047ab0
int3