Function at 0x570d00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff848
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], 0x6d7b40
mov dword [ebp - 0x230], esp
mov dword [ebp - 0x238], eax
mov word [ebp - 0x22c], 0
mov dword [ebp - 0x220], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x23c]
mov dword fs:[0], eax
mov word [ebp - 0x22c], 8
xor edx, edx
mov dword [ebp - 0x240], edx
lea edx, [ebp - 0x70]
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x244], 0x6ff378
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x248], edx
mov ecx, dword [ebp - 0x248]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x540], eax
je 0x570db3
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - 0x24c], ecx
lea ecx, [ebp - 0x60]
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x250], 0x6ff378
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x254], ecx
mov eax, dword [ebp - 0x254]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x550], edx
je 0x570e0c
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x25c], 0x6ff378
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x560], ecx
je 0x570e64
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor edx, edx
mov dword [ebp - 0x264], edx
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x268], 0x6ff378
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x26c], edx
mov ecx, dword [ebp - 0x26c]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x570], eax
je 0x570ebd
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - 0x270], ecx
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x274], 0x6ff378
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x278], ecx
mov eax, dword [ebp - 0x278]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x580], edx
je 0x570f16
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
inc dword [ebp - 0x220]
xor eax, eax
mov word [ebp - 0x22c], 0x50
mov word [ebp - 0x22c], 0x5c
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0x280], 0x6ff378
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x590], ecx
je 0x570f8f
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor edx, edx
mov dword [ebp - 0x288], edx
lea edx, [ebp - 0xd8]
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x28c], 0x6ff378
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x290], edx
mov ecx, dword [ebp - 0x290]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x5a0], eax
je 0x570ff1
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor ecx, ecx
mov dword [ebp - 0x294], ecx
lea ecx, [ebp - 0xc8]
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x298], 0x6ff378
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x29c], ecx
mov eax, dword [ebp - 0x29c]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x5b0], edx
je 0x571053
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor eax, eax
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0xb8]
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x2a4], 0x6ff378
mov ecx, dword [ebp - 0x2a4]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5c0], ecx
je 0x5710b4
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor edx, edx
mov dword [ebp - 0x2ac], edx
lea edx, [ebp - 0xa8]
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x2b0], 0x6ff378
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x2b4], edx
mov ecx, dword [ebp - 0x2b4]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x5d0], eax
je 0x571116
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
inc dword [ebp - 0x220]
mov word [ebp - 0x22c], 0x50
mov dword [ebp - 0x2bc], 0x32
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jne 0x571146
mov dword [ebp - 0x2bc], 0x100
mov word [ebp - 0x22c], 0xa4
xor eax, eax
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x100]
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x2c4], 0x6ff378
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5e0], ecx
je 0x5711aa
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor edx, edx
mov word [ebp - 0x22c], 0x50
mov word [ebp - 0x22c], 0xbc
mov dword [ebp - 0x2cc], edx
lea edx, [ebp - 0x110]
mov ecx, dword [ebp - 0x2cc]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x2d0], 0x6ff378
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x2d4], edx
mov ecx, dword [ebp - 0x2d4]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x5f0], eax
je 0x57121e
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor ecx, ecx
mov word [ebp - 0x22c], 0x50
mov word [ebp - 0x22c], 0xd4
mov dword [ebp - 0x2d8], ecx
lea ecx, [ebp - 0x120]
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x2dc], 0x6ff378
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x2e0], ecx
mov eax, dword [ebp - 0x2e0]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x600], edx
je 0x571292
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor eax, eax
mov word [ebp - 0x22c], 0x50
mov word [ebp - 0x22c], 0xec
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x2e8], 0x6ff378
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x610], ecx
je 0x571305
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor edx, edx
mov word [ebp - 0x22c], 0x50
mov word [ebp - 0x22c], 0x104
mov dword [ebp - 0x2f0], edx
lea edx, [ebp - 0x140]
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x2f4], 0x6ff378
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x2f8], edx
mov ecx, dword [ebp - 0x2f8]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x620], eax
je 0x571379
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
xor ecx, ecx
mov word [ebp - 0x22c], 0x50
mov dword [ebp - 0x2fc], ecx
xor eax, eax
mov dword [ebp - 0x300], eax
mov byte [ebp - 0x301], 0
mov byte [ebp - 0x302], 0
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
sub edx, ecx
test edx, edx
jns 0x5713b5
add edx, 0xf
sar edx, 4
cmp edx, 1
jae 0x571466
lea eax, [ebp - 0x23c]
xor edx, edx
push eax
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x11c
mov dword [ebp - 0x308], edx
lea edx, [ebp - 0x150]
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x30c], 0x6ff378
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x310], edx
mov ecx, dword [ebp - 0x310]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x630], eax
je 0x57143c
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x158], 1
inc dword [ebp - 0x220]
push ecx
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov word [ebp - 0x22c], 0x50
mov edi, 1
jmp 0x571847
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x110]
push ecx
mov eax, edi
shl eax, 4
mov edx, dword [ebx + 4]
add eax, edx
push eax
call fcn.004464a4
add esp, 0xc
push 0x6c1e99
mov eax, dword [ebp - 0x108]
push eax
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x5714cd
lea ecx, [ebp - 0x120]
push ecx
lea eax, [ebp - 0x130]
push eax
call fcn.0069a2e0
add esp, 8
jmp 0x571846
push str.PortNo
mov edx, dword [ebp - 0x108]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x571509
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x314], ecx
mov eax, dword [ebp - 0x314]
push eax
call fcn.006a51a0
pop ecx
mov dword [ebp - 0x2fc], eax
jmp 0x571846
push str.BlockSize
mov edx, dword [ebp - 0x108]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x571545
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x318], ecx
mov eax, dword [ebp - 0x318]
push eax
call fcn.006a51a0
pop ecx
mov dword [ebp - 0x2bc], eax
jmp 0x571846
push str.Reset
mov edx, dword [ebp - 0x108]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x5716aa
mov word [ebp - 0x22c], 0x134
lea ecx, [ebp - 0x324]
lea eax, [ebp - 0x168]
push ecx
push 0x6c1eb3
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0x220]
mov dword [ebp - 0x31c], eax
mov edx, dword [ebp - 0x31c]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 4]
push eax
mov edx, dword [ebp - 0x31c]
mov ecx, dword [edx + 8]
push ecx
lea ecx, [ebp - 0x120]
mov eax, dword [ebp - 0x118]
mov edx, dword [eax - 4]
push edx
push 0
push ecx
call fcn.0069b5b8
add esp, 0x14
test eax, eax
jne 0x5715cb
mov al, 1
jmp 0x5715cd
xor eax, eax
push eax
dec dword [ebp - 0x220]
mov edx, dword [ebp - 0x160]
test edx, edx
je 0x57169e
mov ecx, dword [ebp - 0x160]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x571644
mov edx, dword [ebp - 0x160]
add edx, 0xfffffff4
mov dword [ebp - 0x328], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x328]
cmp ecx, eax
je 0x57163b
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x328]
cmp edx, ecx
je 0x571634
mov eax, dword [ebp - 0x328]
push eax
call sub.KERNEL32.DLL_InterlockedDecrement
mov edx, dword [ebp - 0x328]
mov ecx, dword [edx]
inc ecx
jmp 0x571640
mov ecx, 1
jmp 0x571640
mov ecx, 1
test ecx, ecx
jne 0x57169e
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff4
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x160]
add edx, 0xfffffff4
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x330]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x334], edx
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x338], eax
mov edx, dword [ebp - 0x338]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x640], ecx
pop eax
mov byte [ebp - 0x301], al
jmp 0x571846
push 0x6c1eb5
mov edx, dword [ebp - 0x108]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x5716e6
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x33c], ecx
mov eax, dword [ebp - 0x33c]
push eax
call fcn.006a51a0
pop ecx
mov dword [ebp - 0x300], eax
jmp 0x571846
push str.Restart
mov edx, dword [ebp - 0x108]
push edx
call fcn.0069cfd8
add esp, 8
test eax, eax
jne 0x571846
mov word [ebp - 0x22c], 0x14c
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x178]
push ecx
push 0x6c1ec0
push eax
call fcn.0069a6ec
add esp, 0xc
inc dword [ebp - 0x220]
mov dword [ebp - 0x340], eax
mov edx, dword [ebp - 0x340]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 4]
push eax
mov edx, dword [ebp - 0x340]
mov ecx, dword [edx + 8]
push ecx
lea ecx, [ebp - 0x120]
mov eax, dword [ebp - 0x118]
mov edx, dword [eax - 4]
push edx
push 0
push ecx
call fcn.0069b5b8
add esp, 0x14
test eax, eax
jne 0x57176c
mov al, 1
jmp 0x57176e
xor eax, eax
push eax
dec dword [ebp - 0x220]
mov edx, dword [ebp - 0x170]
test edx, edx
je 0x57183f
mov ecx, dword [ebp - 0x170]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x5717e5
mov edx, dword [ebp - 0x170]
add edx, 0xfffffff4
mov dword [ebp - 0x34c], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x34c]
cmp ecx, eax
je 0x5717dc
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x34c]
cmp edx, ecx
je 0x5717d5
mov eax, dword [ebp - 0x34c]
push eax
call sub.KERNEL32.DLL_InterlockedDecrement
mov edx, dword [ebp - 0x34c]
mov ecx, dword [edx]
inc ecx
jmp 0x5717e1
mov ecx, 1
jmp 0x5717e1
mov ecx, 1
test ecx, ecx
jne 0x57183f
mov eax, dword [ebp - 0x170]
add eax, 0xfffffff4
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x170]
add edx, 0xfffffff4
mov dword [ebp - 0x354], edx
mov eax, dword [ebp - 0x354]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x358], edx
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x358]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp - 0x35c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x650], ecx
pop eax
mov byte [ebp - 0x302], al
inc edi
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
sub edx, ecx
test edx, edx
jns 0x571856
add edx, 0xf
sar edx, 4
cmp edi, edx
jb 0x571479
mov eax, dword [ebp - 0x128]
mov edx, dword [eax - 4]
test edx, edx
je 0x57187c
mov ecx, dword [ebp - 0x2fc]
test ecx, ecx
jne 0x571921
lea eax, [ebp - 0x23c]
xor edx, edx
push eax
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x164
mov dword [ebp - 0x360], edx
lea edx, [ebp - 0x188]
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x364], 0x6ff378
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x368], edx
mov ecx, dword [ebp - 0x368]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x660], eax
je 0x5718f7
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x190], 1
inc dword [ebp - 0x220]
push ecx
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x1f4
jg 0x571938
mov edx, dword [ebp - 0x2bc]
test edx, edx
jg 0x571942
mov dword [ebp - 0x2bc], 0x32
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x36c], ecx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x370], eax
mov edx, dword [ebp - 0x370]
push edx
mov ecx, dword [ebx + 8]
push ecx
mov eax, dword [ebp - 0x36c]
push eax
call fcn.004057f0
add esp, 0xc
mov dword [ebp - 0x374], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x378], edx
mov ecx, dword [ebp - 0x36c]
mov eax, dword [ebp - 0x370]
sub ecx, eax
test ecx, ecx
jns 0x571992
add ecx, 0xf
sar ecx, 4
shl ecx, 4
sub dword [ebx + 8], ecx
mov edx, dword [ebp - 0x378]
push edx
mov ecx, dword [ebp - 0x374]
push ecx
push ebx
call fcn.0040445c
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x70]
push edx
call fcn.0069a2e0
mov ecx, dword [ebp - 0x2fc]
add esp, 8
mov dword [ebp - 0xc], ecx
add esp, 0xfffffff8
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x40]
mov dword [ebp - 0x37c], edx
lea edx, [ebp - 0x78]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x380], eax
push 0
push edx
mov ecx, dword [ebp - 0x37c]
push ecx
mov eax, dword [ebp - 0x380]
push eax
call fcn.004e12a8
add esp, 0x18
mov dword [ebp - 0x2b8], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [edx + 0x40]
mov eax, dword [ebp - 0x2b8]
cmp ecx, eax
je 0x571a8d
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x384], edx
mov ecx, dword [ebp - 0x384]
add ecx, 8
mov dword [ebp - 0x388], ecx
mov eax, dword [ebp - 0x68]
mov edx, dword [eax - 4]
push edx
mov ecx, dword [ebp - 0x68]
push ecx
mov eax, dword [ebp - 0x388]
mov edx, dword [eax + 8]
mov ecx, dword [edx - 4]
push ecx
push 0
mov eax, dword [ebp - 0x388]
push eax
call fcn.0069b5b8
add esp, 0x14
test eax, eax
je 0x571a67
mov dl, 1
jmp 0x571a69
xor edx, edx
test dl, dl
je 0x571a71
mov al, 1
jmp 0x571a85
mov ecx, dword [ebp - 0x384]
mov eax, dword [ecx + 0x6c]
mov edx, dword [ebp - 0xc]
cmp eax, edx
setne al
and eax, 1
test al, al
je 0x571b32
lea edx, [ebp - 0x23c]
xor ecx, ecx
push edx
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x17c
mov dword [ebp - 0x38c], ecx
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x390], 0x6ff378
mov edx, dword [ebp - 0x390]
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x394], ecx
mov eax, dword [ebp - 0x394]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x670], edx
je 0x571b08
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 2
inc dword [ebp - 0x220]
push eax
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov edx, dword [ebp - 0x2b8]
mov ecx, dword [edx + 0x5c]
test ecx, ecx
jne 0x571be8
lea eax, [ebp - 0x23c]
xor edx, edx
push eax
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x194
mov dword [ebp - 0x398], edx
lea edx, [ebp - 0x1b8]
mov ecx, dword [ebp - 0x398]
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 0x39c], 0x6ff378
mov eax, dword [ebp - 0x39c]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x3a0], edx
mov ecx, dword [ebp - 0x3a0]
mov edx, 0x6ff36c
cmp edx, 0x6ff36c
mov eax, dword [ecx + 8]
mov dword [ebp - 0x680], eax
je 0x571bbe
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1c0], 8
inc dword [ebp - 0x220]
push ecx
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov al, byte [ebp + 0x10]
cmp al, 3
jne 0x571cac
mov edx, dword [ebp - 0x2b8]
mov ecx, dword [edx + 0x5c]
mov eax, dword [ebp + 0x14]
cmp ecx, eax
je 0x571cac
lea edx, [ebp - 0x23c]
xor ecx, ecx
push edx
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x1ac
mov dword [ebp - 0x3a4], ecx
lea ecx, [ebp - 0x1d0]
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x3a8], 0x6ff378
mov edx, dword [ebp - 0x3a8]
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x3ac], ecx
mov eax, dword [ebp - 0x3ac]
mov ecx, 0x6ff36c
cmp ecx, 0x6ff36c
mov edx, dword [eax + 8]
mov dword [ebp - 0x690], edx
je 0x571c82
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 3
inc dword [ebp - 0x220]
push eax
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov dl, byte [ebp + 0x10]
cmp dl, 2
jne 0x571d5c
lea ecx, [ebp - 0x23c]
xor eax, eax
push ecx
push 0
push 0
push 0
push 1
push 0x4cec4c
push 0
mov word [ebp - 0x22c], 0x1c4
mov dword [ebp - 0x3b0], eax
lea eax, [ebp - 0x1e8]
mov edx, dword [ebp - 0x3b0]
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x3b4], 0x6ff378
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x3b8], eax
mov edx, dword [ebp - 0x3b8]
mov eax, 0x6ff36c
cmp eax, 0x6ff36c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6a0], ecx
je 0x571d32
push 0x6ff36c
call sub.KERNEL32.DLL_InterlockedIncrement
inc dword [ebp - 0x220]
lea edx, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], 3
inc dword [ebp - 0x220]
push edx
push 0x4cebf8
call fcn.006aa5c5
add esp, 0x24
mov byte [ebp - 0x3b9], 0
mov word [ebp - 0x22c], 0x50
xor eax, eax
xor edx, edx
mov dword [ebp - 0x3c0], edx
jmp 0x571dbd
mov edx, eax
mov ecx, dword [esi + 0x14]
shl edx, 2
add ecx, edx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x200c]
mov edx, dword [ebp - 0x2b8]
mov edx, dword [edx + 0x5c]
cmp ecx, edx
jne 0x571dbc
mov byte [ebp - 0x3b9], 1
mov dword [ebp - 0x3c4], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x3c4]
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x3c0], eax
jmp 0x571dd6
inc eax
lea edx, [esi + 0x10]
mov ecx, dword [edx + 8]
mov edx, dword [edx + 4]
sub ecx, edx
test ecx, ecx
jns 0x571dcf
add ecx, 3
sar ecx, 2
cmp eax, ecx
jb 0x571d78
mov al, byte [ebp - 0x3b9]
test al, al
jne 0x571f5f
push 0x2020
call fcn.0067ac68
pop ecx
mov dword [ebp - 0x1f4], eax
test eax, eax
je 0x571e4b
mov word [ebp - 0x22c], 0x1e8
push fcn.0040ae68
push 1
push 0x4b629c
push 1
push pe_nt_image_headers32
push 0x10
mov edx, dword [ebp - 0x1f4]
push edx
call fcn.006998b4
add esp, 0x1c
add dword [ebp - 0x220], 0x200
add dword [ebp - 0x220], 0xfffffe00
mov word [ebp - 0x22c], 0x1dc
mov ecx, dword [ebp - 0x1f4]
jmp 0x571e51
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x3c0], ecx
push 0
call fcn.006a99d0
mov edx, dword [ebp - 0x3c0]
pop ecx
add eax, 0x258
xor ecx, ecx
mov dword [edx + 0x2000], eax
xor edx, edx
mov eax, dword [ebp - 0x3c0]
mov dword [eax + 0x2008], edx
mov eax, dword [ebp - 0x3c0]
mov byte [eax + 0x2005], cl
mov eax, dword [ebp - 0x3c0]
mov byte [eax + 0x2004], cl
mov edx, dword [ebp - 0x2b8]
mov eax, dword [edx + 0x5c]
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x200c], eax
mov ecx, dword [ebp - 0x3c0]
mov eax, dword [ebp - 0x300]
mov dword [ecx + 0x2010], eax
xor ecx, ecx
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x2018], ecx
mov eax, dword [ebp - 0x3c0]
mov dword [eax + 0x2014], ecx
mov edx, dword [ebp - 0x3c0]
mov eax, dword [ebp - 0x2bc]
mov dword [edx + 0x201c], eax
lea edx, [esi + 0x10]
mov dword [ebp - 0x3c8], edx
mov ecx, dword [ebp - 0x3c8]
mov edx, dword [ebp - 0x3c8]
mov eax, dword [ecx + 8]
mov ecx, dword [edx + 0x18]
cmp eax, ecx
je 0x571f3f
mov eax, dword [ebp - 0x3c8]
mov edx, dword [eax + 8]
mov dword [ebp - 0x3cc], edx
mov ecx, dword [ebp - 0x3cc]
mov dword [ebp - 0x3d0], ecx
mov eax, dword [ebp - 0x3d0]
mov edx, dword [ebp - 0x3c0]
mov dword [eax], edx
mov ecx, dword [ebp - 0x3c8]
add dword [ecx + 8], 4
jmp 0x571f5f
lea eax, [ebp - 0x3c0]
push eax
mov edx, dword [ebp - 0x3c8]
mov ecx, dword [edx + 8]
push ecx
mov eax, dword [ebp - 0x3c8]
push eax
call fcn.00572f24
add esp, 0xc
mov dl, byte [ebp - 0x3b9]
test dl, dl
je 0x571f77
mov cl, byte [ebp - 0x302]
test cl, cl
je 0x572142
mov word [ebp - 0x22c], 0x1f4
xor eax, eax
mov dword [ebp - 0x210], eax
xor edx, edx
mov dword [ebp - 0x20c], edx
xor ecx, ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x3d4], 0x40
mov dword [ebp - 0x3d8], 1
mov eax, dword [ebp - 0x3d8]
mov edx, dword [ebp - 0x3d4]
cmp eax, edx
jbe 0x571fc4
lea ecx, [ebp - 0x3d8]
jmp 0x571fca
lea ecx, [ebp - 0x3d4]
mov eax, dword [ecx]
mov dword [ebp - 0x214], eax
xor eax, eax
inc dword [ebp - 0x220]
mov word [ebp - 0x22c], 0x20c
mov edx, dword [ebp - 0x3c0]
mov byte [edx + 0x2005], al
mov edx, dword [ebp - 0x3c0]
mov byte [edx + 0x2004], al
xor eax, eax
mov ecx, dword [ebp - 0x3c0]
mov dword [ecx + 0x2018], eax
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x2014], eax
lea edx, [ebp - 0x214]
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ecx + 0x5c]
push eax
push edx
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00599d70
add esp, 0xc
xor esi, esi
jmp 0x5720d4
mov eax, esi
shl eax, 4
mov edx, dword [ebp - 0x210]
add eax, edx
push eax
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [eax + 0x2014]
shl ecx, 4
mov eax, dword [ebp - 0x3c0]
add ecx, eax
push ecx
call fcn.0069a2e0
add esp, 8
mov edx, dword [ebp - 0x3c0]
mov ecx, dword [edx + 0x2014]
inc ecx
and ecx, 0x800001ff
jns 0x572084
dec ecx
or ecx, 0xfffffe00
inc ecx
mov eax, dword [ebp - 0x3c0]
mov dword [eax + 0x2014], ecx
mov edx, dword [ebp - 0x3c0]
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [edx + 0x2014]
mov edx, dword [eax + 0x2018]
cmp ecx, edx
jne 0x5720d3
mov ecx, dword [ebp - 0x3c0]
mov eax, dword [ecx + 0x2018]
inc eax
and eax, 0x800001ff
jns 0x5720c7
dec eax
or eax, 0xfffffe00
inc eax
mov edx, dword [ebp - 0x3c0]
mov dword [edx + 0x2018], eax
inc esi
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x210]
sub ecx, eax
test ecx, ecx
jns 0x5720e9
add ecx, 0xf
sar ecx, 4
cmp esi, ecx
jb 0x572039
dec dword [ebp - 0x220]
mov edx, dword [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x210]
push ecx
lea eax, [ebp - 0x214]
push eax
call fcn.0040445c
add esp, 0xc
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x3dc], edx
mov ecx, dword [ebp - 0x3dc]
push ecx
call fcn.0067ac7c
pop ecx
mov word [ebp - 0x22c], 0x20c
mov word [ebp - 0x22c], 0x50
mov eax, dword [ebp - 0x3c0]
xor edx, edx
mov dword [eax + 0x2008], edx
mov cl, byte [ebp - 0x301]
test cl, cl
jne 0x572164
mov al, byte [ebp - 0x302]
test al, al
je 0x57218a
push 0
call fcn.006a99d0
mov edx, dword [ebp - 0x3c0]
pop ecx
add eax, 0x258
mov dword [edx + 0x2000], eax
mov ecx, dword [ebp - 0x3c0]
mov byte [ecx + 0x2004], 0
push str.200_Virtual_log_screen_OK
lea eax, [ebp - 0x100]
push eax
call fcn.0069a464
add esp, 8
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
cmp edx, ecx
je 0x572321
mov eax, dword [ebx + 8]
mov dword [ebp - 0x3e0], eax
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x218], edx
test edx, edx
je 0x57231b
mov word [ebp - 0x22c], 0x230
xor eax, eax
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x3e4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xf8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
jle 0x572263
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x3e8]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x3ec], eax
mov edx, dword [ebp - 0x3ec]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6b0], ecx
mov eax, dword [ebp - 0x218]
mov edx, dword [eax + 8]
add edx, 0xfffffff4
mov dword [ebp - 0x3f0], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x3f0]
cmp ecx, eax
je 0x572312
mov edx, dword [ebp - 0x3f0]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x572312
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx - 4]
mov dword [ebp - 0x3f4], eax
mov edx, dword [ebp - 0x3f4]
push edx
mov ecx, dword [ebp - 0x3f4]
push ecx
mov eax, dword [ebp - 0x218]
push eax
call fcn.0069a874
add esp, 0xc
mov dword [ebp - 0x3fc], eax
mov edx, dword [ebp - 0x3fc]
add edx, 0xc
mov dword [ebp - 0x3f8], edx
mov ecx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x3f8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x400], edx
mov ecx, dword [ebp - 0x400]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6c0], eax
mov edx, dword [ebp - 0x3f4]
mov dword [ebp - 0x404], edx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x408], ecx
mov eax, dword [ebp - 0x218]
mov edx, dword [eax + 8]
mov dword [ebp - 0x40c], edx
mov ecx, dword [ebp - 0x404]
push ecx
mov eax, dword [ebp - 0x408]
push eax
mov edx, dword [ebp - 0x40c]
push edx
call fcn.0069cc60
add esp, 0xc
mov word [ebp - 0x22c], 0x224
add dword [ebx + 8], 0x10
jmp 0x572335
lea ecx, [ebp - 0x100]
push ecx
mov eax, dword [ebx + 8]
push eax
push ebx
call fcn.004069b4
add esp, 0xc
dec dword [ebp - 0x220]
mov edx, dword [ebp - 0x138]
test edx, edx
je 0x572405
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
je 0x5723ab
mov edx, dword [ebp - 0x138]
add edx, 0xfffffff4
mov dword [ebp - 0x410], edx
mov ecx, 0x6ff36c
mov eax, dword [ebp - 0x410]
cmp ecx, eax
je 0x5723a2
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x410]
cmp edx, ecx
je 0x57239b
mov eax, dword [ebp - 0x410]
push eax
call sub.KERNEL32.DLL_InterlockedDecrement
mov edx, dword [ebp - 0x410]
mov ecx, dword [edx]
inc ecx
jmp 0x5723a7
mov ecx, 1
jmp 0x5723a7
mov ecx, 1
test ecx, ecx
jne 0x572405
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff4
mov dword [ebp - 0x414], eax
mov edx, dword [ebp - 0x138]
add edx, 0xfffffff4
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x41c], edx
lea eax, [ebp - 0x140]
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x420], eax
mov edx, dword [ebp - 0x420]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6d0], ecx
mov word [ebp - 0x22c], 0x50
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x5724de
mov edx, dword [ebp - 0x128]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572484
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff4
mov dword [ebp - 0x424], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x424]
cmp edx, ecx
je 0x57247b
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x424]
cmp eax, edx
je 0x572474
mov ecx, dword [ebp - 0x424]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x424]
mov edx, dword [eax]
inc edx
jmp 0x572480
mov edx, 1
jmp 0x572480
mov edx, 1
test edx, edx
jne 0x5724de
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff4
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0x128]
add ecx, 0xfffffff4
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x430], edx
lea eax, [ebp - 0x130]
mov ecx, dword [ebp - 0x430]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x434], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6e0], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x5725ae
mov edx, dword [ebp - 0x118]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572554
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff4
mov dword [ebp - 0x438], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x438]
cmp edx, ecx
je 0x57254b
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x438]
cmp eax, edx
je 0x572544
mov ecx, dword [ebp - 0x438]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x438]
mov edx, dword [eax]
inc edx
jmp 0x572550
mov edx, 1
jmp 0x572550
mov edx, 1
test edx, edx
jne 0x5725ae
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff4
mov dword [ebp - 0x43c], eax
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff4
mov dword [ebp - 0x440], ecx
mov eax, dword [ebp - 0x440]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x444], edx
lea eax, [ebp - 0x120]
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x6f0], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x57267e
mov edx, dword [ebp - 0x108]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572624
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff4
mov dword [ebp - 0x44c], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x44c]
cmp edx, ecx
je 0x57261b
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x44c]
cmp eax, edx
je 0x572614
mov ecx, dword [ebp - 0x44c]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x44c]
mov edx, dword [eax]
inc edx
jmp 0x572620
mov edx, 1
jmp 0x572620
mov edx, 1
test edx, edx
jne 0x57267e
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff4
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x108]
add ecx, 0xfffffff4
mov dword [ebp - 0x454], ecx
mov eax, dword [ebp - 0x454]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x458], edx
lea eax, [ebp - 0x110]
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x45c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x700], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x57274e
mov edx, dword [ebp - 0xf8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5726f4
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffff4
mov dword [ebp - 0x460], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x460]
cmp edx, ecx
je 0x5726eb
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x460]
cmp eax, edx
je 0x5726e4
mov ecx, dword [ebp - 0x460]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x460]
mov edx, dword [eax]
inc edx
jmp 0x5726f0
mov edx, 1
jmp 0x5726f0
mov edx, 1
test edx, edx
jne 0x57274e
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffff4
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0xf8]
add ecx, 0xfffffff4
mov dword [ebp - 0x468], ecx
mov eax, dword [ebp - 0x468]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x46c], edx
lea eax, [ebp - 0x100]
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x470], eax
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x710], ecx
dec dword [ebp - 0x220]
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x572824
mov edx, dword [ebp - 0xa0]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x5727ca
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff4
mov dword [ebp - 0x474], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x474]
cmp edx, ecx
je 0x5727c1
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x474]
cmp eax, edx
je 0x5727ba
mov ecx, dword [ebp - 0x474]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x474]
mov edx, dword [eax]
inc edx
jmp 0x5727c6
mov edx, 1
jmp 0x5727c6
mov edx, 1
test edx, edx
jne 0x572824
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff4
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff4
mov dword [ebp - 0x47c], ecx
mov eax, dword [ebp - 0x47c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x480], edx
lea eax, [ebp - 0xa8]
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x484], eax
mov edx, dword [ebp - 0x484]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x720], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x5728f4
mov edx, dword [ebp - 0xb0]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x57289a
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff4
mov dword [ebp - 0x488], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x488]
cmp edx, ecx
je 0x572891
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x488]
cmp eax, edx
je 0x57288a
mov ecx, dword [ebp - 0x488]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x488]
mov edx, dword [eax]
inc edx
jmp 0x572896
mov edx, 1
jmp 0x572896
mov edx, 1
test edx, edx
jne 0x5728f4
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff4
mov dword [ebp - 0x48c], eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0xfffffff4
mov dword [ebp - 0x490], ecx
mov eax, dword [ebp - 0x490]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x494], edx
lea eax, [ebp - 0xb8]
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x730], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x5729c4
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x57296a
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff4
mov dword [ebp - 0x49c], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x49c]
cmp edx, ecx
je 0x572961
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x49c]
cmp eax, edx
je 0x57295a
mov ecx, dword [ebp - 0x49c]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x49c]
mov edx, dword [eax]
inc edx
jmp 0x572966
mov edx, 1
jmp 0x572966
mov edx, 1
test edx, edx
jne 0x5729c4
mov eax, dword [ebp - 0xc0]
add eax, 0xfffffff4
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0xc0]
add ecx, 0xfffffff4
mov dword [ebp - 0x4a4], ecx
mov eax, dword [ebp - 0x4a4]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x4a8], edx
lea eax, [ebp - 0xc8]
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x4ac], eax
mov edx, dword [ebp - 0x4ac]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x740], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x572a94
mov edx, dword [ebp - 0xd0]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572a3a
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff4
mov dword [ebp - 0x4b0], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x4b0]
cmp edx, ecx
je 0x572a31
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x4b0]
cmp eax, edx
je 0x572a2a
mov ecx, dword [ebp - 0x4b0]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x4b0]
mov edx, dword [eax]
inc edx
jmp 0x572a36
mov edx, 1
jmp 0x572a36
mov edx, 1
test edx, edx
jne 0x572a94
mov eax, dword [ebp - 0xd0]
add eax, 0xfffffff4
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0xd0]
add ecx, 0xfffffff4
mov dword [ebp - 0x4b8], ecx
mov eax, dword [ebp - 0x4b8]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x4bc], edx
lea eax, [ebp - 0xd8]
mov ecx, dword [ebp - 0x4bc]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x4c0], eax
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x750], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x572b64
mov edx, dword [ebp - 0xe0]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572b0a
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff4
mov dword [ebp - 0x4c4], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x4c4]
cmp edx, ecx
je 0x572b01
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x4c4]
cmp eax, edx
je 0x572afa
mov ecx, dword [ebp - 0x4c4]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x4c4]
mov edx, dword [eax]
inc edx
jmp 0x572b06
mov edx, 1
jmp 0x572b06
mov edx, 1
test edx, edx
jne 0x572b64
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff4
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0xe0]
add ecx, 0xfffffff4
mov dword [ebp - 0x4cc], ecx
mov eax, dword [ebp - 0x4cc]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x4d0], edx
lea eax, [ebp - 0xe8]
mov ecx, dword [ebp - 0x4d0]
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0x4d4], eax
mov edx, dword [ebp - 0x4d4]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x760], ecx
dec dword [ebp - 0x220]
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x572c25
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572bd7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
mov dword [ebp - 0x4d8], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x4d8]
cmp edx, ecx
je 0x572bce
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x4d8]
cmp eax, edx
je 0x572bc7
mov ecx, dword [ebp - 0x4d8]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x4d8]
mov edx, dword [eax]
inc edx
jmp 0x572bd3
mov edx, 1
jmp 0x572bd3
mov edx, 1
test edx, edx
jne 0x572c25
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff4
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff4
mov dword [ebp - 0x4e0], ecx
mov eax, dword [ebp - 0x4e0]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x4e4], edx
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4e8], eax
mov edx, dword [ebp - 0x4e8]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x770], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x572ce0
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572c92
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff4
mov dword [ebp - 0x4ec], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x4ec]
cmp edx, ecx
je 0x572c89
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x4ec]
cmp eax, edx
je 0x572c82
mov ecx, dword [ebp - 0x4ec]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x4ec]
mov edx, dword [eax]
inc edx
jmp 0x572c8e
mov edx, 1
jmp 0x572c8e
mov edx, 1
test edx, edx
jne 0x572ce0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff4
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov dword [ebp - 0x4f4], ecx
mov eax, dword [ebp - 0x4f4]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x4f8], edx
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4fc], eax
mov edx, dword [ebp - 0x4fc]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x780], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x572d9b
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572d4d
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff4
mov dword [ebp - 0x500], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x500]
cmp edx, ecx
je 0x572d44
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x500]
cmp eax, edx
je 0x572d3d
mov ecx, dword [ebp - 0x500]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x500]
mov edx, dword [eax]
inc edx
jmp 0x572d49
mov edx, 1
jmp 0x572d49
mov edx, 1
test edx, edx
jne 0x572d9b
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff4
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff4
mov dword [ebp - 0x508], ecx
mov eax, dword [ebp - 0x508]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x50c], edx
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x510], eax
mov edx, dword [ebp - 0x510]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x790], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x572e56
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572e08
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
mov dword [ebp - 0x514], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x514]
cmp edx, ecx
je 0x572dff
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x514]
cmp eax, edx
je 0x572df8
mov ecx, dword [ebp - 0x514]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x514]
mov edx, dword [eax]
inc edx
jmp 0x572e04
mov edx, 1
jmp 0x572e04
mov edx, 1
test edx, edx
jne 0x572e56
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff4
mov dword [ebp - 0x518], eax
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff4
mov dword [ebp - 0x51c], ecx
mov eax, dword [ebp - 0x51c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x520], edx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x524], eax
mov edx, dword [ebp - 0x524]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x7a0], ecx
dec dword [ebp - 0x220]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x572f11
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x572ec3
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff4
mov dword [ebp - 0x528], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x528]
cmp edx, ecx
je 0x572eba
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x528]
cmp eax, edx
je 0x572eb3
mov ecx, dword [ebp - 0x528]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x528]
mov edx, dword [eax]
inc edx
jmp 0x572ebf
mov edx, 1
jmp 0x572ebf
mov edx, 1
test edx, edx
jne 0x572f11
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff4
mov dword [ebp - 0x52c], eax
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff4
mov dword [ebp - 0x530], ecx
mov eax, dword [ebp - 0x530]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x534], edx
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x534]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x538], eax
mov edx, dword [ebp - 0x538]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x7b0], ecx
mov eax, dword [ebp - 0x23c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret