Function at 0x100672a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a67ff
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
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 - 0x11c], edi
mov al, byte [edi + 0x6c]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x13c], 0
test al, al
je 0x10068239
lea ecx, [ebp - 0x178]
call fcn.10012b30
lea esi, [edi + 0x10]
mov dword [ebp - 4], 0
push esi
call fcn.1007a062
add esp, 4
test eax, eax
je 0x1006731f
push eax
call fcn.1007a0ff
add esp, 4
lea edx, [edi + 0x40]
lea eax, [ebp - 0x178]
cmp eax, edx
je 0x1006734e
mov eax, dword [edx]
mov ecx, dword [ebp - 0x178]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x174], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x48]
lea eax, [ebp - 0x170]
cmp eax, edx
je 0x1006737d
mov eax, dword [edx]
mov ecx, dword [ebp - 0x170]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x16c], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x50]
lea eax, [ebp - 0x168]
cmp eax, edx
je 0x100673ac
mov eax, dword [edx]
mov ecx, dword [ebp - 0x168]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x164], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x58]
lea eax, [ebp - 0x160]
cmp eax, edx
je 0x100673db
mov eax, dword [edx]
mov ecx, dword [ebp - 0x160]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x15c], eax
mov dword [edx + 4], ecx
lea edx, [edi + 0x60]
lea eax, [ebp - 0x158]
cmp eax, edx
je 0x1006740a
mov eax, dword [edx]
mov ecx, dword [ebp - 0x158]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x154], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x150], eax
push esi
mov byte [ebp - 4], 1
call fcn.1007a087
add esp, 4
test eax, eax
je 0x1006742d
push eax
call fcn.1007a0ff
add esp, 4
cmp dword [ebp - 0x174], 0
mov byte [ebp - 4], 0
ja 0x10067447
cmp dword [ebp - 0x154], 0
jbe 0x10067a3f
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x1006745a
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], esi
mov byte [ebp - 4], 2
call fcn.10053540
or edi, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x1006749c
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1006749c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1006749c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x100674af
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], esi
mov byte [ebp - 4], 3
call fcn.1005c5b0
push eax
lea ecx, [ebp - 0x184]
call fcn.100126f0
mov byte [ebp - 4], 5
test esi, esi
je 0x100674fa
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100674fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x100674fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x178]
mov esi, dword [edi]
cmp esi, edi
je 0x100676d7
mov ecx, dword [ebp - 0x180]
mov edx, dword [ebp - 0x184]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x128], edx
cmp edx, ecx
je 0x10067695
nop word [eax + eax]
mov ecx, dword [edx]
cmp eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x180]
je 0x1006754f
add edx, 8
mov dword [ebp - 0x128], edx
cmp edx, ecx
jne 0x10067530
jmp 0x10067695
cmp edx, ecx
je 0x10067695
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x144]
push edx
push eax
call fcn.100684e0
cmp dword [ebp - 0x144], 0
mov byte [ebp - 4], 6
je 0x1006765c
mov eax, dword [ebp - 0x128]
push str.MainOverlay
mov eax, dword [eax]
add eax, 0x3c
push eax
mov dword [ebp - 0x128], eax
call fcn.10010d00
add esp, 8
test al, al
je 0x100675ac
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx + 0xa8]
jmp 0x100675f4
push str.StatusBar
push dword [ebp - 0x128]
call fcn.10010d00
add esp, 8
test al, al
je 0x100675d1
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx + 0xb0]
jmp 0x100675f4
push str.OverlayTip
push dword [ebp - 0x128]
call fcn.10010d00
add esp, 8
test al, al
je 0x10067600
mov ecx, dword [ebp - 0x11c]
lea ecx, [ecx + 0xb8]
lea eax, [ebp - 0x144]
push eax
call fcn.10013ab0
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0xa0]
cmp dword [edx + 0xa4], eax
je 0x10067649
mov ecx, dword [ebp - 0x140]
mov dword [eax], 0
mov dword [eax + 4], 0
test ecx, ecx
je 0x1006762f
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x140]
mov dword [eax + 4], ecx
add dword [edx + 0xa0], 8
jmp 0x10067662
lea ecx, [ebp - 0x144]
push ecx
push eax
lea ecx, [edx + 0x9c]
call fcn.10066c20
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1006768f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1006768f
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 0x1006768f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x180]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100676bb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100676b7
cmp esi, dword [eax + 8]
jne 0x100676b7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100676a7
mov esi, eax
jmp 0x100676cf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100676cf
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100676c5
cmp esi, edi
jne 0x10067510
mov edi, dword [ebp - 0x158]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x148], edi
mov esi, dword [edi]
mov dword [ebp - 0x138], esi
cmp esi, edi
je 0x100679df
mov edx, dword [ebp - 0x11c]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0xa0]
mov edx, dword [edx + 0x9c]
mov dword [ebp - 0x134], edx
cmp edx, eax
je 0x10067996
mov edi, edx
nop
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x1006772d
add edi, 8
cmp edi, eax
jne 0x10067720
mov dword [ebp - 0x134], edi
mov edx, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
cmp edx, eax
je 0x10067996
mov edx, dword [edx]
add edx, 0x2c
mov byte [ebp - 4], 7
cmp dword [edx + 0x14], 0x10
jb 0x10067758
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 - 0x124], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10067775
sub ecx, dword [ebp - 0x124]
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 0x10068255
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 0x100682b7
push 0x1c
lea ecx, [ebp - 0x1dc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10068319
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x10067849
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006783f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006834a
push edx
push ecx
call fcn.1007836f
add esp, 8
push 0x24
call fcn.1007833f
mov edx, eax
add esp, 4
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x140], 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 - 0x128]
cmovae eax, dword [ebp - 0x2c]
or dword [ebp - 0x13c], 1
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x30], 0
mov edx, dword [eax]
lea eax, [ebp - 0x124]
add edx, 0x44
cmp edx, eax
je 0x100678ed
mov eax, dword [edx]
mov dword [ebp - 0x124], eax
mov dword [edx], ecx
test eax, eax
je 0x10067902
mov ecx, eax
call fcn.100139d0
push 0x24
push dword [ebp - 0x124]
jmp 0x100678fa
call fcn.100139d0
push 0x24
push dword [ebp - 0x128]
call fcn.1007836f
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x1006791b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10067935
cmp eax, 0xffffffff
je 0x10067935
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1006798f
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1006795f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006834f
push edx
push ecx
call fcn.1007836f
add esp, 8
jmp 0x1006798f
mov dword [ebp - 4], 5
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100679bf
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100679b8
cmp esi, dword [eax + 8]
jne 0x100679b8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100679a8
mov esi, eax
jmp 0x100676eb
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100676eb
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100679d0
jmp 0x100676eb
call fcn.10023ba0
mov esi, dword [eax + 0x70]
test esi, esi
je 0x100679f2
lock inc dword [esi + 4]
mov esi, dword [eax + 0x70]
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], esi
mov byte [ebp - 4], 0x15
call fcn.1005c490
test esi, esi
je 0x10067a30
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10067a30
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10067a30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0
call fcn.10015910
cmp dword [ebp - 0x164], 0
jbe 0x10067e38
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x134], edi
mov esi, dword [edi]
mov dword [ebp - 0x128], esi
cmp esi, edi
je 0x10067e38
nop dword [eax + eax]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0xa0]
mov edx, dword [edx + 0x9c]
mov dword [ebp - 0x138], edx
cmp edx, eax
je 0x10067ddf
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x10067aa2
add edi, 8
cmp edi, eax
jne 0x10067a95
mov dword [ebp - 0x138], edi
mov edx, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
cmp edx, eax
je 0x10067ddf
mov eax, dword [edx]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x148], edx
lea ecx, [eax + 4]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x13c], eax
cmp edx, 0x10
jb 0x10067ae0
mov ecx, dword [ecx]
cmp eax, 0xb
jne 0x10067b75
mov edx, str.MainOverlay
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067b02
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10067af1
mov al, byte [ecx]
mov dword [ebp - 0x130], edi
mov edi, dword [ebp - 0x134]
cmp al, byte [edx]
jne 0x10067b39
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067b39
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067b39
cmp dword [ebp - 0x130], 0xffffffff
je 0x10067b35
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10067b39
xor eax, eax
jmp 0x10067b3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10067b69
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0xa8], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0xac]
mov dword [eax + 0xac], 0
jmp 0x10067cb3
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add ecx, 4
cmp edx, 0x10
jb 0x10067b85
mov ecx, dword [ecx]
cmp eax, 9
jne 0x10067c1a
mov edx, str.StatusBar
lea edi, [eax - 4]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067ba7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10067b96
mov al, byte [ecx]
mov dword [ebp - 0x130], edi
mov edi, dword [ebp - 0x134]
cmp al, byte [edx]
jne 0x10067bde
cmp dword [ebp - 0x130], 0xfffffffd
je 0x10067bda
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067bde
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067bde
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10067bde
xor eax, eax
jmp 0x10067be3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10067c0e
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0xb4]
mov dword [eax + 0xb4], 0
jmp 0x10067cb3
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x124]
add ecx, 4
cmp edx, 0x10
jb 0x10067c2a
mov ecx, dword [ecx]
cmp eax, 0xa
jne 0x10067ce2
mov edx, str.OverlayTip
lea edi, [eax - 4]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10067c51
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10067c40
mov al, byte [ecx]
mov dword [ebp - 0x124], edi
mov edi, dword [ebp - 0x134]
cmp al, byte [edx]
jne 0x10067c88
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10067c88
cmp dword [ebp - 0x124], 0xfffffffe
je 0x10067c84
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10067c88
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10067c88
xor eax, eax
jmp 0x10067c8d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10067ce2
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0xb8], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0xbc]
mov dword [eax + 0xbc], 0
mov dword [ebp - 0x120], ecx
test ecx, ecx
je 0x10067ce2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10067ce2
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x120]
lock xadd dword [ecx + 8], eax
jne 0x10067ce2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x138]
add eax, 8
mov ecx, dword [ecx + 0xa0]
mov dword [ebp - 0x148], ecx
cmp eax, ecx
je 0x10067d94
mov edi, dword [ebp - 0x138]
lea esi, [eax + 4]
mov edx, edi
sub edx, eax
mov dword [ebp - 0x124], 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 - 0x124]
mov edx, dword [esi + edx]
mov dword [ebp - 0x120], edx
mov dword [esi + eax], ecx
test edx, edx
je 0x10067d71
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x10067d71
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x120]
lock xadd dword [ecx + 8], eax
jne 0x10067d71
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x124]
add esi, 8
add edi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x148]
jne 0x10067d20
mov esi, dword [ebp - 0x128]
mov edi, dword [ebp - 0x134]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0xa0]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x120], ecx
test ecx, ecx
je 0x10067dd2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10067dd2
mov eax, dword [ecx]
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x120]
lock xadd dword [ecx + 8], eax
jne 0x10067dd2
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x11c]
add dword [eax + 0xa0], 0xfffffff8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10067e0b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10067e01
cmp esi, dword [eax + 8]
jne 0x10067e01
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10067df1
mov esi, eax
mov dword [ebp - 0x128], esi
jmp 0x10067e30
mov esi, eax
mov dword [ebp - 0x128], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x10067e30
nop dword [eax + eax]
mov esi, eax
mov dword [ebp - 0x128], esi
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10067e20
cmp esi, edi
jne 0x10067a70
cmp dword [ebp - 0x15c], 0
jbe 0x1006808c
mov esi, dword [ebp - 0x160]
mov dword [ebp - 0x148], esi
mov edx, dword [esi]
mov dword [ebp - 0x130], edx
cmp edx, esi
je 0x1006808c
mov edi, dword [ebp - 0x11c]
nop word [eax + eax]
mov eax, dword [edi + 0xa0]
mov edi, dword [edi + 0x9c]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x128], edi
cmp edi, eax
je 0x1006806d
mov esi, edi
nop
mov edi, dword [esi]
cmp ecx, dword [edi]
je 0x10067e9d
add esi, 8
cmp esi, eax
jne 0x10067e90
mov dword [ebp - 0x128], esi
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x148]
cmp edi, eax
je 0x1006806d
mov eax, dword [edi]
movups xmm0, xmmword [edx + 0x14]
movups xmmword [eax + 0x1c], xmm0
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10067ee3
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push edx
push 0
push ecx
call dword [eax + 0x44]
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x58], edx
jne 0x10067efa
cmp ecx, dword [eax + 0x28]
je 0x1006806d
cmp dword [ebp - 0x58], edx
jb 0x10067f16
cmp ecx, dword [eax + 0x28]
jb 0x10067f16
push 1
push edi
mov edi, dword [ebp - 0x11c]
mov ecx, edi
call fcn.10068b60
jmp 0x10068073
push dword [eax + 0x28]
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x188]
push edx
push eax
call fcn.10068360
mov ecx, dword [edi]
mov dword [ebp - 0x124], ecx
mov ecx, dword [eax]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x120], ecx
test ecx, ecx
je 0x10067f4a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x10067f5d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x120]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x188]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x10067f8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x188], 0
mov eax, dword [edi]
mov byte [ebp - 4], 0
cmp dword [eax + 0x48], 0
jne 0x10067f01
mov eax, dword [ebp - 0x11c]
lea edx, [edi + 8]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x13c], ecx
cmp edx, ecx
je 0x1006802e
mov eax, edi
lea esi, [edx + 4]
sub eax, edx
mov dword [ebp - 0x120], 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 - 0x120]
mov edx, dword [esi + eax]
mov dword [ebp - 0x124], edx
mov dword [esi + eax], ecx
test edx, edx
je 0x10068011
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x10068011
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0x124]
lock xadd dword [ecx + 8], eax
jne 0x10068011
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
add edi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x13c]
jne 0x10067fc0
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0xa0]
mov edi, dword [eax - 4]
test edi, edi
je 0x1006805e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1006805e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [edi + 8], eax
jne 0x1006805e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x11c]
add dword [edi + 0xa0], 0xfffffff8
jmp 0x10068073
mov edi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x130]
call fcn.10013f70
mov edx, dword [ebp - 0x130]
cmp edx, esi
jne 0x10067e70
cmp dword [ebp - 0x16c], 0
jbe 0x10068144
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x120], edi
mov esi, dword [edi]
cmp esi, edi
je 0x10068144
nop
mov edx, dword [ebp - 0x11c]
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0xa0]
mov edx, dword [edx + 0x9c]
mov dword [ebp - 0x128], edx
cmp edx, eax
je 0x10068102
mov edi, edx
mov edx, dword [edi]
cmp ecx, dword [edx]
je 0x100680de
add edi, 8
cmp edi, eax
jne 0x100680d1
mov dword [ebp - 0x128], edi
mov edx, dword [ebp - 0x128]
mov edi, dword [ebp - 0x120]
cmp edx, eax
je 0x10068102
mov ecx, dword [ebp - 0x11c]
push 0
push edx
call fcn.10068b60
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x10068128
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x10068124
cmp esi, dword [eax + 8]
jne 0x10068124
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10068114
mov esi, eax
jmp 0x1006813c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x1006813c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x10068132
cmp esi, edi
jne 0x100680b0
cmp dword [ebp - 0x150], 0
je 0x10068221
mov edi, dword [ebp - 0x11c]
mov eax, dword [edi + 0xa0]
mov ecx, eax
mov edx, dword [edi + 0x9c]
sub ecx, edx
sar ecx, 3
lea esi, [ecx - 1]
mov dword [ebp - 0x120], esi
cmp ecx, esi
mov esi, dword [ebp - 0x150]
jbe 0x10068354
mov ecx, dword [ebp - 0x120]
mov ecx, dword [edx + ecx*8]
cmp dword [ecx], esi
je 0x10068221
cmp edx, eax
je 0x10068221
nop word [eax + eax]
mov ecx, dword [edx]
cmp dword [ecx], esi
je 0x100681ad
add edx, 8
cmp edx, eax
jne 0x100681a0
cmp edx, eax
je 0x10068221
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x100681bf
lock inc dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], ecx
push edx
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x9c]
call fcn.1004c150
lea eax, [ebp - 0x190]
push eax
lea ecx, [edi + 0x9c]
call fcn.1006a2d0
mov esi, dword [ebp - 0x18c]
test esi, esi
je 0x10068221
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10068221
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10068221
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x11c]
xor cl, cl
add eax, 0x6c
xchg byte [eax], cl
lea ecx, [ebp - 0x178]
call fcn.100670e0
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 - 0x88]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xc
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1a8]
push eax
call fcn.1007c332
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100195a0
add esp, 8
mov esi, eax
push str.system_error:
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.100126b0
push esi
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xe
push eax
call fcn.10010d90
add esp, 0xc
push eax
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0xf
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1b4]
push eax
call fcn.1007c332
push str.system_error:VirtualQuery
lea ecx, [ebp - 0x118]
call fcn.100126b0
push eax
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x10
call fcn.10012e10
push 0x100db4fc
lea eax, [ebp - 0x1c0]
push eax
call fcn.1007c332
call fcn.10086061
call fcn.10086061
call fcn.10047ab0
int3