Function at 0x460980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6a21
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c0
call fcn.005c3080
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 0x4623b5
push ebx
call fcn.0048fb10
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.0058f060
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.00464e60
test al, al
mov byte [ebp - 0x2e], al
jne 0x4609f3
mov byte [ebx + 0x31f], 0
jmp 0x4609fa
mov al, byte [ebp + 0x14]
test al, al
je 0x460a04
mov eax, dword [esi + 0x2e4]
test eax, eax
jle 0x460a0b
mov byte [ebx + 0x329], 1
mov esi, dword [esi + 0x2e4]
test esi, esi
mov dword [ebp - 0x5c], esi
jle 0x460a7e
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e0]
test al, al
jne 0x460a7e
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x460a7e
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 0x460a50
inc eax
jmp 0x460a33
test eax, eax
jl 0x460a7e
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x460a7e
mov ecx, dword [eax + 0x47c]
add eax, 0x478
test ecx, ecx
jg 0x460a7e
jl 0x460a77
cmp dword [eax], 0
ja 0x460a7e
mov byte [ebx + 0x329], 0
mov ecx, 0x6ccf58
call fcn.0051db60
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6ccf5c]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x460aa5
mov byte [0x6ccf5c], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.00491ed0
add esp, 4
test eax, eax
je 0x460ad9
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x460ad0
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 0x460ad9
push esi
call fcn.004920d0
add esp, 4
mov eax, dword [0x6c826c]
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.005622f0
mov edx, dword [esi]
lea eax, [ebp - 0x40]
push edx
push 0x69dfbc
push eax
call fcn.005d809b
add esp, 0xc
mov ecx, ebx
push 1
call fcn.0058f530
mov ecx, dword [0x6ccf90]
test ecx, ecx
je 0x460b2a
mov edx, dword [ebx + 0x468]
push edx
push 1
call fcn.004f70e0
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x460b66
mov cl, byte [eax + 0x36]
test cl, cl
je 0x460b4c
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 0x460b66
mov edx, dword [ebx + 0x468]
mov dword [edi + 0xfec], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x24]
test al, 8
je 0x460bad
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x460b7e
cmp eax, 2
jne 0x460c00
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.0045fc20
test eax, eax
jne 0x460bee
mov al, byte [ebp - 0x11]
mov byte [0x6ccf5c], al
jmp 0x460c82
test ah, 8
je 0x460c00
mov eax, dword [0x6ccf54]
test eax, eax
je 0x460c00
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x460bc8
cmp eax, 2
jne 0x460c00
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.0045fc20
test eax, eax
je 0x460c79
mov byte [ebx + 0xa44], 0
mov byte [ebx + 0x314], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x24], 0x20
je 0x460cba
mov edx, dword [ebp - 0x20]
push 0x3f
push edx
mov byte [ebp - 0x2d], 1
call fcn.005c2c70
add esp, 8
test eax, eax
jne 0x460c5e
lea ecx, [ebp - 0x1f40]
call fcn.00522560
mov eax, dword [ebp - 0x20]
push 0
push eax
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 3
call fcn.00524450
test eax, eax
je 0x460c48
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 2
call fcn.005225b0
mov al, byte [ebp - 0x2d]
test al, al
je 0x460cba
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa44], 1
call fcn.0045fc20
test eax, eax
jne 0x460caf
mov cl, byte [ebp - 0x11]
mov byte [0x6ccf5c], cl
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005df266
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df266
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 0x460ce2
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x460d4b
lea edx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push edx
jmp 0x460d3b
test al, 4
je 0x460d4b
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x460d4b
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x460d4b
push 0x2e
push esi
call fcn.005c2b92
add esp, 8
test eax, eax
je 0x460d4b
push 8
push 0x6a430c
push eax
call fcn.005c4fd0
add esp, 0xc
test eax, eax
je 0x460d4b
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x460d4b
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 0x4616b3
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 0x4616b3
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 0x460fa4
test eax, eax
mov dword [ebp - 0x5c], eax
jl 0x4616b3
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x24], esi
je 0x4616b3
mov al, byte [ebp - 0x19]
test al, al
jne 0x460dd5
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa44], 1
call fcn.0045fc20
mov byte [ebx + 0xa44], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov edx, eax
or edx, ecx
je 0x4616b3
cmp eax, dword [ebx + 0x140]
jne 0x4616b3
cmp ecx, dword [ebx + 0x144]
jne 0x4616b3
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, 0x6ccec0
call fcn.0042e3c0
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, 0x6cceb0
call fcn.0042e280
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, 0x6ccea0
call fcn.0042e280
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e0]
test al, al
jne 0x461175
mov eax, dword [esi + 0x47c]
test eax, eax
jg 0x461175
jl 0x460e98
mov eax, dword [esi + 0x478]
test eax, eax
ja 0x461175
cmp dword [esi + 0x300], 4
jne 0x460eaf
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x461175
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x460ec8
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x460ec0
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.0058f440
mov esi, dword [esi + 0x60]
test esi, esi
je 0x460ed7
push esi
mov ecx, ebx
call fcn.00588c10
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 [0x6ccf90]
test ecx, ecx
je 0x460f7d
cmp dword [ebx + 0x46c], 1
je 0x460f7d
mov eax, dword [ebx + 0x468]
push 1
push eax
call fcn.004f7120
mov ecx, dword [ebx + 0x468]
mov edx, dword [ebx + 0x46c]
push ecx
mov ecx, dword [0x6ccf90]
push edx
call fcn.004f70e0
mov eax, dword [ebx + 0x468]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.0059dc60
mov ecx, dword [ebp + 0x24]
mov byte [ebp - 4], 5
call fcn.00591a00
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
jmp 0x460fb9
inc eax
jmp 0x460d6b
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 0x46100a
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 [0x6ccf90]
test ecx, ecx
je 0x461025
mov edx, dword [ebp + 0x24]
push 0
mov eax, dword [edx + 0x468]
push eax
call fcn.004f7120
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 0x46104a
add ecx, 0x10
jmp 0x46103e
test eax, eax
je 0x46106f
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.005c3cd0
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 0x461093
push eax
mov ecx, 0x6cce98
call fcn.00432330
mov esi, dword [ebp - 0x18]
jmp 0x4610cd
test eax, eax
mov byte [ebp - 4], 7
je 0x4610bc
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.00588850
push esi
call fcn.005db696
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x4610cd
mov esi, dword [ebp - 0x18]
jmp 0x4610cd
push 1
push 1
push ebx
lea ecx, [esi + 0x4a8]
mov dword [ebp - 4], 2
call fcn.004a46f0
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.0058f060
mov ecx, ebx
call fcn.0058f620
mov eax, dword [esi + 0x220]
test eax, eax
je 0x461108
push eax
mov ecx, esi
call fcn.004664c0
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 0x461153
mov ecx, dword [esi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6cc7b8
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005df3ef
mov esi, dword [ebp - 0x18]
jmp 0x46166d
mov dl, byte [ebp - 0x11]
mov byte [0x6ccf5c], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46119b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46119b
push edx
mov ecx, esi
call fcn.00591d20
mov eax, dword [0x6c826c]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xa
call fcn.005622f0
lea ecx, [ebp - 0x37d0]
call fcn.00522560
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.00522d10
test eax, eax
jne 0x4611fe
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.005225b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df266
jmp 0x46239d
push 1
push esi
lea ecx, [ebp - 0x37d0]
call fcn.00523d30
test eax, eax
je 0x461230
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.005225b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df266
jmp 0x46239d
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.0058f2b0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x20], edi
je 0x461255
push eax
call fcn.005db696
add esp, 4
test edi, edi
jne 0x46125e
mov dword [esi + 0x3c], edi
jmp 0x4612c2
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x461272
mov dword [esi + 0x3c], eax
jmp 0x4612c2
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005db66d
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x46129f
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.0059bb00
jmp 0x4612c2
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 0x46132e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4612fc
mov ecx, dword [ebx + 0x180]
lea edx, [esi + 0x180]
push ecx
push 0x69dfbc
push edx
call fcn.005d809b
add esp, 0xc
mov byte [esi + 0x17e], 1
jmp 0x46132e
mov al, byte [ebx + 0x17e]
test al, al
je 0x46132e
mov al, byte [ebx + 0x31a]
test al, al
je 0x46132e
push 0x6cc7b8
lea ecx, [esi + 0x180]
call fcn.005df3ef
mov byte [esi + 0x17e], 1
mov byte [esi + 0x31a], 1
push 0
call fcn.005c449b
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.00463350
mov eax, dword [esi + 0x468]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.0059e780
cmp dword [esi + 0x300], 4
jne 0x4614e1
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x4614e1
lea ecx, [ebp - 0x1f40]
call fcn.00522560
mov ecx, dword [0x6c826c]
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx + 0x2f4]
lea edx, [ebp + 0x20]
push edx
push 0x6a0a30
push eax
mov byte [ebp - 4], 0xd
call fcn.00460890
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f40]
call fcn.00522d10
test eax, eax
je 0x4614c6
mov edx, dword [esi + 0x2f8]
push 1
push edx
lea ecx, [ebp - 0x1f40]
call fcn.00523d30
test eax, eax
jne 0x4614c6
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46143d
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46143d
mov ecx, dword [esi + 0x2f8]
push edx
call fcn.00591d20
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 0x46145c
push eax
call fcn.005db696
add esp, 4
test edi, edi
jne 0x461465
mov dword [esi + 0x1c], edi
jmp 0x4614c6
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 0x46147b
mov dword [esi + 0x1c], eax
jmp 0x4614c6
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005db66d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x4614a6
push str.URL::set_Cookie__:_Not_enough_memory__n
mov ecx, esi
call fcn.0059bb00
jmp 0x4614c6
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.005df266
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 0xb
call fcn.005225b0
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 0x46151d
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x468], ecx
je 0x461520
mov edx, dword [ebp + 0x20]
inc esi
jmp 0x461500
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x20], esi
mov byte [ebp - 4], 0xf
call fcn.00591a00
jmp 0x46153c
mov ecx, dword [0x6ccf90]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x461558
mov eax, dword [ebp + 0x1c]
push 0
push eax
call fcn.004f7120
test esi, esi
jl 0x4615b1
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 0x461589
add ecx, 0x10
jmp 0x46157d
mov edi, dword [ebp + 0x20]
test eax, eax
je 0x4615ae
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.005c3cd0
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8c0]
test eax, eax
je 0x46160e
push ebx
mov ecx, 0x6cce98
call fcn.00432330
mov esi, dword [ebp - 0x18]
push 0x6cc7b8
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005df3ef
mov al, byte [esi + 0x12e0]
test al, al
je 0x461634
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x468]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x46164c
test ebx, ebx
mov byte [ebp - 4], 0x11
je 0x4615c6
mov ecx, ebx
call fcn.00588850
push ebx
call fcn.005db696
add esp, 4
jmp 0x4615c6
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.005225b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df266
mov eax, dword [esi + 0x12dc]
test eax, eax
je 0x4616a5
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46169b
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 [0x6ccf5c], cl
jmp 0x46239d
mov al, byte [ebp - 0x2e]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6ccf5c], dl
je 0x4616ca
mov al, byte [ebp + 0x14]
test al, al
je 0x4616dd
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e4], esi
jle 0x46181c
jmp 0x4616e2
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x440
call fcn.005db66d
mov ecx, eax
add esp, 4
mov dword [ebp + 0x14], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x14
je 0x461713
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push esi
push eax
lea eax, [edi + 0x694]
push edx
push eax
call fcn.00435b20
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x46239d
mov cl, byte [ebp + 0x20]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x69dfbc
push eax
call fcn.005d809b
mov ecx, dword [ebp - 0x40]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x69dfbc
push edx
call fcn.005d809b
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.005dbbd0
push eax
push 0x82
mov ecx, esi
call fcn.005daee5
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, ebx
call fcn.00591d10
push 5
mov ecx, esi
call fcn.005de966
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x46239d
mov eax, dword [edi + 0x12dc]
test eax, eax
je 0x461801
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 0x461801
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 0x46239d
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.005935c0
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 0x461863
push eax
call fcn.005c2c42
add esp, 4
test eax, eax
jne 0x461863
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x461a9c
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
jne 0x461883
mov dword [ebp + 0x1c], eax
jmp 0x461a9c
push 0x2e
push esi
call fcn.005c2b92
xor esi, esi
add esp, 8
cmp eax, esi
je 0x461a9c
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.005df326
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.004a0f00
test al, al
je 0x461a84
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2ec], eax
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x4618e9
mov edi, eax
jmp 0x4618ef
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.005c2c42
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x69e054
jne 0x46190a
mov edi, 0x6cc7bc
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x461914
lea eax, [ebp - 0x38]
mov ecx, 0x69eb64
test ecx, ecx
je 0x461a84
test eax, eax
je 0x461a84
test edi, edi
je 0x461a84
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.00401f50
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.00401f50
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.00401f50
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1b
call fcn.00401070
push 0x69eb64
lea ecx, [ebp - 0x74]
call fcn.00401ec0
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00401f40
push eax
call fcn.005c2c42
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2c42
mov dword [ebp + 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x8c]
add edi, esi
call fcn.00401f40
push eax
call fcn.005c2c42
mov ecx, dword [ebp + 0x24]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005db66d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x68], edx
je 0x461a51
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.00401f40
push eax
lea ecx, [ebp - 0x58]
call fcn.00401f40
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401f40
push eax
lea ecx, [ebp - 0x74]
call fcn.00401f40
push eax
mov eax, dword [ebp - 0x68]
push esi
push eax
call fcn.005c2bd2
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005c2c42
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.005df266
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 0x461bbe
test esi, esi
jne 0x461bbe
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x461ac5
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.0047b9f0
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x461b64
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x461b64
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461b64
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x461b64
push eax
call fcn.005c2c42
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x461b64
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.00401f50
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
test eax, eax
jne 0x461b47
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f50
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.00401070
jmp 0x462291
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x462291
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462291
push esi
call fcn.005c2c42
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x462291
push esi
call fcn.005c2c42
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c2dda
add esp, 0xc
jmp 0x462291
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x461bc8
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.005c39f8
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 0x461cb0
cmp eax, edi
je 0x461c5e
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461c5e
mov eax, dword [ebp - 0x3c]
cmp eax, esi
ja 0x461c5e
push eax
call fcn.005c2c42
mov edx, dword [ebp - 0x3c]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x461c5e
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d700
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.00401f40
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f50
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x461e2f
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461e2f
push esi
call fcn.005c2c42
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db66d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x461e2f
push esi
call fcn.005c2c42
mov edx, dword [ebp - 0x3c]
push esi
push edx
mov dword [ebp - 0x34], eax
call fcn.005c2dda
add esp, 0xc
jmp 0x461e2f
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x461d29
cmp eax, edi
je 0x461d29
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461d29
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
cmp eax, ecx
ja 0x461d29
push eax
call fcn.005c2c42
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x461d29
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d700
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1f
call fcn.00401f40
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401f50
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x461d90
lea ecx, [ebp - 0x3c]
call fcn.00401070
lea eax, [ebp - 0x2b0]
test eax, eax
je 0x461d90
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461d90
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c2c42
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x461d90
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c2c42
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2b0]
push edx
push eax
call fcn.005c2dda
add esp, 0xc
lea ecx, [ebp - 0x6b0]
test ecx, ecx
je 0x461e2f
lea edx, [ebp - 0x6b0]
push edx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461e2f
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x461dc5
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x461dc7
xor esi, esi
lea eax, [ebp - 0x6b0]
push eax
call fcn.005c2c42
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db66d
mov esi, eax
add esp, 8
test esi, esi
je 0x461e2f
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x461e08
push eax
push esi
call fcn.005c2dda
lea edx, [ebp - 0x6b0]
push edx
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x461e18
lea eax, [ebp - 0x6b0]
push eax
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.005c2c42
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 0x461ef8
cmp eax, edi
je 0x461ea6
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461ea6
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x461ea6
push eax
call fcn.005c2c42
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x461ea6
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d700
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x21
call fcn.00401f40
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f50
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x462059
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462059
push esi
call fcn.005c2c42
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x462064
push esi
call fcn.005c2c42
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005c2dda
add esp, 0xc
jmp 0x462059
lea edx, [ebp - 0x54]
test edx, edx
je 0x461f62
cmp eax, edi
je 0x461f62
lea eax, [ebp - 0x54]
push eax
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461f62
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
cmp eax, ecx
ja 0x461f62
push eax
call fcn.005c2c42
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x461f62
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d700
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x22
call fcn.00401f40
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f50
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x461fba
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x54]
test eax, eax
je 0x461fba
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x461fba
lea edx, [ebp - 0x54]
push edx
call fcn.005c2c42
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x461fba
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c2c42
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.005c2dda
add esp, 0xc
lea ecx, [ebp - 0x4b0]
test ecx, ecx
je 0x462059
lea edx, [ebp - 0x4b0]
push edx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462059
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x461fef
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x461ff1
xor esi, esi
lea eax, [ebp - 0x4b0]
push eax
call fcn.005c2c42
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db66d
mov esi, eax
add esp, 8
test esi, esi
je 0x462059
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462032
push eax
push esi
call fcn.005c2dda
lea edx, [ebp - 0x4b0]
push edx
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x462042
lea eax, [ebp - 0x4b0]
push eax
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c2c42
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x462064
mov esi, eax
jmp 0x46206a
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005c2c42
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x462111
mov ecx, 0x69e054
test ecx, ecx
je 0x462111
push ecx
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462111
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4620ad
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x4620af
xor esi, esi
push 0x69e054
call fcn.005c2c42
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005db66d
mov esi, eax
add esp, 8
test esi, esi
je 0x462111
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4620ec
push eax
push esi
call fcn.005c2dda
push 0x69e054
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x4620fa
push 0x69e054
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c2c42
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x462174
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x462174
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462174
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x462174
push eax
call fcn.005c2c42
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x462174
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d700
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0x23
test eax, eax
jne 0x46215d
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f50
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x4621bd
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x4621bd
push esi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x4621bd
push esi
call fcn.005c2c42
lea eax, [eax + eax + 2]
push eax
call fcn.005db66d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4621bd
push esi
call fcn.005c2c42
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c2dda
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
mov edi, eax
jne 0x4621c9
lea edi, [ebp - 0x38]
test edi, edi
je 0x462246
push edi
call fcn.005c2c42
add esp, 4
test eax, eax
je 0x462246
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4621ee
push eax
call fcn.005c2c42
add esp, 4
mov esi, eax
jmp 0x4621f0
xor esi, esi
push edi
call fcn.005c2c42
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005db66d
mov esi, eax
add esp, 8
test esi, esi
je 0x462246
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x462225
push eax
push esi
call fcn.005c2dda
push edi
push esi
call fcn.005c2db0
add esp, 0x10
jmp 0x46222f
push edi
push esi
call fcn.005c2dda
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401070
push esi
mov dword [ebp - 0x4c], esi
call fcn.005c2c42
add esp, 4
mov dword [ebp - 0x44], eax
test byte [ebx + 0x164], 0x5c
je 0x462276
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46225f
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.0047b9f0
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 0x4622ba
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17d], 1
mov byte [ebx + 0x17c], 1
call fcn.0059e310
jmp 0x462424
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x4c]
push 0
push eax
push ebx
call fcn.0047b010
cmp eax, 2
jne 0x4623f9
mov ecx, dword [0x6ccf90]
test ecx, ecx
je 0x4622ed
mov edx, dword [ebx + 0x468]
push 1
push edx
call fcn.004f7120
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x20], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x462369
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 0x46231e
inc eax
jmp 0x4622fc
test eax, eax
jl 0x462369
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 0x462341
add edx, 0x10
jmp 0x462335
mov esi, dword [ebp + 0x20]
test ecx, ecx
je 0x462366
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.005c3cd0
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8c0]
mov ecx, ebx
test eax, eax
je 0x4623cd
call fcn.00591a00
push ebx
mov ecx, 0x6cce98
call fcn.00432330
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.005df266
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df266
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.00591a00
test ebx, ebx
mov byte [ebp - 4], 0x25
je 0x4623ea
mov ecx, ebx
call fcn.00588850
push ebx
call fcn.005db696
add esp, 4
mov dword [ebp - 4], 0x16
jmp 0x462385
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x462416
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17c], 1
call fcn.0059e310
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x462424
mov byte [ebx + 0x319], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x46242e
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.0058f440
push 1
push 1
push ebx
lea ecx, [edi + 0x4a8]
call fcn.004a46f0
mov eax, dword [ebx + 0x474]
test eax, eax
jg 0x462466
jl 0x46245c
mov eax, dword [ebx + 0x470]
test eax, eax
ja 0x462466
mov al, byte [ebx + 0x317]
test al, al
je 0x462495
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x462495
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46247a
cmp eax, 2
jne 0x462495
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.0058f620
mov eax, dword [edi + 0x220]
test eax, eax
je 0x4624ae
push eax
mov ecx, edi
call fcn.004664c0
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 0x462385
mov ecx, dword [edi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x462385