Function at 0x461800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8951
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c0
call fcn.005c4f90
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 0x463235
push ebx
call fcn.004918a0
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.00590f90
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.00465ce0
test al, al
mov byte [ebp - 0x2e], al
jne 0x461873
mov byte [ebx + 0x31f], 0
jmp 0x46187a
mov al, byte [ebp + 0x14]
test al, al
je 0x461884
mov eax, dword [esi + 0x2e4]
test eax, eax
jle 0x46188b
mov byte [ebx + 0x329], 1
mov esi, dword [esi + 0x2e4]
test esi, esi
mov dword [ebp - 0x5c], esi
jle 0x4618fe
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e0]
test al, al
jne 0x4618fe
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x4618fe
mov edi, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x5c]
cmp dword [esi + 0x468], edi
je 0x4618d0
inc eax
jmp 0x4618b3
test eax, eax
jl 0x4618fe
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x4618fe
mov ecx, dword [eax + 0x47c]
add eax, 0x478
test ecx, ecx
jg 0x4618fe
jl 0x4618f7
cmp dword [eax], 0
ja 0x4618fe
mov byte [ebx + 0x329], 0
mov ecx, 0x6cef68
call fcn.0051f8b0
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6cef6c]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x461925
mov byte [0x6cef6c], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.00493c60
add esp, 4
test eax, eax
je 0x461959
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x461950
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 0x461959
push esi
call fcn.00493e60
add esp, 4
mov eax, dword [0x6ca27c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00564270
mov edx, dword [esi]
lea eax, [ebp - 0x40]
push edx
push 0x69ffbc
push eax
call fcn.005d9fbb
add esp, 0xc
mov ecx, ebx
push 1
call fcn.00591460
mov ecx, dword [0x6cefa0]
test ecx, ecx
je 0x4619aa
mov edx, dword [ebx + 0x468]
push edx
push 1
call fcn.004f8fc0
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x4619e6
mov cl, byte [eax + 0x36]
test cl, cl
je 0x4619cc
mov ecx, dword [ebx + 0x468]
mov dword [edi + 0xfe8], ecx
mov byte [eax + 0x36], 0
mov eax, dword [edi + 0x5c]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x4619e6
mov edx, dword [ebx + 0x468]
mov dword [edi + 0xfec], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x24]
test al, 8
je 0x461a2d
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4619fe
cmp eax, 2
jne 0x461a80
push 1
push 0
push 0
push 0
mov byte [ebx + 0xa44], 1
push ebx
mov ecx, edi
mov byte [ebx + 0x314], 1
call fcn.00460aa0
test eax, eax
jne 0x461a6e
mov al, byte [ebp - 0x11]
mov byte [0x6cef6c], al
jmp 0x461b02
test ah, 8
je 0x461a80
mov eax, dword [0x6cef64]
test eax, eax
je 0x461a80
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x461a48
cmp eax, 2
jne 0x461a80
push 1
push 1
push 0
push 0
mov byte [ebx + 0xa44], 1
push ebx
mov ecx, edi
mov byte [ebx + 0x314], 1
call fcn.00460aa0
test eax, eax
je 0x461af9
mov byte [ebx + 0xa44], 0
mov byte [ebx + 0x314], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x24], 0x20
je 0x461b3a
mov edx, dword [ebp - 0x20]
push 0x3f
push edx
mov byte [ebp - 0x2d], 1
call fcn.005c4b80
add esp, 8
test eax, eax
jne 0x461ade
lea ecx, [ebp - 0x1f40]
call fcn.00524320
mov eax, dword [ebp - 0x20]
push 0
push eax
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 3
call fcn.00526210
test eax, eax
je 0x461ac8
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 2
call fcn.00524370
mov al, byte [ebp - 0x2d]
test al, al
je 0x461b3a
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa44], 1
call fcn.00460aa0
test eax, eax
jne 0x461b2f
mov cl, byte [ebp - 0x11]
mov byte [0x6cef6c], cl
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e118c
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 + 0xa44], 0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 0x24]
test ah, 1
je 0x461b62
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x461bcb
lea edx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push edx
jmp 0x461bbb
test al, 4
je 0x461bcb
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x461bcb
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x461bcb
push 0x2e
push esi
call fcn.005c4a9a
add esp, 8
test eax, eax
je 0x461bcb
push 8
push 0x6a6314
push eax
call fcn.005c6ee0
add esp, 0xc
test eax, eax
je 0x461bcb
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x461bcb
lea ecx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push ecx
push 4
push 0
push str.bChCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi + 0x2e4]
test eax, eax
mov dword [ebp - 0x5c], eax
jle 0x462533
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x1c8]
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
mov dword [ebp - 0x50], eax
jg 0x462533
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x5c]
cmp dword [esi + 0x468], edi
jne 0x461e24
test eax, eax
mov dword [ebp - 0x5c], eax
jl 0x462533
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x24], esi
je 0x462533
mov al, byte [ebp - 0x19]
test al, al
jne 0x461c55
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa44], 1
call fcn.00460aa0
mov byte [ebx + 0xa44], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov edx, eax
or edx, ecx
je 0x462533
cmp eax, dword [ebx + 0x140]
jne 0x462533
cmp ecx, dword [ebx + 0x144]
jne 0x462533
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, 0x6ceed0
call fcn.0042e2f0
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, 0x6ceec0
call fcn.0042e1b0
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, 0x6ceeb0
call fcn.0042e1b0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e0]
test al, al
jne 0x461ff5
mov eax, dword [esi + 0x47c]
test eax, eax
jg 0x461ff5
jl 0x461d18
mov eax, dword [esi + 0x478]
test eax, eax
ja 0x461ff5
cmp dword [esi + 0x300], 4
jne 0x461d2f
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x461ff5
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x461d48
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x461d40
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.00591370
mov esi, dword [esi + 0x60]
test esi, esi
je 0x461d57
push esi
mov ecx, ebx
call fcn.0058ab30
mov edx, dword [ebp + 0x24]
lea esi, [ebx + 0x94]
mov dword [ebp + 0x14], esi
mov eax, dword [edx + 0x46c]
lea edi, [edx + 0x94]
mov dword [ebx + 0x46c], eax
mov ecx, dword [edx + 0x2ec]
mov dword [ebx + 0x2ec], ecx
mov al, byte [edx + 0x31e]
mov byte [ebx + 0x31e], 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 + 0x17c]
mov byte [ebx + 0x17c], cl
mov dl, byte [edx + 0x31f]
mov byte [ebx + 0x31f], dl
mov ecx, dword [0x6cefa0]
test ecx, ecx
je 0x461dfd
cmp dword [ebx + 0x46c], 1
je 0x461dfd
mov eax, dword [ebx + 0x468]
push 1
push eax
call fcn.004f9000
mov ecx, dword [ebx + 0x468]
mov edx, dword [ebx + 0x46c]
push ecx
mov ecx, dword [0x6cefa0]
push edx
call fcn.004f8fc0
mov eax, dword [ebx + 0x468]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.0059fb90
mov ecx, dword [ebp + 0x24]
mov byte [ebp - 4], 5
call fcn.00593930
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
jmp 0x461e39
inc eax
jmp 0x461beb
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi + 0x194]
mov dword [ebp - 0x80], 1
mov dword [ebp - 4], 4
mov edx, dword [ecx + 0x468]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x78], 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 0x461e8a
mov ecx, dword [esi + 0x194]
push 0
push eax
push 0x1008
mov eax, dword [ecx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x6cefa0]
test ecx, ecx
je 0x461ea5
mov edx, dword [ebp + 0x24]
push 0
mov eax, dword [edx + 0x468]
push eax
call fcn.004f9000
mov esi, dword [esi + 0x1c8]
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 0x461eca
add ecx, 0x10
jmp 0x461ebe
test eax, eax
je 0x461eef
mov ecx, dword [esi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x5c]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.005c5be0
add esp, 0xc
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x24]
dec edx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x8c0]
test ecx, ecx
je 0x461f13
push eax
mov ecx, 0x6ceea8
call fcn.00432260
mov esi, dword [ebp - 0x18]
jmp 0x461f4d
test eax, eax
mov byte [ebp - 4], 7
je 0x461f3c
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.0058a770
push esi
call fcn.005dd5b6
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x461f4d
mov esi, dword [ebp - 0x18]
jmp 0x461f4d
push 1
push 1
push ebx
lea ecx, [esi + 0x4a8]
mov dword [ebp - 4], 2
call fcn.004a6470
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.00590f90
mov ecx, ebx
call fcn.00591550
mov eax, dword [esi + 0x220]
test eax, eax
je 0x461f88
push eax
mov ecx, esi
call fcn.00467350
mov ecx, dword [ebx + 0x468]
mov eax, dword [esi + 0x194]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x90], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call edi
test eax, eax
jl 0x461fd3
mov ecx, dword [esi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6ce7c8
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005e1315
mov esi, dword [ebp - 0x18]
jmp 0x4624ed
mov dl, byte [ebp - 0x11]
mov byte [0x6cef6c], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46201b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46201b
push edx
mov ecx, esi
call fcn.00593c50
mov eax, dword [0x6ca27c]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xa
call fcn.00564270
lea ecx, [ebp - 0x37d0]
call fcn.00524320
mov edx, dword [ebx + 0x168]
mov eax, dword [ebp + 0x14]
push edx
push eax
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xb
call fcn.00524ad0
test eax, eax
jne 0x46207e
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.00524370
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e118c
jmp 0x46321d
push 1
push esi
lea ecx, [ebp - 0x37d0]
call fcn.00525af0
test eax, eax
je 0x4620b0
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.00524370
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e118c
jmp 0x46321d
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005911e0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x20], edi
je 0x4620d5
push eax
call fcn.005dd5b6
add esp, 4
test edi, edi
jne 0x4620de
mov dword [esi + 0x3c], edi
jmp 0x462142
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4620f2
mov dword [esi + 0x3c], eax
jmp 0x462142
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dd58d
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x46211f
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.0059da30
jmp 0x462142
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 + 0x180]
test edi, edi
je 0x4621ae
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46217c
mov ecx, dword [ebx + 0x180]
lea edx, [esi + 0x180]
push ecx
push 0x69ffbc
push edx
call fcn.005d9fbb
add esp, 0xc
mov byte [esi + 0x17e], 1
jmp 0x4621ae
mov al, byte [ebx + 0x17e]
test al, al
je 0x4621ae
mov al, byte [ebx + 0x31a]
test al, al
je 0x4621ae
push 0x6ce7c8
lea ecx, [esi + 0x180]
call fcn.005e1315
mov byte [esi + 0x17e], 1
mov byte [esi + 0x31a], 1
push 0
call fcn.005c63ab
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.004641d0
mov eax, dword [esi + 0x468]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.005a06b0
cmp dword [esi + 0x300], 4
jne 0x462361
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x462361
lea ecx, [ebp - 0x1f40]
call fcn.00524320
mov ecx, dword [0x6ca27c]
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx + 0x2f4]
lea edx, [ebp + 0x20]
push edx
push 0x6a2a3c
push eax
mov byte [ebp - 4], 0xd
call fcn.00461710
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f40]
call fcn.00524ad0
test eax, eax
je 0x462346
mov edx, dword [esi + 0x2f8]
push 1
push edx
lea ecx, [ebp - 0x1f40]
call fcn.00525af0
test eax, eax
jne 0x462346
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x4622bd
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4622bd
mov ecx, dword [esi + 0x2f8]
push edx
call fcn.00593c50
mov esi, dword [esi + 0x2f8]
mov edi, dword [ebx + 0x3c]
add esi, 0x20
mov dword [ebp + 0x1c], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4622dc
push eax
call fcn.005dd5b6
add esp, 4
test edi, edi
jne 0x4622e5
mov dword [esi + 0x1c], edi
jmp 0x462346
mov edx, dword [ebp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4622fb
mov dword [esi + 0x1c], eax
jmp 0x462346
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dd58d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x462326
push str.URL::set_Cookie__:_Not_enough_memory__n
mov ecx, esi
call fcn.0059da30
jmp 0x462346
mov edi, dword [ebp + 0x1c]
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]
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xc
call fcn.005e118c
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 0xb
call fcn.00524370
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x468]
mov byte [ebp - 4], 0xe
mov dword [ebp + 0x1c], ecx
mov edx, dword [edx + 0x1c8]
mov dword [ebp + 0x20], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x46239d
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x468], ecx
je 0x4623a0
mov edx, dword [ebp + 0x20]
inc esi
jmp 0x462380
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x20], esi
mov byte [ebp - 4], 0xf
call fcn.00593930
jmp 0x4623bc
mov ecx, dword [0x6cefa0]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x4623d8
mov eax, dword [ebp + 0x1c]
push 0
push eax
call fcn.004f9000
test esi, esi
jl 0x462431
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1c8]
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 0x462409
add ecx, 0x10
jmp 0x4623fd
mov edi, dword [ebp + 0x20]
test eax, eax
je 0x46242e
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.005c5be0
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8c0]
test eax, eax
je 0x46248e
push ebx
mov ecx, 0x6ceea8
call fcn.00432260
mov esi, dword [ebp - 0x18]
push 0x6ce7c8
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005e1315
mov al, byte [esi + 0x12e0]
test al, al
je 0x4624b4
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x468]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x4624cc
test ebx, ebx
mov byte [ebp - 4], 0x11
je 0x462446
mov ecx, ebx
call fcn.0058a770
push ebx
call fcn.005dd5b6
add esp, 4
jmp 0x462446
mov edx, dword [ebp + 0x24]
mov eax, dword [edx + 0x468]
push eax
mov eax, dword [esi + 0x1c]
push 0x1431
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.00524370
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e118c
mov eax, dword [esi + 0x12dc]
test eax, eax
je 0x462525
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46251b
mov edx, dword [esi + 0x12dc]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x12dc], 0
mov cl, byte [ebp - 0x11]
mov byte [0x6cef6c], cl
jmp 0x46321d
mov al, byte [ebp - 0x2e]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6cef6c], dl
je 0x46254a
mov al, byte [ebp + 0x14]
test al, al
je 0x46255d
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e4], esi
jle 0x46269c
jmp 0x462562
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x440
call fcn.005dd58d
mov ecx, eax
add esp, 4
mov dword [ebp + 0x14], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x14
je 0x462593
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push esi
push eax
lea eax, [edi + 0x694]
push edx
push eax
call fcn.00435a50
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x46321d
mov cl, byte [ebp + 0x20]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x69ffbc
push eax
call fcn.005d9fbb
mov ecx, dword [ebp - 0x40]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x69ffbc
push edx
call fcn.005d9fbb
mov eax, dword [ebx + 0x468]
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x1c8]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x1c]
lea eax, [edi + 0x4a8]
add esp, 0xc
mov dword [esi + 0x6c], edx
mov dword [esi + 0x64], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005ddaf0
push eax
push 0x82
mov ecx, esi
call fcn.005dce05
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, ebx
call fcn.00593c40
push 5
mov ecx, esi
call fcn.005e088c
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x46321d
mov eax, dword [edi + 0x12dc]
test eax, eax
je 0x462681
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x12dc]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462681
mov ecx, dword [edi + 0x12dc]
lea eax, [ebp - 0x78]
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 0x46321d
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], esi
mov word [ebp - 0x64], si
lea ecx, [ebp - 0x68]
add edi, 0x694
push 1
push ecx
push edi
mov ecx, ebx
mov byte [ebp - 4], 0x15
call fcn.005954f0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov word [ebp - 0x48], si
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0x16
cmp eax, esi
je 0x4626e3
push eax
call fcn.005c4b4a
add esp, 4
test eax, eax
jne 0x4626e3
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x46291c
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
jne 0x462703
mov dword [ebp + 0x1c], eax
jmp 0x46291c
push 0x2e
push esi
call fcn.005c4a9a
xor esi, esi
add esp, 8
cmp eax, esi
je 0x46291c
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], si
add eax, 2
lea ecx, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x17
call fcn.005e124c
mov ecx, dword [ebx + 0x20]
lea edx, [ebp + 8]
lea eax, [ebp - 0x3c]
push edx
mov edx, dword [ebp + 0x20]
push eax
push ecx
push edx
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.004a2c80
test al, al
je 0x462904
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2ec], eax
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x462769
mov edi, eax
jmp 0x46276f
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.005c4b4a
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x6a0054
jne 0x46278a
mov edi, 0x6ce7cc
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x462794
lea eax, [ebp - 0x38]
mov ecx, 0x6a0b44
test ecx, ecx
je 0x462904
test eax, eax
je 0x462904
test edi, edi
je 0x462904
xor esi, esi
push eax
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x84], esi
mov word [ebp - 0x88], si
call fcn.00401f60
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov word [ebp - 0x54], si
call fcn.00401f60
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.00401f60
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1b
call fcn.00401070
push 0x6a0b44
lea ecx, [ebp - 0x74]
call fcn.00401ed0
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
mov dword [ebp + 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x8c]
add edi, esi
call fcn.00401f50
push eax
call fcn.005c4b4a
mov ecx, dword [ebp + 0x24]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005dd58d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x68], edx
je 0x4628d1
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.00401f50
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401f50
push eax
lea ecx, [ebp - 0x74]
call fcn.00401f50
push eax
mov eax, dword [ebp - 0x68]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005c4b4a
add esp, 0x1c
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x19
call fcn.00401070
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x17
call fcn.005e118c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.00401070
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x1c]
test eax, eax
jne 0x462a3e
test esi, esi
jne 0x462a3e
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x462945
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.0047d560
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x4629e4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4629e4
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x4629e4
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x4629e4
push eax
call fcn.005c4b4a
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x4629e4
xor eax, eax
push esi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x84], eax
mov word [ebp - 0x88], ax
call fcn.00401f60
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
test eax, eax
jne 0x4629c7
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f60
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.00401070
jmp 0x463111
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x463111
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x463111
push esi
call fcn.005c4b4a
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x463111
push esi
call fcn.005c4b4a
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c4cea
add esp, 0xc
jmp 0x463111
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x462a48
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x6b0]
lea ecx, [ebp - 0x2b0]
push edx
push ecx
lea edx, [ebp - 0x4b0]
lea ecx, [ebp - 0x54]
push edx
push ecx
push eax
call fcn.005c5908
xor edi, edi
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edi
mov word [ebp - 0x38], di
cmp esi, edi
mov byte [ebp - 4], 0x1d
je 0x462b30
cmp eax, edi
je 0x462ade
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462ade
mov eax, dword [ebp - 0x3c]
cmp eax, esi
ja 0x462ade
push eax
call fcn.005c4b4a
mov edx, dword [ebp - 0x3c]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x462ade
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.00401f50
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f60
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x462caf
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462caf
push esi
call fcn.005c4b4a
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dd58d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x462caf
push esi
call fcn.005c4b4a
mov edx, dword [ebp - 0x3c]
push esi
push edx
mov dword [ebp - 0x34], eax
call fcn.005c4cea
add esp, 0xc
jmp 0x462caf
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x462ba9
cmp eax, edi
je 0x462ba9
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462ba9
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
cmp eax, ecx
ja 0x462ba9
push eax
call fcn.005c4b4a
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x462ba9
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d680
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1f
call fcn.00401f50
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f60
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x462c10
lea ecx, [ebp - 0x3c]
call fcn.00401070
lea eax, [ebp - 0x2b0]
test eax, eax
je 0x462c10
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462c10
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c4b4a
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x462c10
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c4b4a
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2b0]
push edx
push eax
call fcn.005c4cea
add esp, 0xc
lea ecx, [ebp - 0x6b0]
test ecx, ecx
je 0x462caf
lea edx, [ebp - 0x6b0]
push edx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462caf
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x462c45
push eax
call fcn.005c4b4a
add esp, 4
mov esi, eax
jmp 0x462c47
xor esi, esi
lea eax, [ebp - 0x6b0]
push eax
call fcn.005c4b4a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dd58d
mov esi, eax
add esp, 8
test esi, esi
je 0x462caf
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x462c88
push eax
push esi
call fcn.005c4cea
lea edx, [ebp - 0x6b0]
push edx
push esi
call fcn.005c4cc0
add esp, 0x10
jmp 0x462c98
lea eax, [ebp - 0x6b0]
push eax
push esi
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x34], 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], 0x20
cmp esi, edi
je 0x462d78
cmp eax, edi
je 0x462d26
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462d26
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x462d26
push eax
call fcn.005c4b4a
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x462d26
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x21
call fcn.00401f50
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f60
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x462ed9
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462ed9
push esi
call fcn.005c4b4a
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x462ee4
push esi
call fcn.005c4b4a
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005c4cea
add esp, 0xc
jmp 0x462ed9
lea edx, [ebp - 0x54]
test edx, edx
je 0x462de2
cmp eax, edi
je 0x462de2
lea eax, [ebp - 0x54]
push eax
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462de2
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
cmp eax, ecx
ja 0x462de2
push eax
call fcn.005c4b4a
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x462de2
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d680
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x22
call fcn.00401f50
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f60
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x462e3a
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x54]
test eax, eax
je 0x462e3a
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462e3a
lea edx, [ebp - 0x54]
push edx
call fcn.005c4b4a
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x462e3a
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c4b4a
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.005c4cea
add esp, 0xc
lea ecx, [ebp - 0x4b0]
test ecx, ecx
je 0x462ed9
lea edx, [ebp - 0x4b0]
push edx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462ed9
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x462e6f
push eax
call fcn.005c4b4a
add esp, 4
mov esi, eax
jmp 0x462e71
xor esi, esi
lea eax, [ebp - 0x4b0]
push eax
call fcn.005c4b4a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dd58d
mov esi, eax
add esp, 8
test esi, esi
je 0x462ed9
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462eb2
push eax
push esi
call fcn.005c4cea
lea edx, [ebp - 0x4b0]
push edx
push esi
call fcn.005c4cc0
add esp, 0x10
jmp 0x462ec2
lea eax, [ebp - 0x4b0]
push eax
push esi
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462ee4
mov esi, eax
jmp 0x462eea
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005c4b4a
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x462f91
mov ecx, 0x6a0054
test ecx, ecx
je 0x462f91
push ecx
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462f91
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462f2d
push eax
call fcn.005c4b4a
add esp, 4
mov esi, eax
jmp 0x462f2f
xor esi, esi
push 0x6a0054
call fcn.005c4b4a
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005dd58d
mov esi, eax
add esp, 8
test esi, esi
je 0x462f91
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462f6c
push eax
push esi
call fcn.005c4cea
push 0x6a0054
push esi
call fcn.005c4cc0
add esp, 0x10
jmp 0x462f7a
push 0x6a0054
push esi
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x462ff4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x462ff4
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x462ff4
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x462ff4
push eax
call fcn.005c4b4a
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x462ff4
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0x23
test eax, eax
jne 0x462fdd
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f60
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x46303d
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x46303d
push esi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x46303d
push esi
call fcn.005c4b4a
lea eax, [eax + eax + 2]
push eax
call fcn.005dd58d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x46303d
push esi
call fcn.005c4b4a
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c4cea
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
mov edi, eax
jne 0x463049
lea edi, [ebp - 0x38]
test edi, edi
je 0x4630c6
push edi
call fcn.005c4b4a
add esp, 4
test eax, eax
je 0x4630c6
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46306e
push eax
call fcn.005c4b4a
add esp, 4
mov esi, eax
jmp 0x463070
xor esi, esi
push edi
call fcn.005c4b4a
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005dd58d
mov esi, eax
add esp, 8
test esi, esi
je 0x4630c6
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4630a5
push eax
push esi
call fcn.005c4cea
push edi
push esi
call fcn.005c4cc0
add esp, 0x10
jmp 0x4630af
push edi
push esi
call fcn.005c4cea
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401070
push esi
mov dword [ebp - 0x4c], esi
call fcn.005c4b4a
add esp, 4
mov dword [ebp - 0x44], eax
test byte [ebx + 0x164], 0x5c
je 0x4630f6
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x4630df
lea eax, [ebx + 0xf8]
mov ecx, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
mov ecx, dword [ecx + 0x1c8]
push 0
push eax
call fcn.0047d560
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
call fcn.00401070
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.00401070
mov edi, dword [ebp - 0x18]
mov al, byte [ebp + 0x14]
test al, al
je 0x46313a
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17d], 1
mov byte [ebx + 0x17c], 1
call fcn.005a0240
jmp 0x4632a4
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x4c]
push 0
push eax
push ebx
call fcn.0047cb80
cmp eax, 2
jne 0x463279
mov ecx, dword [0x6cefa0]
test ecx, ecx
je 0x46316d
mov edx, dword [ebx + 0x468]
push 1
push edx
call fcn.004f9000
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x20], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x4631e9
mov edi, dword [esi + 4]
mov edx, eax
shl edx, 4
mov edx, dword [edx + edi]
mov edi, dword [ebx + 0x468]
mov edx, dword [edx + 0x468]
cmp edx, edi
je 0x46319e
inc eax
jmp 0x46317c
test eax, eax
jl 0x4631e9
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 0x4631c1
add edx, 0x10
jmp 0x4631b5
mov esi, dword [ebp + 0x20]
test ecx, ecx
je 0x4631e6
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.005c5be0
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8c0]
mov ecx, ebx
test eax, eax
je 0x46324d
call fcn.00593930
push ebx
mov ecx, 0x6ceea8
call fcn.00432260
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x15
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005e118c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e118c
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
call fcn.00593930
test ebx, ebx
mov byte [ebp - 4], 0x25
je 0x46326a
mov ecx, ebx
call fcn.0058a770
push ebx
call fcn.005dd5b6
add esp, 4
mov dword [ebp - 4], 0x16
jmp 0x463205
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x463296
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17c], 1
call fcn.005a0240
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4632a4
mov byte [ebx + 0x319], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4632ae
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.00591370
push 1
push 1
push ebx
lea ecx, [edi + 0x4a8]
call fcn.004a6470
mov eax, dword [ebx + 0x474]
test eax, eax
jg 0x4632e6
jl 0x4632dc
mov eax, dword [ebx + 0x470]
test eax, eax
ja 0x4632e6
mov al, byte [ebx + 0x317]
test al, al
je 0x463315
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x463315
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4632fa
cmp eax, 2
jne 0x463315
mov eax, dword [ebx + 0x468]
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.00591550
mov eax, dword [edi + 0x220]
test eax, eax
je 0x46332e
push eax
mov ecx, edi
call fcn.00467350
mov ecx, dword [ebx + 0x468]
mov eax, dword [edi + 0x194]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xa8], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call esi
test eax, eax
jl 0x463205
mov ecx, dword [edi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x463205