Function at 0x1006aac0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6ccf
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 0x1006ba95
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 0x1006ab3f
push eax
call fcn.1007a0ff
add esp, 4
lea edx, [edi + 0x40]
lea eax, [ebp - 0x184]
cmp eax, edx
je 0x1006ab6e
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 0x1006ab9d
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 0x1006abcc
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 0x1006abfb
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 0x1006ac2a
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 0x1006ac4d
push eax
call fcn.1007a0ff
add esp, 4
cmp dword [ebp - 0x180], 0
mov byte [ebp - 4], 0
ja 0x1006ac67
cmp dword [ebp - 0x160], 0
jbe 0x1006b25f
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006ac7a
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 0x1006acbc
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006acbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006acbc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006accf
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 0x1006ad1a
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006ad1a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006ad1a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x184]
mov esi, dword [edi]
cmp esi, edi
je 0x1006aef7
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x190]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x134], edx
cmp edx, ecx
je 0x1006aeb5
nop word [eax + eax]
mov ecx, dword [edx]
cmp eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x18c]
je 0x1006ad6f
add edx, 8
mov dword [ebp - 0x134], edx
cmp edx, ecx
jne 0x1006ad50
jmp 0x1006aeb5
cmp edx, ecx
je 0x1006aeb5
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x150]
push edx
push eax
call fcn.1006bef0
cmp dword [ebp - 0x150], 0
mov byte [ebp - 4], 6
je 0x1006ae7c
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 0x1006adcc
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x2a0]
jmp 0x1006ae14
push str.StatusBar
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x1006adf1
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x2a8]
jmp 0x1006ae14
push str.OverlayTip
push dword [ebp - 0x134]
call fcn.10010d00
add esp, 8
test al, al
je 0x1006ae20
mov ecx, dword [ebp - 0x128]
lea ecx, [ecx + 0x2b0]
lea eax, [ebp - 0x150]
push eax
call fcn.10013ab0
mov edx, dword [ebp - 0x128]
mov eax, dword [edx + 0x298]
cmp dword [edx + 0x29c], eax
je 0x1006ae69
mov ecx, dword [ebp - 0x14c]
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x1006ae4f
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 + 0x298], 8
jmp 0x1006ae82
lea ecx, [ebp - 0x150]
push ecx
push eax
lea ecx, [edx + 0x294]
call fcn.10066c20
mov ecx, dword [ebp - 0x14c]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1006aeaf
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006aeaf
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 0x1006aeaf
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006aedb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006aed7
cmp esi, dword [eax + 8]
jne 0x1006aed7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006aec7
mov esi, eax
jmp 0x1006aeef
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006aeef
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006aee5
cmp esi, edi
jne 0x1006ad30
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 0x1006b1ff
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x298]
mov edx, dword [edx + 0x294]
mov dword [ebp - 0x140], edx
cmp edx, eax
je 0x1006b1b6
mov edi, edx
nop
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006af4d
add edi, 8
cmp edi, eax
jne 0x1006af40
mov dword [ebp - 0x140], edi
mov edx, dword [ebp - 0x140]
mov edi, dword [ebp - 0x13c]
cmp edx, eax
je 0x1006b1b6
mov edx, dword [edx]
add edx, 0x2c
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x1006af78
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 0x1006af95
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 0x1006bab1
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 0x1006bb13
push 0x1c
lea ecx, [ebp - 0x1e8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1006bb75
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x1006b069
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006b05f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006bba6
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 0x1006b10d
mov eax, dword [edx]
mov dword [ebp - 0x12c], eax
mov dword [edx], ecx
test eax, eax
je 0x1006b122
mov ecx, eax
call fcn.100139d0
push 0x24
push dword [ebp - 0x12c]
jmp 0x1006b11a
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 0x1006b13b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1006b155
cmp eax, 0xffffffff
je 0x1006b155
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1006b1af
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006b17f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006bbab
push edx
push ecx
call fcn.1007836f
add esp, 8
jmp 0x1006b1af
mov dword [ebp - 4], 5
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006b1df
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006b1d8
cmp esi, dword [eax + 8]
jne 0x1006b1d8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006b1c8
mov esi, eax
jmp 0x1006af0b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006af0b
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006b1f0
jmp 0x1006af0b
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006b212
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 0x1006b250
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006b250
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006b250
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 0x1006b658
mov edi, dword [ebp - 0x174]
mov dword [ebp - 0x140], edi
mov esi, dword [edi]
mov dword [ebp - 0x134], esi
cmp esi, edi
je 0x1006b658
nop dword [eax + eax]
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x298]
mov edx, dword [edx + 0x294]
mov dword [ebp - 0x144], edx
cmp edx, eax
je 0x1006b5ff
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006b2c2
add edi, 8
cmp edi, eax
jne 0x1006b2b5
mov dword [ebp - 0x144], edi
mov edx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x140]
cmp edx, eax
je 0x1006b5ff
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 0x1006b300
mov ecx, dword [ecx]
cmp eax, 0xb
jne 0x1006b395
mov edx, str.MainOverlay
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006b322
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006b311
mov al, byte [ecx]
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006b359
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006b359
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006b359
cmp dword [ebp - 0x13c], 0xffffffff
je 0x1006b355
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006b359
xor eax, eax
jmp 0x1006b35e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006b389
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x2a0], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2a4]
mov dword [eax + 0x2a4], 0
jmp 0x1006b4d3
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x12c]
add ecx, 4
cmp edx, 0x10
jb 0x1006b3a5
mov ecx, dword [ecx]
cmp eax, 9
jne 0x1006b43a
mov edx, str.StatusBar
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006b3c7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006b3b6
mov al, byte [ecx]
mov dword [ebp - 0x13c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006b3fe
cmp dword [ebp - 0x13c], 0xfffffffd
je 0x1006b3fa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006b3fe
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006b3fe
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006b3fe
xor eax, eax
jmp 0x1006b403
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006b42e
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x2a8], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2ac]
mov dword [eax + 0x2ac], 0
jmp 0x1006b4d3
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x12c]
add ecx, 4
cmp edx, 0x10
jb 0x1006b44a
mov ecx, dword [ecx]
cmp eax, 0xa
jne 0x1006b502
mov edx, str.OverlayTip
lea edi, [eax - 4]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006b471
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1006b460
mov al, byte [ecx]
mov dword [ebp - 0x12c], edi
mov edi, dword [ebp - 0x140]
cmp al, byte [edx]
jne 0x1006b4a8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1006b4a8
cmp dword [ebp - 0x12c], 0xfffffffe
je 0x1006b4a4
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1006b4a8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1006b4a8
xor eax, eax
jmp 0x1006b4ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1006b502
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x2b0], eax
mov eax, dword [ebp - 0x128]
mov ecx, dword [ecx + 0x2b4]
mov dword [eax + 0x2b4], 0
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x1006b502
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006b502
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 0x1006b502
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 + 0x298]
mov dword [ebp - 0x154], ecx
cmp eax, ecx
je 0x1006b5b4
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 0x1006b591
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x1006b591
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 0x1006b591
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 0x1006b540
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x298]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x130], ecx
test ecx, ecx
je 0x1006b5f2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006b5f2
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 0x1006b5f2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x128]
add dword [eax + 0x298], 0xfffffff8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006b62b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006b621
cmp esi, dword [eax + 8]
jne 0x1006b621
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006b611
mov esi, eax
mov dword [ebp - 0x134], esi
jmp 0x1006b650
mov esi, eax
mov dword [ebp - 0x134], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006b650
nop dword [eax + eax]
mov esi, eax
mov dword [ebp - 0x134], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006b640
cmp esi, edi
jne 0x1006b290
cmp dword [ebp - 0x168], 0
jbe 0x1006b8b5
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x154], esi
mov edx, dword [esi]
mov dword [ebp - 0x13c], edx
cmp edx, esi
je 0x1006b8b5
mov edi, dword [ebp - 0x128]
nop word [eax + eax]
mov eax, dword [edi + 0x298]
mov edi, dword [edi + 0x294]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], edi
cmp edi, eax
je 0x1006b896
mov esi, edi
nop
mov edi, dword [esi]
cmp ecx, dword [edi]
je 0x1006b6bd
add esi, 8
cmp esi, eax
jne 0x1006b6b0
mov dword [ebp - 0x134], esi
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x154]
cmp edi, eax
je 0x1006b896
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 0x1006b706
mov eax, dword [ecx]
lea edx, [ebp - 0x7c]
push edx
push ecx
call dword [eax + 0x28]
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], edx
jne 0x1006b71d
cmp ecx, dword [eax + 0x28]
je 0x1006b896
cmp dword [ebp - 0x7c], edx
jb 0x1006b739
cmp ecx, dword [eax + 0x28]
jb 0x1006b739
push 1
push edi
mov edi, dword [ebp - 0x128]
mov ecx, edi
call fcn.1006d2f0
jmp 0x1006b89c
push dword [eax + 0x28]
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x194]
push edx
push eax
call fcn.1006bbc0
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 0x1006b76d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x1006b780
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 0x1006b7ad
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 0x1006b724
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 0x298]
lea eax, [edi + 8]
mov dword [ebp - 0x148], ecx
cmp eax, ecx
je 0x1006b851
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 0x1006b834
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x1006b834
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 0x1006b834
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 0x1006b7e3
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x298]
mov edi, dword [eax - 4]
test edi, edi
je 0x1006b887
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1006b887
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x1006b887
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x128]
add dword [edi + 0x298], 0xfffffff8
jmp 0x1006b89c
mov edi, dword [ebp - 0x128]
lea ecx, [ebp - 0x13c]
call fcn.10013f70
mov edx, dword [ebp - 0x13c]
cmp edx, esi
jne 0x1006b690
cmp dword [ebp - 0x178], 0
jbe 0x1006b974
mov edi, dword [ebp - 0x17c]
mov dword [ebp - 0x130], edi
mov esi, dword [edi]
cmp esi, edi
je 0x1006b974
nop dword [eax + eax]
mov edx, dword [ebp - 0x128]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x298]
mov edx, dword [edx + 0x294]
mov dword [ebp - 0x134], edx
cmp edx, eax
je 0x1006b932
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006b90e
add edi, 8
cmp edi, eax
jne 0x1006b901
mov dword [ebp - 0x134], edi
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
cmp edx, eax
je 0x1006b932
mov ecx, dword [ebp - 0x128]
push 0
push edx
call fcn.1006d2f0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1006b958
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1006b954
cmp esi, dword [eax + 8]
jne 0x1006b954
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1006b944
mov esi, eax
jmp 0x1006b96c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006b96c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x1006b962
cmp esi, edi
jne 0x1006b8e0
cmp dword [ebp - 0x15c], 0
je 0x1006ba51
mov edi, dword [ebp - 0x128]
mov eax, dword [edi + 0x298]
mov ecx, eax
mov edx, dword [edi + 0x294]
sub ecx, edx
sar ecx, 3
lea esi, [ecx - 1]
mov dword [ebp - 0x130], esi
cmp ecx, esi
mov esi, dword [ebp - 0x15c]
jbe 0x1006bbb0
mov ecx, dword [ebp - 0x130]
mov ecx, dword [edx + ecx*8]
cmp dword [ecx], esi
je 0x1006ba51
cmp edx, eax
je 0x1006ba51
nop word [eax + eax]
mov ecx, dword [edx]
cmp dword [ecx], esi
je 0x1006b9dd
add edx, 8
cmp edx, eax
jne 0x1006b9d0
cmp edx, eax
je 0x1006ba51
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1006b9ef
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 + 0x294]
call fcn.1004c150
lea eax, [ebp - 0x19c]
push eax
lea ecx, [edi + 0x294]
call fcn.1006a2d0
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x1006ba51
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006ba51
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1006ba51
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