Function at 0x45a300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ba255
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x76a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x270], ebx
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45ae9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 0
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45aea6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 1
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45aeb0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x278], edi
mov byte [ebp - 4], 2
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45aeba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 3
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45aec4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 4
xor ecx, ecx
mov eax, dword [ebx]
mov dword [ebp - 0x294], ecx
cmp dword [eax - 0xc], ecx
jle 0x45a410
push 0x2a
push eax
call fcn.0053018b
mov ecx, eax
add esp, 8
mov eax, dword [ebx]
test ecx, ecx
je 0x45a410
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
jne 0x45a41e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
jmp 0x45ac67
xor esi, esi
test ecx, ecx
cmovns esi, ecx
cmp esi, dword [eax - 0xc]
jl 0x45a441
add eax, 0xfffffff0
push eax
call fcn.00428ba0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
jmp 0x45a472
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x45a451
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x45a45d
call fcn.004224e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push dword [ebx]
lea ecx, [ebp - 0x264]
call fcn.00434cc0
mov esi, dword [ebp - 0x264]
push 0x5c
push esi
mov byte [ebp - 4], 5
call fcn.0052fcca
add esp, 8
test eax, eax
jne 0x45a48a
or eax, 0xffffffff
jmp 0x45a48e
sub eax, esi
sar eax, 1
mov ecx, dword [ebp - 0x270]
xor ebx, ebx
add eax, 1
cmovns ebx, eax
mov ecx, dword [ecx]
cmp ebx, dword [ecx - 0xc]
jl 0x45a4ba
lea eax, [ecx - 0x10]
push eax
call fcn.00428ba0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x274], eax
jmp 0x45a4f1
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x45a4ca
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x45a4d6
call fcn.004224e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x274]
push ebx
push dword [eax]
call fcn.00434cc0
mov eax, dword [ebp - 0x274]
mov byte [ebp - 4], 6
lea ebx, [eax - 0x10]
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
mov dword [ebp - 0x280], edx
cmp ebx, edx
je 0x45a56f
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x28c], ecx
jl 0x45a560
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x45a560
push ebx
call fcn.00428ba0
mov edx, dword [ebp - 0x28c]
add esp, 4
mov dword [ebp - 0x26c], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a555
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ebp - 0x27c], eax
jmp 0x45a56f
push dword [eax - 0xc]
lea ecx, [ebp - 0x27c]
push eax
call fcn.00429270
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45a588
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45a5a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x27c]
mov edx, dword [ebp - 0x270]
mov ecx, dword [eax - 0xc]
mov eax, dword [edx]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x26c]
mov ecx, edx
push eax
call fcn.00452850
mov byte [ebp - 4], 7
lea ebx, [edi - 0x10]
mov eax, dword [ebp - 0x26c]
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x45a636
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x45a621
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x45a621
push esi
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x280], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45a616
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x280]
lea edi, [eax + 0x10]
mov dword [ebp - 0x278], edi
jmp 0x45a636
push dword [eax - 0xc]
lea ecx, [ebp - 0x278]
push eax
call fcn.00429270
mov edi, dword [ebp - 0x278]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45a64f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
jle 0x45a72a
push 0x5c
push edi
call fcn.0053018b
add esp, 8
test eax, eax
je 0x45a724
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x45a724
push 0x5c
push edi
call fcn.0052fcca
add esp, 8
test eax, eax
jne 0x45a68d
or eax, 0xffffffff
jmp 0x45a691
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x278]
call fcn.00434c20
mov byte [ebp - 4], 8
lea esi, [edi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x45a702
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x45a6ed
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x45a6ed
push edx
call fcn.00428ba0
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x45a6e2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x278], edi
jmp 0x45a702
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00429270
mov edi, dword [ebp - 0x278]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a724
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
jg 0x45a72f
or eax, 0xffffffff
jmp 0x45a747
push 0x2a
push edi
call fcn.0053018b
add esp, 8
test eax, eax
jne 0x45a743
or eax, 0xffffffff
jmp 0x45a747
sub eax, edi
sar eax, 1
xor esi, esi
test eax, eax
cmovns esi, eax
cmp esi, dword [edi - 0xc]
jl 0x45a76a
lea eax, [edi - 0x10]
push eax
call fcn.00428ba0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x264], eax
jmp 0x45a79a
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x45a77a
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x45a786
call fcn.004224e0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push edi
lea ecx, [ebp - 0x264]
call fcn.00434cc0
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 9
lea ebx, [eax - 0x10]
mov esi, dword [ebp - 0x268]
lea edx, [esi - 0x10]
mov dword [ebp - 0x26c], edx
cmp ebx, edx
je 0x45a812
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x45a7fd
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x45a7fd
push ebx
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x280], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x45a7f2
mov esi, dword [ebp - 0x26c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x280]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
jmp 0x45a812
push dword [eax - 0xc]
lea ecx, [ebp - 0x268]
push eax
call fcn.00429270
mov esi, dword [ebp - 0x268]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45a82b
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
mov ecx, dword [edi - 0xc]
inc eax
cmp ecx, eax
je 0x45a914
test ecx, ecx
jg 0x45a843
or eax, 0xffffffff
jmp 0x45a85b
push 0x2a
push edi
call fcn.0053018b
add esp, 8
test eax, eax
jne 0x45a857
or eax, 0xffffffff
jmp 0x45a85b
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [edi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x278]
call fcn.00452850
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x26c]
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
mov dword [ebp - 0x28c], edx
lea ebx, [eax - 0x10]
cmp ebx, edx
je 0x45a8fb
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x280], ecx
jl 0x45a8ec
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x45a8ec
push ebx
call fcn.00428ba0
mov edx, dword [ebp - 0x280]
add esp, 4
mov dword [ebp - 0x264], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a8e1
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x264]
add eax, 0x10
mov dword [ebp - 0x284], eax
jmp 0x45a8fb
push dword [eax - 0xc]
lea ecx, [ebp - 0x284]
push eax
call fcn.00429270
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45a914
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x27c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45a92b
xor esi, esi
jmp 0x45ac67
mov eax, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x288]
add ebx, 0xfffffff0
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x45a993
cmp dword [ebx + 0xc], 0
jl 0x45a984
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x45a984
push edx
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x26c], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a979
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ebp - 0x288], eax
jmp 0x45a993
push dword [eax - 0xc]
lea ecx, [ebp - 0x288]
push eax
call fcn.00429270
push 1
push 0x74a268
lea ecx, [ebp - 0x288]
call fcn.00433150
mov ecx, dword [ebp - 0x288]
lea edx, [ebp - 0x260]
call fcn.00456a40
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
jne 0x45a9d0
xor esi, esi
jmp 0x45ac67
mov ecx, 0x741a44
lea eax, [ebp - 0x234]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45aa06
test dx, dx
je 0x45aa02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45aa06
add eax, 4
add ecx, 4
test dx, dx
jne 0x45a9e0
xor eax, eax
jmp 0x45aa0b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ac3c
mov ecx, 0x744964
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45aa46
test dx, dx
je 0x45aa42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45aa46
add eax, 4
add ecx, 4
test dx, dx
jne 0x45aa20
xor eax, eax
jmp 0x45aa4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ac3c
call fcn.004224e0
mov ecx, eax
test ecx, ecx
je 0x45ae9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x45aa92
movzx eax, ax
lea ecx, [ebp - 0x264]
push eax
call fcn.00429150
jmp 0x45aac2
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aaa0
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00429270
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0xc
call fcn.00432460
test byte [ebp - 0x260], 0x10
je 0x45abbb
cmp dword [esi - 0xc], 0
mov esi, dword [ebp - 0x264]
je 0x45ab0c
cmp dword [esi - 0xc], 0
jl 0x45ab35
push dword [ebp - 0x268]
push esi
call fcn.0052fa1d
add esp, 8
test eax, eax
je 0x45ab35
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45ab35
mov eax, dword [ebp - 0x284]
cmp dword [eax - 0xc], 0
je 0x45ab42
cmp dword [esi - 0xc], 0
jl 0x45ab35
push eax
push esi
call fcn.0052fa1d
add esp, 8
test eax, eax
je 0x45ab35
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x45ab42
add esi, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
jmp 0x45ac20
mov ebx, dword [ebp - 0x270]
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00428ba0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xd
push eax
push edi
lea ecx, [ebp - 0x274]
call fcn.0045b100
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x274]
push eax
call fcn.0045a300
test eax, eax
jne 0x45ad2a
mov byte [ebp - 4], 0xc
or ebx, 0xffffffff
mov edx, dword [ebp - 0x274]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
jmp 0x45ac20
cmp dword [esi - 0xc], 0
mov esi, dword [ebp - 0x264]
je 0x45abe9
cmp dword [esi - 0xc], 0
jl 0x45ac1a
push dword [ebp - 0x268]
push esi
call fcn.0052fa1d
add esp, 8
test eax, eax
je 0x45ac1a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x45ac1a
mov eax, dword [ebp - 0x284]
cmp dword [eax - 0xc], 0
je 0x45ade2
cmp dword [esi - 0xc], 0
jl 0x45ac1a
push eax
push esi
call fcn.0052fa1d
add esp, 8
test eax, eax
je 0x45ac1a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x45ade2
add esi, 0xfffffff0
or eax, 0xffffffff
mov byte [ebp - 4], 4
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ac36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x28c]
lea edx, [ebp - 0x260]
call fcn.00456b10
test eax, eax
jne 0x45a9d0
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x294]
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x284]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ac8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45acac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45acc7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ace8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45ad0a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x274]
mov ebx, dword [ebx]
sub ebx, 0x10
lea edx, [eax - 0x10]
cmp edx, ebx
je 0x45ad96
cmp dword [ebx + 0xc], 0
jl 0x45ad81
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x45ad81
push edx
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x290], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ad74
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x270]
add eax, 0x10
mov dword [ecx], eax
jmp 0x45ad90
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x270]
push eax
call fcn.00429270
mov eax, dword [ebp - 0x274]
or ebx, 0xffffffff
mov dword [ebp - 0x294], 1
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xc
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45adbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ac55
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ac55
lea eax, [ebp - 0x264]
push eax
lea edx, [ebp - 0x27c]
lea ecx, [ebp - 0x26c]
call fcn.0045af50
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
mov eax, dword [ebp - 0x270]
lea edx, [ecx - 0x10]
mov ebx, dword [eax]
sub ebx, 0x10
cmp edx, ebx
je 0x45ae69
cmp dword [ebx + 0xc], 0
jl 0x45ae5a
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x45ae5a
push edx
call fcn.00428ba0
add esp, 4
mov dword [ebp - 0x290], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ae4d
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x270]
add eax, 0x10
mov dword [ecx], eax
jmp 0x45ae69
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x270]
call fcn.00429270
mov byte [ebp - 4], 0xc
or ebx, 0xffffffff
mov edx, dword [ebp - 0x26c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ae8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x294], 1
jmp 0x45adbe
push 0x80004005
call fcn.004222a0
push 0x80004005
call fcn.004222a0
push 0x80004005
call fcn.004222a0
push 0x80004005
call fcn.004222a0
push 0x80004005
call fcn.004222a0
int3