Function at 0x40e7e8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff1cc
mov eax, 0x69d2ab
xor edx, edx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x494], 0x6b0c84
mov dword [ebp - 0x490], esp
mov dword [ebp - 0x498], eax
mov word [ebp - 0x48c], 0
mov dword [ebp - 0x480], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x49c], ecx
lea eax, [ebp - 0x49c]
mov dword fs:[0], eax
mov word [ebp - 0x48c], 8
mov edx, dword [ebp + 8]
add edx, 0x88
push edx
call fcn.0040309c
pop ecx
add dword [ebp - 0x480], 2
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 8]
push esi
add ecx, 0x74
mov edi, eax
xor eax, eax
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 8]
pop esi
mov edx, dword [ebp + 0x28]
mov dword [eax + 0x70], edx
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
push 0
call fcn.006a99d0
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x64]
dec eax
jg 0x40e8cf
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0x12cf9510
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00410490
add esp, 8
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x57]
cmp al, 3
je 0x40e929
cmp al, 4
je 0x40e929
mov edx, dword [ebp + 8]
mov cl, byte [edx + 0x55]
test cl, cl
je 0x40e929
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x40e929
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
test eax, eax
jne 0x40e929
mov edx, dword [ebp + 8]
mov cl, byte [edx + 0x54]
test cl, cl
jne 0x40e929
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x40e929
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x40e935
mov edx, dword [ebp + 8]
mov dword [edx + 0x6c], 1
jmp 0x40e93d
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp + 8]
mov ecx, 0x64
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
shl edx, 3
lea edx, [edx + edx*8]
push edx
call fcn.0067ac46
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041095c
pop ecx
xor edi, edi
mov word [ebp - 0x48c], 0x14
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
push edx
mov cl, byte [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x458]
mov eax, dword [ebp + 8]
add eax, 0x74
push eax
mov edx, dword [ebp + 0x1c]
push edx
push esi
push ecx
call fcn.0040b030
add dword [ebp - 0x480], 3
mov word [ebp - 0x48c], 0x20
mov word [ebp - 0x48c], 0x2c
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov dword [ebp - 0x4a0], eax
xor eax, eax
mov dword [ebp - 0x470], eax
mov edx, dword [ebp - 0x4a0]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x40ea47
mov edx, dword [ebp - 0x4a0]
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x478]
mov dword [ebp - 0x4a4], ecx
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x4a8], edx
mov ecx, dword [ebp - 0x4a8]
mov eax, dword [ecx + 8]
mov ecx, 0x6ff36c
mov dword [ebp - 0x56c], eax
mov edx, dword [ebp - 0x470]
add edx, 0xfffffff4
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp - 0x4ac]
cmp ecx, eax
je 0x40eaf6
mov edx, dword [ebp - 0x4ac]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x40eaf6
mov ecx, dword [ebp - 0x4a0]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x4b0], edx
mov ecx, dword [ebp - 0x4b0]
push ecx
mov eax, dword [ebp - 0x4b0]
push eax
lea edx, [ebp - 0x478]
push edx
call fcn.0069a874
mov dword [ebp - 0x4b8], eax
add esp, 0xc
mov ecx, dword [ebp - 0x4b8]
lea edx, [ebp - 0x478]
add ecx, 0xc
mov dword [ebp - 0x4b4], ecx
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x4bc], edx
mov ecx, dword [ebp - 0x4bc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x57c], eax
mov edx, dword [ebp - 0x4b0]
mov dword [ebp - 0x4c0], edx
mov ecx, dword [ebp - 0x4a0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x4c4], eax
mov edx, dword [ebp - 0x470]
mov dword [ebp - 0x4c8], edx
mov ecx, dword [ebp - 0x4c0]
push ecx
mov eax, dword [ebp - 0x4c4]
push eax
mov edx, dword [ebp - 0x4c8]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x480]
xor eax, eax
mov ecx, dword [ebp - 0x4a0]
add ecx, 0x10
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x4cc]
mov ecx, dword [edx + 8]
mov eax, dword [ecx - 0xc]
inc eax
test eax, eax
jle 0x40eb8d
mov edx, dword [ebp - 0x4cc]
mov ecx, dword [edx + 8]
lea edx, [ebp - 0x468]
mov dword [ebp - 0x4d0], ecx
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x4d4], edx
mov ecx, dword [ebp - 0x4d4]
mov eax, dword [ecx + 8]
mov ecx, 0x6ff36c
mov dword [ebp - 0x58c], eax
mov edx, dword [ebp - 0x460]
add edx, 0xfffffff4
mov dword [ebp - 0x4d8], edx
mov eax, dword [ebp - 0x4d8]
cmp ecx, eax
je 0x40ec3c
mov edx, dword [ebp - 0x4d8]
push edx
call sub.KERNEL32.DLL_InterlockedIncrement
jmp 0x40ec3c
mov ecx, dword [ebp - 0x4cc]
mov eax, dword [ecx + 8]
mov edx, dword [eax - 4]
mov dword [ebp - 0x4dc], edx
mov ecx, dword [ebp - 0x4dc]
push ecx
mov eax, dword [ebp - 0x4dc]
push eax
lea edx, [ebp - 0x468]
push edx
call fcn.0069a874
mov dword [ebp - 0x4e4], eax
add esp, 0xc
mov ecx, dword [ebp - 0x4e4]
lea edx, [ebp - 0x468]
add ecx, 0xc
mov dword [ebp - 0x4e0], ecx
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x4e8], edx
mov ecx, dword [ebp - 0x4e8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x59c], eax
mov edx, dword [ebp - 0x4dc]
mov dword [ebp - 0x4ec], edx
mov ecx, dword [ebp - 0x4cc]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x4f0], eax
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x4f4], edx
mov ecx, dword [ebp - 0x4ec]
push ecx
mov eax, dword [ebp - 0x4f0]
push eax
mov edx, dword [ebp - 0x4f4]
push edx
call fcn.0069cc60
add esp, 0xc
inc dword [ebp - 0x480]
inc dword [ebp - 0x480]
mov word [ebp - 0x48c], 0x20
test ebx, ebx
je 0x40ec5b
mov cl, byte [ebx]
test cl, cl
jne 0x40ec74
push 0x6b0b1c
lea eax, [ebp - 0x478]
push eax
call fcn.0044207c
add esp, 8
jmp 0x40ed07
push ebx
lea edx, [ebp - 0x478]
push edx
call fcn.0044207c
add esp, 8
mov eax, ebx
mov edx, 0x6b0b20
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x40ece4
test cl, cl
je 0x40eca7
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x40ece4
add eax, 2
add edx, 2
test cl, cl
jne 0x40ec8b
jne 0x40ece4
mov eax, dword [ebp - 0x470]
mov edx, dword [eax - 4]
mov dword [ebp - 0x4f8], edx
push 0x6b0b22
call fcn.0069ce0c
pop ecx
push eax
push 0
push eax
push 0x6b0b22
push 0
mov ecx, dword [ebp - 0x4f8]
push ecx
lea eax, [ebp - 0x478]
push eax
call fcn.0069ad68
add esp, 0x1c
push 0x2a
push ebx
call fcn.0069cf14
add esp, 8
test eax, eax
jne 0x40ed07
push 0x3f
push ebx
call fcn.0069cf14
add esp, 8
test eax, eax
jne 0x40ed07
mov edi, 1
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x40ed15
mov eax, 0x6b0b25
jmp 0x40ed18
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp - 0x470]
push edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x70]
mov edx, dword [eax + 0x44]
push edx
push esi
mov ecx, dword [ebp + 8]
add ecx, 0x88
push ecx
call fcn.00404ac4
add esp, 0x14
test al, al
je 0x40efd5
dec dword [ebp - 0x480]
dec dword [ebp - 0x480]
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x40ee1b
mov edx, dword [ebp - 0x460]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x40edc1
mov eax, dword [ebp - 0x460]
add eax, 0xfffffff4
mov dword [ebp - 0x4fc], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x4fc]
cmp edx, ecx
je 0x40edb8
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x4fc]
cmp eax, edx
je 0x40edb1
mov ecx, dword [ebp - 0x4fc]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x4fc]
mov edx, dword [eax]
inc edx
jmp 0x40edbd
mov edx, 1
jmp 0x40edbd
mov edx, 1
test edx, edx
jne 0x40ee1b
mov eax, dword [ebp - 0x460]
add eax, 0xfffffff4
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff4
mov dword [ebp - 0x504], ecx
mov eax, dword [ebp - 0x504]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x508], edx
lea eax, [ebp - 0x468]
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x50c], eax
mov edx, dword [ebp - 0x50c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5ac], ecx
dec dword [ebp - 0x480]
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x40eeeb
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x40ee91
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff4
mov dword [ebp - 0x510], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x510]
cmp edx, ecx
je 0x40ee88
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x510]
cmp eax, edx
je 0x40ee81
mov ecx, dword [ebp - 0x510]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x510]
mov edx, dword [eax]
inc edx
jmp 0x40ee8d
mov edx, 1
jmp 0x40ee8d
mov edx, 1
test edx, edx
jne 0x40eeeb
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff4
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff4
mov dword [ebp - 0x518], ecx
mov eax, dword [ebp - 0x518]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x51c], edx
lea eax, [ebp - 0x478]
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x520], eax
mov edx, dword [ebp - 0x520]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5bc], ecx
dec dword [ebp - 0x480]
dec dword [ebp - 0x480]
mov eax, dword [ebp - 8]
test eax, eax
je 0x40efac
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x40ef5e
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [ebp - 0x524], eax
mov edx, 0x6ff36c
mov ecx, dword [ebp - 0x524]
cmp edx, ecx
je 0x40ef55
mov eax, 0x6ff36c
mov edx, dword [ebp - 0x524]
cmp eax, edx
je 0x40ef4e
mov ecx, dword [ebp - 0x524]
push ecx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebp - 0x524]
mov edx, dword [eax]
inc edx
jmp 0x40ef5a
mov edx, 1
jmp 0x40ef5a
mov edx, 1
test edx, edx
jne 0x40efac
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [ebp - 0x528], eax
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x52c], ecx
mov eax, dword [ebp - 0x52c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x530], edx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x530]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x534], eax
mov edx, dword [ebp - 0x534]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x5cc], ecx
dec dword [ebp - 0x480]
push 0
lea eax, [ebp - 0x458]
push eax
call fcn.00402a08
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword fs:[0], edx
jmp 0x40f38c
lea ecx, [ebp - 0x478]
push ecx
lea eax, [ebp - 0x458]
push eax
call fcn.0040b178
add esp, 8
jmp 0x40f036
test edi, edi
lea ecx, [ebp - 0x604]
setne dl
and edx, 1
lea eax, [ebp - 0xe04]
push edx
push ecx
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00412b80
add esp, 0x10
test eax, eax
je 0x40f036
lea ecx, [ebp - 0x604]
lea edx, [ebp - 0xe04]
push ecx
mov eax, dword [ebp - 0x460]
push eax
push edi
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004109ac
add esp, 0x14
lea eax, [ebp - 0x604]
lea edx, [ebp - 0xe04]
push eax
push 0x800
push edx
lea ecx, [ebp - 0x458]
push ecx
call fcn.0040b1c4
add esp, 0x10
test al, al
jne 0x40efed
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x40f09d
mov ecx, dword [ebp + 8]
push ecx
call fcn.004116bc
pop ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x40f07e
test edi, edi
jne 0x40f088
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x40f09d
push 1
mov edx, dword [ebp - 0x460]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411790
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x40f0d8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004119c4
pop ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x40f142
push 0x6b0b26
mov ecx, dword [ebp + 8]
add ecx, 0x88
push ecx
call fcn.00405824
add esp, 8
jmp 0x40f142
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40f142
mov edx, dword [eax + 8]
test edx, edx
jne 0x40f142
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x5c], eax
jmp 0x40f142
mov edx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [eax + 8]
mov dword [edx + 0xc], eax
mov cl, byte [ebp + 0x20]
push ecx
mov eax, dword [ebp + 0x1c]
push eax
push esi
mov edx, dword [ebx + 4]
push edx
mov ecx, dword [ebx]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00412694
add esp, 0x18
mov edx, dword [ebx]
push edx
call fcn.0067ac5a
pop ecx
mov eax, dword [ebx + 4]
test eax, eax
je 0x40f131
push eax
call fcn.0067ac5a
pop ecx
push ebx
call fcn.0067ac7c
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], 1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x40f0f3
mov edx, dword [ebp + 8]
add edx, 0x88
push edx
call fcn.00406f40
pop ecx
dec dword [ebp - 0x480]
dec dword [ebp - 0x480]
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x40f212
mov eax, dword [ebp - 0x460]
mov edx, dword [eax - 0xc]
inc edx
test edx, edx
je 0x40f1b8
mov ebx, dword [ebp - 0x460]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x40f1af
cmp ebx, 0x6ff36c
je 0x40f1a8
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x40f1b4
mov eax, 1
jmp 0x40f1b4
mov eax, 1
test eax, eax
jne 0x40f212
mov edx, dword [ebp - 0x460]
add edx, 0xfffffff4
mov dword [ebp - 0x538], edx
mov ecx, dword [ebp - 0x460]
add ecx, 0xfffffff4
mov dword [ebp - 0x53c], ecx
mov eax, dword [ebp - 0x53c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x540], edx
lea eax, [ebp - 0x468]
mov ecx, dword [ebp - 0x540]
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x544]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xe0c], ecx
mov word [ebp - 0x48c], 0x20
dec dword [ebp - 0x480]
mov eax, dword [ebp - 0x470]
test eax, eax
je 0x40f2cb
mov edx, dword [ebp - 0x470]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x40f271
mov ebx, dword [ebp - 0x470]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x40f268
cmp ebx, 0x6ff36c
je 0x40f261
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x40f26d
mov eax, 1
jmp 0x40f26d
mov eax, 1
test eax, eax
jne 0x40f2cb
mov edx, dword [ebp - 0x470]
add edx, 0xfffffff4
mov dword [ebp - 0x548], edx
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff4
mov dword [ebp - 0x54c], ecx
mov eax, dword [ebp - 0x54c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x550], edx
lea eax, [ebp - 0x478]
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x554], eax
mov edx, dword [ebp - 0x554]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xe1c], ecx
dec dword [ebp - 0x480]
dec dword [ebp - 0x480]
mov eax, dword [ebp - 8]
test eax, eax
je 0x40f36c
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 0xc]
inc ecx
test ecx, ecx
je 0x40f31e
mov ebx, dword [ebp - 8]
add ebx, 0xfffffff4
cmp ebx, 0x6ff36c
je 0x40f315
cmp ebx, 0x6ff36c
je 0x40f30e
push ebx
call sub.KERNEL32.DLL_InterlockedDecrement
mov eax, dword [ebx]
inc eax
jmp 0x40f31a
mov eax, 1
jmp 0x40f31a
mov eax, 1
test eax, eax
jne 0x40f36c
mov edx, dword [ebp - 8]
add edx, 0xfffffff4
mov dword [ebp - 0x558], edx
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff4
mov dword [ebp - 0x55c], ecx
mov eax, dword [ebp - 0x55c]
push eax
call fcn.0067ac7c
pop ecx
xor edx, edx
mov dword [ebp - 0x560], edx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x560]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x564], eax
mov edx, dword [ebp - 0x564]
mov ecx, dword [edx + 8]
mov dword [ebp - 0xe2c], ecx
dec dword [ebp - 0x480]
push 0
lea eax, [ebp - 0x458]
push eax
call fcn.00402a08
mov word [ebp - 0x48c], 8
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret