Function at 0x453a40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x644
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x18], 0
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push esi
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x34], 0
jne 0x453a9c
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.0049f730
add esp, 4
test eax, eax
je 0x453acf
push 0xff
call fcn.0043a320
add esp, 4
test al, al
jne 0x453acf
call fcn.004555a0
test al, al
jne 0x453acf
mov dword [edi + 0x6e4], 1
jmp 0x453ad9
mov dword [edi + 0x6e4], 0
call fcn.00402fa0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x453af5
push 0x80004005
call fcn.00402d70
mov eax, dword [edx]
mov ecx, edx
push ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
cmp dword [edi + 0x6e4], 0
mov dword [ebp - 4], 0
je 0x453b4d
push dword [ebp - 0x34]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x453b4d
push ebx
push dword [ebp - 0x34]
mov ecx, edi
call fcn.004538b0
lea ecx, [edi + 0x6f0]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004070e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24]
push 0x104
lea eax, [ebp - 0x240]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, 0x4e1d30
lea eax, [ebp - 0x240]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453b96
test dx, dx
je 0x453b92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453b96
add eax, 4
add ecx, 4
test dx, dx
jne 0x453b70
xor eax, eax
jmp 0x453b9b
sbb eax, eax
or eax, 1
or ebx, 0xffffffff
test eax, eax
je 0x45462c
mov ecx, str.SynTrackCursorWindowClass
lea eax, [ebp - 0x240]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453bd7
test dx, dx
je 0x453bd3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453bd7
add eax, 4
add ecx, 4
test dx, dx
jne 0x453bb1
xor eax, eax
jmp 0x453bdc
sbb eax, eax
or eax, 1
test eax, eax
je 0x45462c
call fcn.00402fa0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x453c00
push 0x80004005
call fcn.00402d70
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
push 0x104
lea eax, [ebp - 0x650]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x34]
call fcn.0049e130
add esp, 0xc
test eax, eax
je 0x453c3e
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x30]
call fcn.004070e0
mov ebx, dword [ebp - 0x30]
call fcn.00402fa0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x453c5a
push 0x80004005
call fcn.00402d70
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x448]
push 0x104
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
call esi
test eax, eax
lea eax, [ebp - 0x448]
jne 0x453ca5
push 0x104
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call esi
test eax, eax
je 0x453cae
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x38]
call fcn.004070e0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x453ded
mov ecx, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
cmp edi, dword [ecx + 0x48]
je 0x453deb
lea ebx, [ebx]
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x453ddc
mov esi, dword [ecx + 0x28]
cmp esi, dword [ecx + 0x2c]
je 0x453ddc
push eax
push dword [esi]
call fcn.004a8ccd
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
jne 0x453d58
mov ecx, dword [eax + 0x58]
test cl, 0x20
je 0x453d58
test cl, 2
je 0x453d34
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x453d31
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
jne 0x453d66
add esi, 4
cmp esi, dword [eax + 0x2c]
mov eax, dword [ebp - 0x24]
jmp 0x453ce3
mov eax, dword [ebp + 8]
test byte [eax + 0x58], 4
je 0x453d66
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x453d63
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
je 0x453d66
add esi, 4
cmp esi, dword [eax + 0x2c]
mov eax, dword [ebp - 0x24]
jmp 0x453ce3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 0x34]
push esi
call fcn.00406fe0
cmp dword [ebx - 0xc], 0
mov eax, 0x4db8b8
mov esi, dword [ebp + 8]
cmovne eax, ebx
push eax
lea ecx, [esi + 0x4c]
call fcn.004070e0
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406c50
mov eax, dword [ebp - 0x14]
mov ecx, 0x4db8b8
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
lea ecx, [esi + 0x14]
call fcn.004070e0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x453dd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
add edi, 4
cmp edi, dword [ecx + 0x48]
jne 0x453cd0
mov edi, ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax - 0xc], 0
je 0x453f7c
mov eax, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
cmp edi, dword [eax + 0x48]
je 0x453f7c
lea esp, [esp]
mov eax, dword [edi]
mov dword [ebp + 8], eax
test eax, eax
je 0x453f6d
mov esi, dword [eax + 0x18]
cmp esi, dword [eax + 0x1c]
je 0x453f6d
lea esp, [esp]
lea eax, [ebp - 0x448]
push eax
push dword [esi]
call fcn.004a8ccd
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
jne 0x453e9c
mov ecx, dword [eax + 0x58]
test cl, 0x10
je 0x453e9c
test cl, 2
je 0x453e78
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x453e75
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
jne 0x453eac
jmp 0x453e9c
mov eax, dword [ebp + 8]
test byte [eax + 0x58], 4
je 0x453eac
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x453ea9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
je 0x453eac
add esi, 4
cmp esi, dword [eax + 0x1c]
jne 0x453e30
jmp 0x453f6d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 0x24]
push esi
call fcn.00406fe0
cmp dword [ebx - 0xc], 0
mov edx, 0x4db8b8
mov esi, dword [ebp + 8]
cmovne edx, ebx
lea eax, [esi + 0x4c]
test edx, edx
jne 0x453ed5
xor ecx, ecx
jmp 0x453ef3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453ee0
sub ecx, dword [ebp + 8]
lea eax, [esi + 0x4c]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00408980
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406c50
mov eax, dword [ebp - 0x14]
mov edx, 0x4db8b8
mov byte [ebp - 4], 4
cmp dword [eax - 0xc], 0
cmovne edx, eax
lea eax, [esi + 0x14]
mov dword [ebp + 8], eax
test edx, edx
jne 0x453f2c
xor ecx, ecx
jmp 0x453f43
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453f31
mov eax, dword [ebp + 8]
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00408980
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x453f6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add edi, 4
cmp edi, dword [eax + 0x48]
jne 0x453e10
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x4545b3
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov ebx, dword [ebx + 0x44]
cmp ebx, dword [edi + 0x48]
je 0x454261
mov edi, edi
test eax, eax
jne 0x454256
mov esi, dword [ebx]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x45424a
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0xc]
je 0x454247
mov ecx, dword [edi]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x453ff6
test dx, dx
je 0x453ff2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x453ff6
add ecx, 4
add eax, 4
test dx, dx
jne 0x453fd0
xor eax, eax
jmp 0x453ffb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x45410f
test byte [esi + 0x58], 2
je 0x4540e2
push eax
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x4540e2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
je 0x45410f
test byte [esi + 0x58], 1
je 0x454077
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
je 0x454077
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 0x40]
cmp esi, dword [eax + 0x44]
je 0x454074
lea esp, [esp]
lea eax, [ebp - 0x650]
push eax
push dword [esi]
call fcn.004a8ccd
add esp, 8
test eax, eax
je 0x454120
mov eax, dword [ebp - 0x14]
add esi, 4
cmp esi, dword [eax + 0x44]
jne 0x454050
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
test byte [esi + 0x58], 1
je 0x454088
test eax, eax
je 0x454247
mov eax, dword [esi + 4]
mov ecx, dword [edi]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
sub edi, 0x10
lea eax, [esi + 0x14]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x45413e
cmp dword [edi + 0xc], 0
jl 0x454133
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x454130
push edx
call fcn.00407430
mov dword [ebp - 0x2c], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4540d7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [esi + 0x14], eax
jmp 0x45413e
test byte [esi + 0x58], 4
je 0x45402f
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x45402f
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
je 0x45402f
add edi, 4
cmp edi, dword [esi + 0xc]
jne 0x453fc1
jmp 0x454244
mov esi, dword [ebp - 0x14]
mov eax, 1
mov dword [ebp + 8], eax
jmp 0x45407a
lea eax, [esi + 0x14]
push dword [ecx - 0xc]
push ecx
mov ecx, eax
call fcn.00408980
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x44]
je 0x454167
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407430
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
or dword [ebp - 0x18], 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
jmp 0x454184
push 0x4db8b8
lea ecx, [ebp - 0x20]
call fcn.00406c50
mov ecx, eax
or dword [ebp - 0x18], 2
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx]
add eax, 0x4c
mov dword [ebp - 0x14], eax
mov edi, dword [eax]
lea edx, [ecx - 0x10]
sub edi, 0x10
cmp edx, edi
je 0x4541e5
cmp dword [edi + 0xc], 0
jl 0x4541da
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4541d7
push edx
call fcn.00407430
mov dword [ebp - 0x2c], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4541ca
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4541e5
mov eax, dword [ebp - 0x14]
push dword [ecx - 0xc]
push ecx
mov ecx, eax
call fcn.00408980
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test al, 2
je 0x454219
mov edx, dword [ebp - 0x20]
and eax, 0xfffffffd
add edx, 0xfffffff0
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 2
test al, 1
je 0x454244
add esi, 0xfffffff0
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454244
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [edi + 0x48]
jne 0x453fa0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4545b0
mov ebx, dword [ebp - 0x30]
cmp dword [ebx - 0xc], 0
je 0x4544a2
mov eax, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
cmp edi, dword [eax + 0x48]
je 0x4544a0
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi]
mov dword [ebp + 8], eax
test eax, eax
je 0x454483
mov esi, dword [eax + 0x40]
cmp esi, dword [eax + 0x44]
je 0x454483
lea esp, [esp]
lea eax, [ebp - 0x650]
push eax
push dword [esi]
call fcn.004a8ccd
add esp, 8
test eax, eax
mov eax, dword [ebp + 8]
jne 0x45430c
mov ecx, dword [eax + 0x58]
test cl, 1
jne 0x45430c
test cl, 2
je 0x4542e8
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x4542e5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
jne 0x45431c
jmp 0x45430c
mov eax, dword [ebp + 8]
test byte [eax + 0x58], 4
je 0x45431c
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x454319
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6e4], 0
mov eax, dword [ebp + 8]
je 0x45431c
add esi, 4
cmp esi, dword [eax + 0x44]
jne 0x4542a0
jmp 0x454483
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add eax, 0x4c
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x28], eax
mov esi, dword [eax]
sub esi, 0x10
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x454380
cmp dword [esi + 0xc], 0
jl 0x454375
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x454372
push edx
call fcn.00407430
mov dword [ebp - 0x20], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454365
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
jmp 0x454380
mov eax, dword [ebp - 0x28]
push dword [ecx - 0xc]
push ecx
mov ecx, eax
call fcn.00408980
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
je 0x4543ac
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00407430
add esp, 4
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
or dword [ebp - 0x18], 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
jmp 0x4543c6
push 0x4db8b8
lea ecx, [ebp - 0x2c]
call fcn.00406c50
mov ecx, eax
or dword [ebp - 0x18], 8
mov dword [ebp - 4], 8
mov ecx, dword [ecx]
lea eax, [esi + 0x14]
mov esi, dword [eax]
sub esi, 0x10
mov dword [ebp + 8], eax
lea edx, [ecx - 0x10]
cmp edx, esi
je 0x454424
cmp dword [esi + 0xc], 0
jl 0x454419
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x454416
push edx
call fcn.00407430
mov dword [ebp - 0x20], eax
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454409
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ecx], eax
jmp 0x454424
mov eax, dword [ebp + 8]
push dword [ecx - 0xc]
push ecx
mov ecx, eax
call fcn.00408980
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 7
test al, 8
je 0x454458
mov edx, dword [ebp - 0x2c]
and eax, 0xfffffff7
add edx, 0xfffffff0
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454455
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 2
test al, 4
je 0x454483
and eax, 0xfffffffb
lea edx, [ebx - 0x10]
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x454483
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add edi, 4
cmp edi, dword [eax + 0x48]
jne 0x454280
mov edi, dword [ebp - 0x1c]
test edi, edi
jne 0x4545b3
mov ebx, dword [ebp - 0x30]
mov edi, eax
mov esi, dword [edi + 0x44]
cmp esi, dword [edi + 0x48]
je 0x4545b0
mov edi, edi
mov eax, dword [esi]
mov dword [ebp + 8], eax
test byte [eax + 0x58], 0x80
je 0x4545a4
push 0
call fcn.0049e2e0
add esp, 4
cmp eax, 0xb
jl 0x4545a4
cmp dword [edi + 0x6e4], 0
je 0x4545a4
mov eax, dword [ebp + 8]
mov edx, 0x4db8b8
cmp dword [ebx - 0xc], 0
cmovne edx, ebx
mov ecx, dword [eax + 4]
add eax, 0x4c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
test edx, edx
jne 0x454502
xor ecx, ecx
jmp 0x454523
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454510
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00408980
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406c50
mov eax, dword [ebp - 0x28]
mov edx, 0x4db8b8
mov byte [ebp - 4], 9
cmp dword [eax - 0xc], 0
cmovne edx, eax
mov eax, dword [ebp + 8]
add eax, 0x14
mov dword [ebp - 0x20], eax
test edx, edx
jne 0x45455f
xor ecx, ecx
jmp 0x45457a
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454567
sub ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00408980
mov edx, dword [ebp - 0x28]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4545a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0x48]
jne 0x4544b0
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4545d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4545f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
pop ebx
jg 0x454618
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
or edi, 0xffffffff
jmp 0x4545f9