Function at 0x456ccd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
jne 0x456cf4
push 0
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x458432
mov edi, 1
xor eax, eax
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x24], edx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
call fcn.0050025c
mov dword [ebp - 0x10], eax
push 0x198
push 0
push 0x587c5c
call fcn.0054c150
add esp, 0xc
mov dword [0x587c5c], 0x80000000
mov dword [0x587c60], 0x80000000
mov dword [0x587c64], 0x80000000
mov dword [0x587c68], 0x80000000
mov dword [0x587ca4], 1
mov dword [0x587c84], 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax], 0x2d
jne 0x457048
cmp byte [eax + 1], 0x74
je 0x457048
mov dword [ebp - 0x24], eax
push 0x64
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456d97
mov dword [0x587c6c], 1
push 0x6f
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456db2
mov dword [0x587c70], 1
push 0x73
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456dcd
mov dword [0x587c74], 1
push 0x53
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456de8
mov dword [0x587c78], 1
push 0x65
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456e03
mov dword [0x587c88], 1
push 0x45
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456e1e
mov dword [0x587c88], 2
push 0x42
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456e39
mov dword [0x587c90], 1
push 0x6d
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456e54
mov dword [0x587c8c], 1
push 0x76
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x456e87
mov edx, dword [ebp - 0x20]
cmp byte [edx + 1], 0x30
jne 0x456e7d
xor ecx, ecx
mov dword [0x587cbc], ecx
jmp 0x456e87
mov dword [0x587cbc], 1
push 0x7a
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x456eba
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x30
jne 0x456eb0
xor edx, edx
mov dword [0x587cc0], edx
jmp 0x456eba
mov dword [0x587cc0], 1
push 0x69
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456ed5
mov dword [0x587cc4], 1
push 0x43
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456ef0
mov dword [0x587cac], 1
push 0x6c
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x456f57
mov dword [0x587c94], 1
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + 1], 0
je 0x456f50
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [eax + 1]
test byte [edx*2 + str.________________________________H], 4
je 0x456f50
mov ecx, dword [ebp - 0x20]
inc ecx
push ecx
call fcn.00555124
pop ecx
mov dword [0x587c98], eax
cmp dword [0x587c98], 1
jg 0x456f57
mov dword [0x587c98], 1
jmp 0x456f57
xor eax, eax
mov dword [0x587ca4], eax
push 0x6e
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456f72
mov dword [0x587c7c], 1
push 0x78
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456f8d
mov dword [0x587c80], 1
push 0x68
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456fa6
xor edx, edx
mov dword [0x587c84], edx
push 0x70
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456fdb
cmp dword [0x587c94], 0
je 0x456fc9
cmp dword [0x587c98], 0
je 0x456fdb
mov dword [0x587ca0], 1
xor ecx, ecx
mov dword [0x587ca4], ecx
push 0x61
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x456ff6
mov dword [0x587cb8], 1
push 0x6b
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x457029
mov eax, dword [ebp - 0x20]
cmp byte [eax + 1], 0x31
jne 0x45701f
xor edx, edx
mov dword [0x587cb4], edx
jmp 0x457029
mov dword [0x587cb4], 1
inc edi
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edi*4], 0
jne 0x457048
push 0
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x458432
mov dword [0x587cc8], 8
mov dword [ebp - 0xc], 1
mov ebx, 0x587cc8
mov eax, dword [ebx]
add eax, 8
mov dword [ebx + 4], eax
inc dword [ebp - 0xc]
add ebx, 4
cmp dword [ebp - 0xc], 0x32
jl 0x45705e
push 2
push 0x560b84
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4]
call fcn.0054c52c
add esp, 0xc
test eax, eax
jne 0x45714a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 2], 0
jne 0x4570a7
mov dword [ebp - 0x14], 1
jmp 0x45712b
xor edx, edx
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [0x587cc8], ecx
push 0x560b88
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi*4]
add edx, 2
push edx
call fcn.0054c688
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, 0x587cc8
cmp dword [ebp - 0x20], 0
je 0x45712b
push dword [ebp - 0x20]
call fcn.00555124
pop ecx
mov esi, eax
mov dword [ebx], esi
test esi, esi
jg 0x4570f0
xor eax, eax
mov dword [ebx], eax
jmp 0x45712b
cmp dword [ebp - 0xc], 0
je 0x457103
mov edx, dword [ebx]
cmp edx, dword [ebx - 4]
jg 0x457103
mov ecx, dword [ebx - 4]
inc ecx
mov dword [ebx], ecx
inc dword [ebp - 0xc]
add ebx, 4
cmp dword [ebp - 0xc], 0x32
jge 0x45712b
xor eax, eax
mov dword [ebx], eax
push 0x560b8b
push 0
call fcn.0054c688
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4570d9
inc edi
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
jne 0x45714a
push 0
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479c10
jmp 0x458432
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi*4]
cmp byte [edx], 0x2b
jne 0x45728f
push 0x74
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457174
or dword [0x587ca8], 1
push 0x66
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45718f
or dword [0x587ca8], 2
push 0x6e
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4571aa
or dword [0x587ca8], 4
push 0x78
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4571c5
or dword [0x587ca8], 8
push 0x73
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4571e0
or dword [0x587ca8], 0x10
push 0x62
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4571fb
or dword [0x587ca8], 0x20
push 0x6c
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457216
or dword [0x587ca8], 0x40
push 0x4c
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457234
or dword [0x587ca8], 0x80
push 0x65
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457252
or dword [0x587ca8], 0x100
push 0x64
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457270
or dword [0x587ca8], 0x200
inc edi
mov eax, dword [ebp + 0xc]
cmp dword [eax + edi*4], 0
jne 0x45728f
push 0
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x458432
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + edi*4]
cmp byte [ebx], 0x3d
jne 0x4573bf
mov eax, dword [ebp + 0xc]
cmp byte [ebx + 1], 0
je 0x4573bf
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + edi*4]
inc ecx
push ecx
call fcn.0054c2d0
pop ecx
push eax
mov eax, dword [ebp + 0xc]
mov edx, ebx
inc edx
push edx
mov ecx, dword [ebp + 0xc]
push ebx
call fcn.0054c104
add esp, 0xc
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.0054c2d0
pop ecx
cmp eax, 0x5a
jbe 0x4572eb
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + edi*4]
mov byte [ecx + 0x5a], 0
xor esi, esi
cmp dword [ebp + 0x1c], 0
je 0x457343
mov eax, dword [ebp + 0x1c]
push dword [eax + 0xc78]
call fcn.00438ac0
test eax, eax
je 0x457343
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx + 0xc78]
cmp dword [ecx + 0x520], 0
je 0x457343
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi*4]
inc edx
push edx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + 0xc78]
add eax, 0x3f0
push eax
call fcn.0054c494
add esp, 8
test eax, eax
jne 0x457343
mov edx, dword [ebp + 0x1c]
mov esi, dword [edx + 0xc78]
test esi, esi
jne 0x457391
mov esi, dword [0x55f1e0]
mov eax, dword [ebp + 0xc]
lea ebx, [eax + edi*4]
test esi, esi
je 0x457378
mov eax, dword [ebx]
inc eax
push eax
lea edx, [esi + 0x3f0]
push edx
call fcn.0054c494
add esp, 8
test eax, eax
je 0x457378
mov esi, dword [esi + 0x88c]
test esi, esi
jne 0x457357
test esi, esi
jne 0x457391
push 3
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479c10
jmp 0x458432
push dword [esi]
call fcn.0051dd0a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4574c6
push 3
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x458432
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + edi*4]
cmp byte [ecx], 0x22
jne 0x457441
push 0
push 0x104
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
call fcn.004e5393
mov edi, eax
test edi, edi
jge 0x4573f8
push 3
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x458432
push 0x20
push dword [ebp + 0x14]
call fcn.0050cfef
mov edx, dword [ebp + 0x14]
cmp byte [edx], 0x40
jne 0x457412
push dword [ebp + 0x14]
call fcn.0050d0ae
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x14]
push edi
mov esi, edx
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
push dword [eax + edx*4]
call fcn.0054c2d0
pop ecx
cmp eax, 0x5a
jbe 0x457462
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov byte [edx + 0x5a], 0
push dword [ebp + 0x20]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push dword [ecx + eax*4]
call fcn.00412db7
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x45749f
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + ecx*4]
cmp byte [eax], 0x40
je 0x45749f
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x458432
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push dword [ecx + eax*4]
call fcn.0051dd59
test eax, eax
je 0x4574c6
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x458432
inc edi
cmp dword [ebp - 0x14], 0
je 0x45758c
cmp dword [ebp - 0x1c], 0
je 0x457582
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x6bc], 9
jne 0x457582
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [edx + 0x728], ecx
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x728]
mov eax, dword [ebp + 0xc]
lea ebx, [eax + edi*4]
jmp 0x457546
push edi
call fcn.00555124
pop ecx
mov dword [esi], eax
cmp dword [esi], 0
jg 0x457520
xor eax, eax
mov dword [esi], eax
jmp 0x45754c
cmp dword [ebp - 0xc], 0
je 0x457533
mov edx, dword [esi]
cmp edx, dword [esi - 4]
jg 0x457533
mov ecx, dword [esi - 4]
inc ecx
mov dword [esi], ecx
inc dword [ebp - 0xc]
add esi, 4
cmp dword [ebp - 0xc], 0x32
jge 0x45754c
xor eax, eax
mov dword [esi], eax
add ebx, 4
mov edi, dword [ebx]
test edi, edi
jne 0x45750c
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x820], 0
je 0x457578
push 1
push 0
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x820]
call sub.USER32.dll_InvalidateRect
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x820]
call sub.USER32.dll_UpdateWindow
push 1
push dword [ebp - 0x1c]
call fcn.0051e069
mov eax, 1
jmp 0x458432
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
je 0x45766d
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.004e43bb
test eax, eax
je 0x45766d
mov eax, dword [ebp + 0xc]
cmp dword [eax + edi*4 + 4], 0
je 0x45766d
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4 + 4]
call fcn.004e43bb
test eax, eax
je 0x45766d
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.00555124
pop ecx
mov dword [0x587c5c], eax
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4 + 4]
call fcn.00555124
pop ecx
mov dword [0x587c60], eax
add edi, 2
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
je 0x45766d
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.004e43bb
test eax, eax
je 0x45766d
mov eax, dword [ebp + 0xc]
cmp dword [eax + edi*4 + 4], 0
je 0x45766d
mov edx, dword [ebp + 0xc]
push dword [edx + edi*4 + 4]
call fcn.004e43bb
test eax, eax
je 0x45766d
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.00555124
pop ecx
mov dword [0x587c64], eax
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4 + 4]
call fcn.00555124
pop ecx
mov dword [0x587c68], eax
cmp dword [ebp - 0x24], 0
je 0x45766a
push 0x66
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45766a
mov dword [0x587cb0], 1
add edi, 2
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
je 0x457687
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + edi*4]
cmp byte [eax], 0x2f
jne 0x457687
mov dword [ebp - 8], edi
inc edi
jmp 0x45768c
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + edi*4], 0
je 0x4577ec
mov eax, edi
mov edx, dword [ebp + 0xc]
lea esi, [edx + eax*4 + 4]
jmp 0x4576ad
inc eax
add esi, 4
cmp dword [esi], 0
jne 0x4576a9
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
lea esi, [eax + edx*4]
cmp edi, dword [ebp - 0xc]
jg 0x4577ec
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call fcn.004e45c5
xor ebx, ebx
push 0x20
push dword [ebp + 0x10]
call fcn.0054c5b8
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x457712
mov eax, dword [ebp - 0x20]
inc eax
push eax
call fcn.004e43bb
test eax, eax
je 0x457712
push dword [ebp - 0x20]
call fcn.00555124
pop ecx
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov edx, dword [ebp + 0x10]
cmp byte [edx], 0x22
jne 0x457755
push 0x22
mov ecx, dword [ebp + 0x10]
inc ecx
push ecx
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x457755
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.0054c2d0
pop ecx
inc eax
push eax
mov ecx, dword [ebp + 0x10]
inc ecx
push ecx
push dword [ebp + 0x10]
call fcn.0054c104
add esp, 0xc
push 0x560b8e
push dword [ebp + 0x10]
call fcn.0042d423
test eax, eax
jne 0x457773
push str..ico
push dword [ebp + 0x10]
call fcn.0042d423
test eax, eax
jne 0x457784
push str..dll
push dword [ebp + 0x10]
call fcn.0042d423
test eax, eax
je 0x4577dd
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.0042cd5e
test eax, eax
jne 0x4577ac
push 3
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
call fcn.00479c10
jmp 0x458432
push 1
push dword [ebp + 0x10]
call fcn.0042c9b5
test eax, eax
je 0x4577dd
xor edx, edx
mov dword [esi], edx
push ebx
push dword [ebp + 0x10]
push dword [0x56cee4]
call sub.SHELL32.dll_ExtractIconA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jne 0x4577ec
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp 0x4577ec
dec dword [ebp - 0xc]
add esi, 0xfffffffc
cmp edi, dword [ebp - 0xc]
jle 0x4576c7
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
je 0x45790d
push 0x560ba0
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c494
add esp, 8
test eax, eax
je 0x45782d
push 0x560ba3
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.0054c494
add esp, 8
test eax, eax
jne 0x457833
inc edi
jmp 0x45790d
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + edi*4]
cmp byte [ecx], 0x40
jne 0x457870
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi*4]
mov ecx, dword [ebp + 0x14]
push edi
mov edi, edx
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
inc edi
jmp 0x45790d
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi*4]
cmp byte [edx], 0x22
je 0x45789e
push 0x2e
mov ecx, dword [ebp + 0xc]
push dword [ecx + edi*4]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45790d
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
call fcn.004e4554
test eax, eax
jne 0x45790d
push 0
push 0x104
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
call fcn.004e5393
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x4578cf
push 3
push 0
mov edx, dword [ebp + 0xc]
push dword [edx]
push 0
call fcn.00479c10
jmp 0x458432
push dword [ebp + 0x14]
push dword [ebp + 0x14]
call fcn.0042cd5e
test eax, eax
jne 0x4578f3
push 3
push 0
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push 0
call fcn.00479c10
jmp 0x458432
push 1
push dword [ebp + 0x14]
call fcn.0042c9b5
test eax, eax
je 0x457907
mov edi, dword [ebp - 0xc]
inc edi
jmp 0x45790d
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov edx, dword [ebp + 0xc]
cmp dword [edx + edi*4], 0
je 0x4579d4
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
mov eax, dword [ebp + 0xc]
lea esi, [eax + edi*4]
jmp 0x45795b
push eax
call fcn.004e43bb
test eax, eax
jne 0x457961
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x45794a
push 0x560ba7
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
push dword [esi]
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
inc edi
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x457928
push dword [ebp + 0x10]
call fcn.0050cfa1
mov edx, dword [ebp + 0x10]
cmp byte [edx], 0
je 0x4579d4
push 0x560baa
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edi*4], 0
je 0x45799d
mov eax, dword [ebp + 0xc]
push dword [eax + edi*4]
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
jmp 0x4579ad
push 0x560bad
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
mov edx, dword [ebp + 0x10]
mov esi, 0x587d90
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp dword [ebp - 0x1c], 0
jne 0x457a93
cmp dword [ebp - 0x24], 0
je 0x457a01
push 0x63
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457a01
mov eax, 1
jmp 0x458432
cmp dword [0x587c5c], 0xffffffff
jne 0x457a14
mov dword [0x587c5c], 0x80000000
cmp dword [0x587c60], 0xffffffff
jne 0x457a27
mov dword [0x587c60], 0x80000000
cmp dword [0x587c64], 0xffffffff
jne 0x457a3a
mov dword [0x587c64], 0x80000000
cmp dword [0x587c68], 0xffffffff
jne 0x457a4d
mov dword [0x587c68], 0x80000000
push dword [ebp + 0x20]
push 0
push 0
push 9
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [edx + ecx*4]
call fcn.00524566
mov esi, eax
test esi, esi
jne 0x457a71
xor eax, eax
jmp 0x458432
push esi
call fcn.0051dd0a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x457a87
xor eax, eax
jmp 0x458432
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 0xb04], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xb04], 0
je 0x457abc
mov edx, dword [ebp - 0x1c]
push dword [edx + 0xb04]
call fcn.00427af8
test eax, eax
jne 0x457abc
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + 0xb04], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6bc], 9
jne 0x457c1d
cmp dword [ebp - 8], 0
je 0x457bbb
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x10]
push esi
mov edi, edx
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp + 0x10]
mov byte [eax + 0x5a], 0
push 0x560bb1
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
mov edx, dword [ebp - 0x1c]
cmp byte [edx + 0xb08], 0
je 0x457b41
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb08
push ecx
push dword [ebp + 0x10]
call fcn.0054c494
add esp, 8
test eax, eax
je 0x457bbb
mov eax, dword [ebp - 0x1c]
add eax, 0xb08
mov edx, dword [ebp + 0x10]
push esi
mov esi, eax
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
mov eax, dword [ebp - 0x1c]
add eax, 0xb08
push eax
push 0
push 0xc
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x818]
call sub.USER32.dll_SendMessageA
mov ecx, dword [ebp - 0x1c]
add ecx, 0xb08
push ecx
call fcn.0054c2d0
pop ecx
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xb08
push eax
call fcn.0054c2d0
pop ecx
push eax
push 1
mov edx, dword [ebp - 0x1c]
push dword [edx + 0x818]
call fcn.00478c58
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 0
je 0x457bd9
push dword [ebp + 0x14]
push 0x104
mov eax, dword [ebp - 0x1c]
add eax, 0x9fc
push eax
call fcn.0042e322
cmp dword [ebp - 0x28], 0
je 0x457c1d
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x9a0], 0
je 0x457bf9
mov ecx, dword [ebp - 0x1c]
push dword [ecx + 0x9a0]
call sub.USER32.dll_DestroyIcon
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0x9a0], edx
push dword [ebp - 0x28]
push 1
push 0x80
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call sub.USER32.dll_SendMessageA
or dword [ebp - 0x18], 2
cmp dword [ebp - 0x24], 0
je 0x457d09
push 0x67
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x457d09
mov ebx, 1
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp byte [eax], 0
je 0x457c7f
mov edx, dword [ebp - 0x20]
xor ecx, ecx
mov cl, byte [edx]
test byte [ecx*2 + str.________________________________H], 4
je 0x457c7f
push dword [ebp - 0x20]
call fcn.00555124
pop ecx
mov ebx, eax
test ebx, ebx
jg 0x457c75
xor ebx, ebx
jmp 0x457c7f
cmp ebx, 3
jle 0x457c7f
mov ebx, 3
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x457c9b
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x457ce6
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c4], ebx
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x457ce0
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6c4], 0
jne 0x457cd6
push 0x37
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call sub.USER32.dll_SetWindowPos
jmp 0x457ce0
push 0
push dword [ebp - 0x1c]
call fcn.00492be9
or dword [ebp - 0x18], 2
jmp 0x457d09
cmp dword [0x55d2cc], 0
je 0x457d09
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
cmp edx, dword [0x56cef4]
je 0x457d09
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6c4], ebx
or dword [ebp - 0x18], 2
test esi, esi
jne 0x458410
cmp dword [ebp - 0x24], 0
je 0x457d6a
push 0x63
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457d6a
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x6d4], 0
jne 0x458410
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6bc], 1
je 0x458410
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x6d4], 1
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_SendMessageA
jmp 0x458410
cmp dword [ebp - 0x24], 0
je 0x457e71
push 0x6b
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457e71
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6bc], 9
jne 0x457e71
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x587cb4]
mov dword [ecx + 0x700], eax
push 0x180
push dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_GetWindowTextA
push 0x20
push dword [ebp + 0x14]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x700], 0
je 0x457e22
mov eax, dword [ebp - 0x1c]
add eax, 9
mov edx, dword [ebp + 0x10]
mov edi, eax
mov esi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x20], 0
je 0x457e13
push dword [ebp - 0x20]
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_SetWindowTextA
jmp 0x457e6d
mov edx, dword [ebp - 0x1c]
add edx, 8
mov ecx, dword [ebp + 0x10]
mov edi, edx
mov esi, ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x20], 0
je 0x457e60
push dword [ebp - 0x20]
push dword [ebp + 0x10]
call fcn.0054c1f4
add esp, 8
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_SetWindowTextA
or dword [ebp - 0x18], 1
cmp dword [ebp - 0x24], 0
je 0x457eb2
push 0x77
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457eb2
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x9d0], 1
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x6bc], 0
je 0x457eae
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x9f8], 1
or dword [ebp - 0x18], 1
cmp dword [ebp - 0x24], 0
je 0x457ef7
push 0x62
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457ef7
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6bc], 9
jne 0x457ef7
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x6c0], 1
jne 0x457ef7
push 0
push 0x560bb4
push 0x8098
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0051f9e7
cmp dword [ebp - 0x24], 0
je 0x457f1c
push 0x52
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457f1c
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.004ed08c
or dword [ebp - 0x18], 1
cmp dword [ebp - 0x24], 0
je 0x457f87
push 0x6e
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
jne 0x457f44
push 0x68
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457f87
push 0x68
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457f77
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + 0x9d0], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x6bc], 0
je 0x457f77
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + 0x9f8], eax
push 1
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.0040b765
or dword [ebp - 0x18], 1
cmp dword [ebp - 0x24], 0
je 0x457fc9
push 0x78
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457fc9
push 0x61
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x457fbd
push 3
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.0040b4bc
jmp 0x457fc9
push 6
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0040b4bc
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x457fe9
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call sub.USER32.dll_IsZoomed
test eax, eax
je 0x458196
mov dword [ebp - 0x54], 0x2c
lea eax, [ebp - 0x54]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_GetWindowPlacement
cmp dword [0x587c5c], 0xffffffff
jne 0x458010
mov ecx, dword [ebp - 0x38]
mov dword [0x587c5c], ecx
cmp dword [0x587c60], 0xffffffff
jne 0x458021
mov eax, dword [ebp - 0x34]
mov dword [0x587c60], eax
cmp dword [0x587c64], 0xffffffff
jne 0x458034
mov dword [0x587c64], 0x80000000
cmp dword [0x587c68], 0xffffffff
jne 0x458047
mov dword [0x587c68], 0x80000000
cmp dword [0x587c5c], 0x80000000
je 0x458166
cmp dword [0x587c64], 0x80000000
jne 0x45806f
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
mov dword [0x587c64], edx
cmp dword [0x587c68], 0x80000000
jne 0x458087
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov dword [0x587c68], ecx
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0051e0ad
test eax, eax
jne 0x4580a4
push 0x587c60
push 0x587c5c
call fcn.004d49e9
cmp dword [ebp - 0x24], 0
je 0x4580f1
push 0x66
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4580f1
push 0
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.005201c7
lea eax, [ebp - 0x74]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.005202fd
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x5c]
add dword [0x587c64], ecx
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x58]
add dword [0x587c68], eax
mov edx, dword [0x587c5c]
mov dword [ebp - 0x38], edx
mov ecx, dword [0x587c60]
mov dword [ebp - 0x34], ecx
mov eax, dword [0x587c5c]
add eax, dword [0x587c64]
mov dword [ebp - 0x30], eax
mov edx, dword [0x587c60]
add edx, dword [0x587c68]
mov dword [ebp - 0x2c], edx
cmp dword [0x55d2cc], 0
je 0x458158
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.00416d78
test eax, eax
je 0x458158
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0051e0ad
test eax, eax
je 0x458158
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_IsIconic
test eax, eax
je 0x458158
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x54]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_SetWindowPlacement
cmp dword [ebp - 0x24], 0
je 0x4582dc
push 0x72
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4582dc
push 8
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.0040b4bc
jmp 0x4582dc
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx]
call sub.USER32.dll_GetWindowRect
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.0051e0ad
test eax, eax
je 0x4581c5
push 2
lea eax, [ebp - 0x64]
push eax
push dword [0x56ceec]
push 0
call sub.USER32.dll_MapWindowPoints
cmp dword [0x587c5c], 0xffffffff
jne 0x4581d7
mov edx, dword [ebp - 0x64]
mov dword [0x587c5c], edx
cmp dword [0x587c60], 0xffffffff
jne 0x4581e9
mov ecx, dword [ebp - 0x60]
mov dword [0x587c60], ecx
cmp dword [0x587c64], 0xffffffff
jne 0x4581fc
mov dword [0x587c64], 0x80000000
cmp dword [0x587c68], 0xffffffff
jne 0x45820f
mov dword [0x587c68], 0x80000000
cmp dword [0x587c5c], 0x80000000
je 0x4582dc
cmp dword [0x587c64], 0x80000000
jne 0x458236
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
mov dword [0x587c64], eax
cmp dword [0x587c68], 0x80000000
jne 0x45824e
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x60]
mov dword [0x587c68], edx
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.0051e0ad
test eax, eax
jne 0x45826b
push 0x587c60
push 0x587c5c
call fcn.004d49e9
cmp dword [ebp - 0x24], 0
je 0x4582b8
push 0x66
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4582b8
push 0
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.005201c7
lea ecx, [ebp - 0x74]
push ecx
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.005202fd
mov edx, dword [ebp - 0x6c]
sub edx, dword [ebp - 0x5c]
add dword [0x587c64], edx
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x58]
add dword [0x587c68], ecx
push 1
push dword [0x587c68]
push dword [0x587c64]
push dword [0x587c60]
push dword [0x587c5c]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call sub.USER32.dll_MoveWindow
cmp dword [ebp - 0x24], 0
je 0x45831d
push 0x6f
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45831d
push 0
mov edx, dword [ebp - 0x1c]
push dword [edx]
call fcn.0051e0d8
push 0x6f
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x458340
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0x61
jmp 0x458340
cmp dword [ebp - 0x24], 0
je 0x458340
push 0x75
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x458340
push 1
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.0051e0d8
cmp dword [ebp - 0x24], 0
je 0x4583e7
push 0x76
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45836a
mov edx, dword [ebp - 0x1c]
mov ecx, dword [0x587cbc]
mov dword [edx + 0xb70], ecx
push 0x7a
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x4583e7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x9d8], 0
je 0x4583b1
cmp dword [0x587cc0], 0
jne 0x4583b1
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [edx + 0x9d8], ecx
push dword [0x56cee0]
call fcn.0050b2fd
mov dword [0x56cee0], eax
or dword [ebp - 0x18], 1
jmp 0x4583e7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x9d8], 0
jne 0x4583e7
cmp dword [0x587cc0], 0
je 0x4583e7
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x9d8], 1
push dword [0x56cee0]
call fcn.0050b2fd
mov dword [0x56cee0], eax
or dword [ebp - 0x18], 1
cmp dword [ebp - 0x24], 0
je 0x458410
push 0x61
push dword [ebp - 0x24]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x458410
cmp dword [ebp - 0x10], 0
jne 0x458410
push 1
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
call fcn.0040b4bc
test byte [ebp - 0x18], 1
je 0x45841f
push 0
call fcn.00417312
jmp 0x45842d
test byte [ebp - 0x18], 2
je 0x45842d
push dword [ebp - 0x1c]
call fcn.00417312
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c