Function at 0x4506e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7a06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1828
call fcn.00584c60
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
test ebx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
je 0x45204d
push ebx
call fcn.00478370
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.00554690
mov ecx, dword [esi + 0x144]
mov dword [ebx], ecx
mov ecx, esi
call fcn.004543c0
test al, al
mov byte [ebp - 0x2d], al
jne 0x450753
mov byte [ebx + 0x2d6], 0
jmp 0x45075a
mov al, byte [ebp + 0x14]
test al, al
je 0x450764
mov eax, dword [esi + 0x2c4]
test eax, eax
jle 0x45076b
mov byte [ebx + 0x2e0], 1
mov esi, dword [esi + 0x2c4]
test esi, esi
mov dword [ebp - 0x60], esi
jle 0x4507de
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12c0]
test al, al
jne 0x4507de
mov eax, edx
mov ecx, dword [eax + 0x1c0]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x4507de
mov edi, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [edi + esi]
mov edi, dword [ebp - 0x60]
cmp dword [esi + 0x400], edi
je 0x4507b0
inc eax
jmp 0x450793
test eax, eax
jl 0x4507de
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [ecx + eax]
test eax, eax
je 0x4507de
mov ecx, dword [eax + 0x414]
add eax, 0x410
test ecx, ecx
jg 0x4507de
jl 0x4507d7
cmp dword [eax], 0
ja 0x4507de
mov byte [ebx + 0x2e0], 0
mov ecx, 0x6826c0
call fcn.004fc3a0
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6826c4]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2c4]
test eax, eax
jle 0x450805
mov byte [0x6826c4], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.0047a090
add esp, 4
test eax, eax
je 0x450839
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x450830
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x18]
not ecx
dec ecx
jne 0x450839
push esi
call fcn.0047a340
add esp, 4
mov eax, dword [0x67da2c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.005305f0
mov edx, dword [esi]
lea eax, [ebp - 0x34]
push edx
push 0x656f5c
push eax
call fcn.00599a28
add esp, 0xc
mov ecx, ebx
push 1
call fcn.00554b00
mov ecx, dword [0x6826e8]
test ecx, ecx
je 0x45088a
mov edx, dword [ebx + 0x400]
push edx
push 1
call fcn.004d7710
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x4508c6
mov cl, byte [eax + 0x36]
test cl, cl
je 0x4508ac
mov ecx, dword [ebx + 0x400]
mov dword [edi + 0xfc8], ecx
mov byte [eax + 0x36], 0
mov eax, dword [edi + 0x5c]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x4508c6
mov edx, dword [ebx + 0x400]
mov dword [edi + 0xfcc], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x24]
test al, 8
je 0x45090d
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4508de
cmp eax, 2
jne 0x45096a
push 1
push 0
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0x98c], 1
mov byte [ebx + 0x2cc], 1
call fcn.0044fab0
test eax, eax
jne 0x450958
mov al, byte [ebp - 0x11]
mov byte [0x6826c4], al
jmp 0x450a04
test ah, 8
je 0x45096a
mov eax, dword [0x6826bc]
test eax, eax
je 0x45096a
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x450928
cmp eax, 2
jne 0x45096a
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0x98c], 1
mov byte [ebx + 0x2cc], 1
call fcn.0044fab0
test eax, eax
jne 0x450958
mov cl, byte [ebp - 0x11]
mov byte [0x6826c4], cl
jmp 0x450a04
mov byte [ebx + 0x98c], 0
mov byte [ebx + 0x2cc], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x24], 0x20
je 0x450a3c
mov edx, dword [ebp - 0x20]
push 0x3f
push edx
mov byte [ebp - 0x35], 1
call fcn.00584850
add esp, 8
test eax, eax
jne 0x4509c8
lea ecx, [ebp - 0x1838]
call fcn.00500b90
mov eax, dword [ebp - 0x20]
push 0
push eax
lea ecx, [ebp - 0x1838]
mov byte [ebp - 4], 3
call fcn.00502730
test eax, eax
je 0x4509b2
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x1838]
mov byte [ebp - 4], 2
call fcn.00500be0
mov al, byte [ebp - 0x35]
test al, al
je 0x450a3c
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4509e0
cmp eax, 2
je 0x4509e0
mov cl, byte [ebp - 0x11]
mov byte [0x6826c4], cl
jmp 0x450a04
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0x98c], 1
call fcn.0044fab0
test eax, eax
jne 0x450a31
mov dl, byte [ebp - 0x11]
mov byte [0x6826c4], dl
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.005a0c5d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005a0c5d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov byte [ebx + 0x98c], 0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 0x24]
test ah, 1
je 0x450a64
mov eax, dword [ebx + 0x3c0]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x450acd
lea ecx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push ecx
jmp 0x450abd
test al, 4
je 0x450acd
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x450acd
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x450acd
push 0x2e
push esi
call fcn.00584766
add esp, 8
test eax, eax
je 0x450acd
push 8
push 0x65c830
push eax
call fcn.00586aa0
add esp, 0xc
test eax, eax
je 0x450acd
mov eax, dword [ebx + 0x3c0]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x450acd
lea edx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push edx
push 4
push 0
push str.bChCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi + 0x2c4]
test eax, eax
mov dword [ebp - 0x60], eax
jle 0x4512be
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c0]
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
mov dword [ebp - 0x54], eax
jg 0x4512be
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [edi + esi]
mov edi, dword [ebp - 0x60]
cmp dword [esi + 0x400], edi
jne 0x450d0f
test eax, eax
mov dword [ebp - 0x60], eax
jl 0x4512be
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [ecx + eax]
test esi, esi
mov dword [ebp + 0x24], esi
je 0x4512be
mov al, byte [ebp - 0x19]
test al, al
jne 0x450b57
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0x98c], 1
call fcn.0044fab0
mov byte [ebx + 0x98c], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov edx, eax
or edx, ecx
je 0x4512be
cmp eax, dword [ebx + 0x140]
jne 0x4512be
cmp ecx, dword [ebx + 0x144]
jne 0x4512be
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ebx + 0x20]
push eax
mov eax, dword [esi + 0x20]
push ecx
push edx
push eax
mov ecx, 0x682630
call fcn.00425ad0
mov eax, dword [ebx + 0x128]
mov ecx, dword [esi + 0x128]
mov edx, dword [ebx + 0x124]
mov edi, dword [esi + 0x124]
push eax
push ecx
push edx
push edi
mov ecx, 0x682620
call fcn.00425990
mov eax, dword [ebx + 0x154]
mov ecx, dword [esi + 0x154]
mov edx, dword [ebx + 0xe8]
mov edi, dword [esi + 0xe8]
push eax
push ecx
push edx
push edi
mov ecx, 0x682610
call fcn.00425990
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12c0]
test al, al
jne 0x450ee6
mov eax, dword [esi + 0x414]
test eax, eax
jg 0x450ee6
jl 0x450c1a
mov eax, dword [esi + 0x410]
test eax, eax
ja 0x450ee6
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x450c33
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x450c2b
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.00554a10
mov esi, dword [esi + 0x60]
test esi, esi
je 0x450c42
push esi
mov ecx, ebx
call fcn.0054f980
mov edx, dword [ebp + 0x24]
lea esi, [ebx + 0x94]
mov dword [ebp + 0x14], esi
mov eax, dword [edx + 0x404]
lea edi, [edx + 0x94]
mov dword [ebx + 0x404], eax
mov ecx, dword [edx + 0x2c4]
mov dword [ebx + 0x2c4], ecx
mov al, byte [edx + 0x2d5]
mov byte [ebx + 0x2d5], al
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [edx + 0x179]
mov byte [ebx + 0x179], cl
mov dl, byte [edx + 0x2d6]
mov byte [ebx + 0x2d6], dl
mov ecx, dword [0x6826e8]
test ecx, ecx
je 0x450ce8
cmp dword [ebx + 0x404], 1
je 0x450ce8
mov eax, dword [ebx + 0x400]
push 1
push eax
call fcn.004d7750
mov ecx, dword [ebx + 0x400]
mov edx, dword [ebx + 0x404]
push ecx
mov ecx, dword [0x6826e8]
push edx
call fcn.004d7710
mov eax, dword [ebx + 0x400]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.00560310
mov ecx, dword [ebp + 0x24]
mov byte [ebp - 4], 5
call fcn.00556de0
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x18]
jmp 0x450d24
inc eax
jmp 0x450aed
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi + 0x18c]
mov dword [ebp - 0x84], 1
mov dword [ebp - 4], 4
mov edx, dword [ecx + 0x400]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x7c], edx
mov edx, dword [eax + 0x1c]
push ecx
push 0xffffffffffffffff
push 0x100d
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x450d7b
mov ecx, dword [esi + 0x18c]
push 0
push eax
push 0x1008
mov eax, dword [ecx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x6826e8]
test ecx, ecx
je 0x450d96
mov edx, dword [ebp + 0x24]
push 0
mov eax, dword [edx + 0x400]
push eax
call fcn.004d7750
mov esi, dword [esi + 0x1c0]
mov edx, 1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, edi
shl edi, 4
dec eax
add ecx, edi
mov edi, edx
dec edx
test edi, edi
je 0x450dbb
add ecx, 0x10
jmp 0x450daf
test eax, eax
je 0x450de0
mov ecx, dword [esi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x60]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.00585880
add esp, 0xc
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x24]
dec edx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x84c]
test ecx, ecx
je 0x450e04
push eax
mov ecx, 0x682608
call fcn.00429450
mov esi, dword [ebp - 0x18]
jmp 0x450e3e
test eax, eax
mov byte [ebp - 4], 7
je 0x450e2d
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.0054f610
push esi
call fcn.0059d022
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x450e3e
mov esi, dword [ebp - 0x18]
jmp 0x450e3e
push 1
push 1
push ebx
lea ecx, [esi + 0x488]
mov dword [ebp - 4], 2
call fcn.0048adf0
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.00554690
mov ecx, ebx
call fcn.00554bf0
mov eax, dword [esi + 0x204]
test eax, eax
je 0x450e79
push eax
mov ecx, esi
call fcn.00455780
mov ecx, dword [ebx + 0x400]
mov eax, dword [esi + 0x18c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x94], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call edi
test eax, eax
jl 0x450ec4
mov ecx, dword [esi + 0x4a4]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x681f78
lea ecx, [esi + 0x2c8]
mov dword [esi + 0x2c4], 0
call fcn.005a0de6
mov esi, dword [ebp - 0x18]
jmp 0x451278
mov dl, byte [ebp - 0x11]
mov byte [0x6826c4], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x450f0c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x450f0c
push edx
mov ecx, esi
call fcn.005570f0
mov eax, dword [0x67da2c]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xa
call fcn.005305f0
lea ecx, [ebp - 0x1838]
call fcn.00500b90
mov edx, dword [ebx + 0x168]
mov eax, dword [ebp + 0x14]
push edx
push eax
lea ecx, [ebp - 0x1838]
mov byte [ebp - 4], 0xb
call fcn.005012b0
test eax, eax
je 0x450f61
push 1
push esi
lea ecx, [ebp - 0x1838]
call fcn.00502170
test eax, eax
je 0x450f81
lea ecx, [ebp - 0x1838]
mov byte [ebp - 4], 0xa
call fcn.00500be0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005a0c5d
jmp 0x451f14
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005548b0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x20], edi
je 0x450fa6
push eax
call fcn.0059d022
add esp, 4
test edi, edi
jne 0x450faf
mov dword [esi + 0x3c], edi
jmp 0x451013
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x450fc3
mov dword [esi + 0x3c], eax
jmp 0x451013
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0059cff9
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x450ff0
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.0055e850
jmp 0x451013
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x24]
mov edi, dword [ebx + 0x17c]
test edi, edi
je 0x45107f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45104d
mov ecx, dword [ebx + 0x17c]
lea edx, [esi + 0x17c]
push ecx
push 0x656f5c
push edx
call fcn.00599a28
add esp, 0xc
mov byte [esi + 0x17b], 1
jmp 0x45107f
mov al, byte [ebx + 0x17b]
test al, al
je 0x45107f
mov al, byte [ebx + 0x2d1]
test al, al
je 0x45107f
push 0x681f78
lea ecx, [esi + 0x17c]
call fcn.005a0de6
mov byte [esi + 0x17b], 1
mov byte [esi + 0x2d1], 1
push 0
call fcn.00585f73
mov dword [esi + 0x148], eax
mov eax, dword [ebx + 0x160]
mov ecx, dword [ebx + 0x15c]
mov edx, dword [ebx + 0x158]
push eax
mov eax, dword [ebx + 0x154]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x150]
push eax
mov eax, dword [ebx + 0xe8]
mov edi, dword [ebx + 0x124]
push eax
mov eax, dword [ebx + 0x130]
push eax
mov eax, dword [ebx + 0x12c]
push eax
mov eax, dword [ebx + 0x128]
push eax
push edi
push esi
call fcn.00453250
mov eax, dword [esi + 0x400]
add esp, 0x30
add esi, 0x20
push eax
mov ecx, esi
call fcn.00560ca0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x400]
mov byte [ebp - 4], 0xc
mov dword [ebp + 0x1c], ecx
mov edx, dword [edx + 0x1c0]
mov dword [ebp + 0x20], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x451128
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edx + edi]
cmp dword [edx + 0x400], ecx
je 0x45112b
mov edx, dword [ebp + 0x20]
inc esi
jmp 0x45110b
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x20], esi
mov byte [ebp - 4], 0xd
call fcn.00556de0
jmp 0x451147
mov ecx, dword [0x6826e8]
mov dword [ebp - 4], 0xc
test ecx, ecx
je 0x451163
mov eax, dword [ebp + 0x1c]
push 0
push eax
call fcn.004d7750
test esi, esi
jl 0x4511bc
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1c0]
mov edx, 1
mov dword [ebp + 0x20], ecx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
sub eax, esi
dec eax
add ecx, edi
mov edi, edx
dec edx
test edi, edi
je 0x451194
add ecx, 0x10
jmp 0x451188
mov edi, dword [ebp + 0x20]
test eax, eax
je 0x4511b9
mov ecx, dword [edi + 4]
lea edx, [esi + 1]
shl edx, 4
shl eax, 4
shl esi, 4
add edx, ecx
push eax
add esi, ecx
push edx
push esi
call fcn.00585880
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x84c]
test eax, eax
je 0x451219
push ebx
mov ecx, 0x682608
call fcn.00429450
mov esi, dword [ebp - 0x18]
push 0x681f78
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x2c8]
mov dword [esi + 0x2c4], 0
call fcn.005a0de6
mov al, byte [esi + 0x12c0]
test al, al
je 0x45123f
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x400]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x451257
test ebx, ebx
mov byte [ebp - 4], 0xf
je 0x4511d1
mov ecx, ebx
call fcn.0054f610
push ebx
call fcn.0059d022
add esp, 4
jmp 0x4511d1
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x400]
push eax
mov eax, dword [esi + 0x1c]
push 0x1431
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x1838]
mov byte [ebp - 4], 0xa
call fcn.00500be0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005a0c5d
mov eax, dword [esi + 0x12bc]
test eax, eax
je 0x4512b0
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4512a6
mov edx, dword [esi + 0x12bc]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x12bc], 0
mov cl, byte [ebp - 0x11]
mov byte [0x6826c4], cl
jmp 0x451f14
mov al, byte [ebp - 0x2d]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6826c4], dl
je 0x4512d5
mov al, byte [ebp + 0x14]
test al, al
je 0x4512e8
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2c4], esi
jle 0x451427
jmp 0x4512ed
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x440
call fcn.0059cff9
mov ecx, eax
add esp, 4
mov dword [ebp + 0x14], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x12
je 0x45131e
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push esi
push eax
lea eax, [edi + 0x674]
push edx
push eax
call fcn.0042c870
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x451f14
mov cl, byte [ebp + 0x20]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x656f5c
push eax
call fcn.00599a28
mov ecx, dword [ebp - 0x34]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x656f5c
push edx
call fcn.00599a28
mov eax, dword [ebx + 0x400]
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x1c0]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x488]
add esp, 0xc
mov dword [esi + 0x6c], edx
mov dword [esi + 0x64], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0059d55c
push eax
push 0x82
mov ecx, esi
call fcn.0059c872
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, ebx
call fcn.005570e0
push 5
mov ecx, esi
call fcn.005a035a
mov eax, dword [edi + 0x2c4]
test eax, eax
jle 0x451f14
mov eax, dword [edi + 0x12bc]
test eax, eax
je 0x45140c
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x12bc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45140c
mov ecx, dword [edi + 0x12bc]
lea eax, [ebp - 0x7c]
push eax
push 0x1466
mov edx, dword [ecx + 0x1c]
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1c]
push 0
push 0x1465
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x451f14
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], esi
mov word [ebp - 0x68], si
lea ecx, [ebp - 0x6c]
lea esi, [edi + 0x674]
push 1
push ecx
push esi
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.00558920
xor edi, edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x14
cmp eax, edi
je 0x451470
push eax
call fcn.00584816
add esp, 4
test eax, eax
jne 0x451470
mov dword [ebp + 0x18], edi
mov edi, dword [ebp + 0x1c]
test edi, edi
je 0x4516a5
push edi
call fcn.00584816
add esp, 4
test eax, eax
jne 0x451490
mov dword [ebp + 0x1c], eax
jmp 0x4516a5
push 0x2e
push edi
call fcn.00584766
add esp, 8
test eax, eax
je 0x4516a5
xor edi, edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], edi
mov word [ebp - 0x4c], di
add eax, 2
lea ecx, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x15
call fcn.005a0d1d
mov ecx, dword [ebp + 0x20]
lea edx, [ebp + 8]
lea eax, [ebp - 0x50]
push edx
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.00487dd0
test al, al
je 0x45168d
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
cmp eax, edi
mov dword [ebx + 0x2c4], edx
je 0x4514f2
mov esi, eax
jmp 0x4514f8
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x4c]
push eax
call fcn.00584816
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
mov edi, 0x656fe4
jne 0x451513
mov edi, 0x681f7c
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x45151d
lea eax, [ebp - 0x4c]
mov ecx, 0x657984
test ecx, ecx
je 0x45168d
test eax, eax
je 0x45168d
test edi, edi
je 0x45168d
xor esi, esi
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x88], esi
mov word [ebp - 0x8c], si
call fcn.00401ee0
push edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x58], si
call fcn.00401ee0
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00401ee0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.00401070
push 0x657984
lea ecx, [ebp - 0x78]
call fcn.00401e50
mov esi, dword [ebp - 0x70]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00401ed0
push eax
call fcn.00584816
add esp, 4
lea ecx, [ebp - 0x5c]
mov edi, eax
call fcn.00401ed0
push eax
call fcn.00584816
mov dword [ebp + 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x90]
add edi, esi
call fcn.00401ed0
push eax
call fcn.00584816
mov ecx, dword [ebp + 0x24]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.0059cff9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x6c], edx
je 0x45165a
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x90]
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x78]
call fcn.00401ed0
push eax
mov eax, dword [ebp - 0x6c]
push esi
push eax
call fcn.005847a6
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00584816
add esp, 0x1c
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x19
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x15
call fcn.005a0c5d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.00401070
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x1c]
test eax, eax
jne 0x4517c7
test esi, esi
jne 0x4517c7
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x4516ce
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c0]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x6c]
push 0
push edx
call fcn.00466650
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x45176d
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x45176d
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x45176d
mov eax, dword [ebp - 0x44]
cmp eax, esi
ja 0x45176d
push eax
call fcn.00584816
mov ecx, dword [ebp - 0x44]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x45176d
xor eax, eax
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], eax
mov word [ebp - 0x8c], ax
call fcn.00401ee0
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 0x21
test eax, eax
jne 0x451750
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ee0
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x14
call fcn.00401070
jmp 0x451df8
lea ecx, [ebp - 0x44]
call fcn.00401070
test esi, esi
je 0x451df8
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451df8
push esi
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x451df8
push esi
call fcn.00584816
mov ecx, dword [ebp - 0x44]
push esi
push ecx
mov dword [ebp - 0x3c], eax
call fcn.005849ba
add esp, 0xc
jmp 0x451df8
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x4517d1
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x6b4]
lea ecx, [ebp - 0x2b4]
push edx
push ecx
lea edx, [ebp - 0x4b4]
lea ecx, [ebp - 0x58]
push edx
push ecx
push eax
call fcn.005855aa
xor edi, edi
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], edi
mov word [ebp - 0x4c], di
cmp esi, edi
mov byte [ebp - 4], 0x1b
je 0x451817
push esi
lea ecx, [ebp - 0x50]
call fcn.00401ee0
jmp 0x451996
lea edx, [ebp - 0x2b4]
test edx, edx
je 0x451890
cmp eax, edi
je 0x451890
lea eax, [ebp - 0x2b4]
push eax
call fcn.00584816
add esp, 4
test eax, eax
je 0x451890
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x2b4]
cmp eax, ecx
ja 0x451890
push eax
call fcn.00584816
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x2b4]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x451890
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x78]
push edx
call fcn.00403ad0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1c
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x50]
call fcn.00401ee0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1b
call fcn.00401070
jmp 0x4518f7
lea ecx, [ebp - 0x50]
call fcn.00401070
lea eax, [ebp - 0x2b4]
test eax, eax
je 0x4518f7
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.00584816
add esp, 4
test eax, eax
je 0x4518f7
lea edx, [ebp - 0x2b4]
push edx
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
cmp eax, edi
mov dword [ebp - 0x50], eax
je 0x4518f7
lea ecx, [ebp - 0x2b4]
push ecx
call fcn.00584816
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x2b4]
push edx
push eax
call fcn.005849ba
add esp, 0xc
lea ecx, [ebp - 0x6b4]
test ecx, ecx
je 0x451996
lea edx, [ebp - 0x6b4]
push edx
call fcn.00584816
add esp, 4
test eax, eax
je 0x451996
mov eax, dword [ebp - 0x50]
cmp eax, edi
je 0x45192c
push eax
call fcn.00584816
add esp, 4
mov esi, eax
jmp 0x45192e
xor esi, esi
lea eax, [ebp - 0x6b4]
push eax
call fcn.00584816
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059cff9
mov esi, eax
add esp, 8
test esi, esi
je 0x451996
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x45196f
push eax
push esi
call fcn.005849ba
lea edx, [ebp - 0x6b4]
push edx
push esi
call fcn.00584990
add esp, 0x10
jmp 0x45197f
lea eax, [ebp - 0x6b4]
push eax
push esi
call fcn.005849ba
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.00401070
push esi
mov dword [ebp - 0x50], esi
call fcn.00584816
add esp, 4
mov dword [ebp - 0x48], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
mov word [ebp - 0x28], di
mov esi, dword [ebp + 0x18]
mov byte [ebp - 4], 0x1d
cmp esi, edi
je 0x451a5f
cmp eax, edi
je 0x451a0d
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451a0d
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x451a0d
push eax
call fcn.00584816
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x451a0d
push esi
lea ecx, [ebp - 0x78]
call fcn.00403ad0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1e
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x451bc0
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451bc0
push esi
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x451bcb
push esi
call fcn.00584816
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005849ba
add esp, 0xc
jmp 0x451bc0
lea edx, [ebp - 0x58]
test edx, edx
je 0x451ac9
cmp eax, edi
je 0x451ac9
lea eax, [ebp - 0x58]
push eax
call fcn.00584816
add esp, 4
test eax, eax
je 0x451ac9
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
cmp eax, ecx
ja 0x451ac9
push eax
call fcn.00584816
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x451ac9
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x78]
push edx
call fcn.00403ad0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1f
call fcn.00401ed0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x451b21
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x58]
test eax, eax
je 0x451b21
lea ecx, [ebp - 0x58]
push ecx
call fcn.00584816
add esp, 4
test eax, eax
je 0x451b21
lea edx, [ebp - 0x58]
push edx
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x451b21
lea ecx, [ebp - 0x58]
push ecx
call fcn.00584816
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x58]
push edx
push eax
call fcn.005849ba
add esp, 0xc
lea ecx, [ebp - 0x4b4]
test ecx, ecx
je 0x451bc0
lea edx, [ebp - 0x4b4]
push edx
call fcn.00584816
add esp, 4
test eax, eax
je 0x451bc0
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x451b56
push eax
call fcn.00584816
add esp, 4
mov esi, eax
jmp 0x451b58
xor esi, esi
lea eax, [ebp - 0x4b4]
push eax
call fcn.00584816
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.0059cff9
mov esi, eax
add esp, 8
test esi, esi
je 0x451bc0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x451b99
push eax
push esi
call fcn.005849ba
lea edx, [ebp - 0x4b4]
push edx
push esi
call fcn.00584990
add esp, 0x10
jmp 0x451ba9
lea eax, [ebp - 0x4b4]
push eax
push esi
call fcn.005849ba
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.00584816
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x451bcb
mov esi, eax
jmp 0x451bd1
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.00584816
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x451c78
mov ecx, 0x656fe4
test ecx, ecx
je 0x451c78
push ecx
call fcn.00584816
add esp, 4
test eax, eax
je 0x451c78
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x451c14
push eax
call fcn.00584816
add esp, 4
mov esi, eax
jmp 0x451c16
xor esi, esi
push 0x656fe4
call fcn.00584816
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.0059cff9
mov esi, eax
add esp, 8
test esi, esi
je 0x451c78
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x451c53
push eax
push esi
call fcn.005849ba
push 0x656fe4
push esi
call fcn.00584990
add esp, 0x10
jmp 0x451c61
push 0x656fe4
push esi
call fcn.005849ba
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.00584816
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x451cdb
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x451cdb
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451cdb
mov eax, dword [ebp - 0x44]
cmp eax, esi
ja 0x451cdb
push eax
call fcn.00584816
mov ecx, dword [ebp - 0x44]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x451cdb
push esi
lea ecx, [ebp - 0x78]
call fcn.00403ad0
mov eax, dword [ebp - 0x78]
mov byte [ebp - 4], 0x20
test eax, eax
jne 0x451cc4
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401ee0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x451d24
lea ecx, [ebp - 0x44]
call fcn.00401070
test esi, esi
je 0x451d24
push esi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451d24
push esi
call fcn.00584816
lea eax, [eax + eax + 2]
push eax
call fcn.0059cff9
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x451d24
push esi
call fcn.00584816
mov ecx, dword [ebp - 0x44]
push esi
push ecx
mov dword [ebp - 0x3c], eax
call fcn.005849ba
add esp, 0xc
mov eax, dword [ebp - 0x50]
test eax, eax
mov edi, eax
jne 0x451d30
lea edi, [ebp - 0x4c]
test edi, edi
je 0x451dad
push edi
call fcn.00584816
add esp, 4
test eax, eax
je 0x451dad
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x451d55
push eax
call fcn.00584816
add esp, 4
mov esi, eax
jmp 0x451d57
xor esi, esi
push edi
call fcn.00584816
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.0059cff9
mov esi, eax
add esp, 8
test esi, esi
je 0x451dad
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x451d8c
push eax
push esi
call fcn.005849ba
push edi
push esi
call fcn.00584990
add esp, 0x10
jmp 0x451d96
push edi
push esi
call fcn.005849ba
add esp, 8
lea ecx, [ebp - 0x44]
call fcn.00401070
push esi
mov dword [ebp - 0x44], esi
call fcn.00584816
add esp, 4
mov dword [ebp - 0x3c], eax
test byte [ebx + 0x164], 0x5c
je 0x451ddd
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x451dc6
lea eax, [ebx + 0xf8]
mov ecx, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
mov ecx, dword [ecx + 0x1c0]
push 0
push eax
call fcn.00466650
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x14
call fcn.00401070
mov edi, dword [ebp - 0x18]
mov al, byte [ebp + 0x14]
test al, al
je 0x451e0b
mov byte [ebx + 0x17a], 1
jmp 0x451f3e
mov ecx, dword [edi + 0x1c0]
lea eax, [ebp - 0x44]
push 0
push eax
push ebx
call fcn.00465f90
cmp eax, 2
jne 0x451f37
mov ecx, dword [0x6826e8]
test ecx, ecx
je 0x451e3e
mov edx, dword [ebx + 0x400]
push 1
push edx
call fcn.004d7750
mov esi, dword [edi + 0x1c0]
mov dword [ebp + 0x20], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x451eba
mov edi, dword [esi + 4]
mov edx, eax
shl edx, 4
mov edx, dword [edi + edx]
mov edi, dword [ebx + 0x400]
mov edx, dword [edx + 0x400]
cmp edx, edi
je 0x451e6f
inc eax
jmp 0x451e4d
test eax, eax
jl 0x451eba
mov ecx, dword [esi + 8]
mov edx, eax
sub ecx, eax
mov edi, 1
shl edx, 4
dec ecx
add edx, dword [esi + 4]
mov esi, edi
dec edi
test esi, esi
je 0x451e92
add edx, 0x10
jmp 0x451e86
mov esi, dword [ebp + 0x20]
test ecx, ecx
je 0x451eb7
mov edx, dword [esi + 4]
shl ecx, 4
push ecx
lea ecx, [eax + 1]
shl ecx, 4
shl eax, 4
add ecx, edx
add eax, edx
push ecx
push eax
call fcn.00585880
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x84c]
mov ecx, ebx
test eax, eax
je 0x451ed8
call fcn.00556de0
push ebx
mov ecx, 0x682608
call fcn.00429450
jmp 0x451efc
call fcn.00556de0
test ebx, ebx
mov byte [ebp - 4], 0x22
je 0x451ef5
mov ecx, ebx
call fcn.0054f610
push ebx
call fcn.0059d022
add esp, 4
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.00401070
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.005a0c5d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005a0c5d
jmp 0x45204d
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x451f54
mov edx, dword [ebx + 0x400]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x179], 1
call fcn.00560880
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x451f5e
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.00554a10
push 1
push 1
push ebx
lea ecx, [edi + 0x488]
call fcn.0048adf0
mov eax, dword [ebx + 0x40c]
test eax, eax
jg 0x451f96
jl 0x451f8c
mov eax, dword [ebx + 0x408]
test eax, eax
ja 0x451f96
mov al, byte [ebx + 0x2cf]
test al, al
je 0x451fc5
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x451fc5
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x451faa
cmp eax, 2
jne 0x451fc5
mov eax, dword [ebx + 0x400]
push eax
mov eax, dword [edi + 0x1c]
push 0x13f8
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, ebx
call fcn.00554bf0
mov eax, dword [edi + 0x204]
test eax, eax
je 0x451fde
push eax
mov ecx, edi
call fcn.00455780
mov ecx, dword [ebx + 0x400]
mov eax, dword [edi + 0x18c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xac], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call esi
test eax, eax
jl 0x451efc
mov ecx, dword [edi + 0x4a4]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x451efc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20