Function at 0x4607a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6d11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c0
call fcn.005c3360
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 0x4621d5
push ebx
call fcn.0048fb40
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.0058f350
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.00464c70
test al, al
mov byte [ebp - 0x2e], al
jne 0x460813
mov byte [ebx + 0x31f], 0
jmp 0x46081a
mov al, byte [ebp + 0x14]
test al, al
je 0x460824
mov eax, dword [esi + 0x2e4]
test eax, eax
jle 0x46082b
mov byte [ebx + 0x329], 1
mov esi, dword [esi + 0x2e4]
test esi, esi
mov dword [ebp - 0x5c], esi
jle 0x46089e
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e0]
test al, al
jne 0x46089e
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x46089e
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 0x460870
inc eax
jmp 0x460853
test eax, eax
jl 0x46089e
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x46089e
mov ecx, dword [eax + 0x47c]
add eax, 0x478
test ecx, ecx
jg 0x46089e
jl 0x460897
cmp dword [eax], 0
ja 0x46089e
mov byte [ebx + 0x329], 0
mov ecx, 0x6ccf58
call fcn.0051daf0
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6ccf5c]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x4608c5
mov byte [0x6ccf5c], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.00491f00
add esp, 4
test eax, eax
je 0x4608f9
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4608f0
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 0x4608f9
push esi
call fcn.00492100
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.00562630
mov edx, dword [esi]
lea eax, [ebp - 0x40]
push edx
push 0x69dfbc
push eax
call fcn.005d838b
add esp, 0xc
mov ecx, ebx
push 1
call fcn.0058f820
mov ecx, dword [0x6ccf90]
test ecx, ecx
je 0x46094a
mov edx, dword [ebx + 0x468]
push edx
push 1
call fcn.004f6fc0
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x460986
mov cl, byte [eax + 0x36]
test cl, cl
je 0x46096c
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 0x460986
mov edx, dword [ebx + 0x468]
mov dword [edi + 0xfec], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x24]
test al, 8
je 0x4609cd
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46099e
cmp eax, 2
jne 0x460a20
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.0045fa40
test eax, eax
jne 0x460a0e
mov al, byte [ebp - 0x11]
mov byte [0x6ccf5c], al
jmp 0x460aa2
test ah, 8
je 0x460a20
mov eax, dword [0x6ccf54]
test eax, eax
je 0x460a20
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4609e8
cmp eax, 2
jne 0x460a20
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.0045fa40
test eax, eax
je 0x460a99
mov byte [ebx + 0xa44], 0
mov byte [ebx + 0x314], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x24], 0x20
je 0x460ada
mov edx, dword [ebp - 0x20]
push 0x3f
push edx
mov byte [ebp - 0x2d], 1
call fcn.005c2f50
add esp, 8
test eax, eax
jne 0x460a7e
lea ecx, [ebp - 0x1f40]
call fcn.00522760
mov eax, dword [ebp - 0x20]
push 0
push eax
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 3
call fcn.00524650
test eax, eax
je 0x460a68
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 2
call fcn.005227b0
mov al, byte [ebp - 0x2d]
test al, al
je 0x460ada
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa44], 1
call fcn.0045fa40
test eax, eax
jne 0x460acf
mov cl, byte [ebp - 0x11]
mov byte [0x6ccf5c], cl
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005df556
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df556
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 0x460b02
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x460b6b
lea edx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push edx
jmp 0x460b5b
test al, 4
je 0x460b6b
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x460b6b
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x460b6b
push 0x2e
push esi
call fcn.005c2e6a
add esp, 8
test eax, eax
je 0x460b6b
push 8
push 0x6a4310
push eax
call fcn.005c52b0
add esp, 0xc
test eax, eax
je 0x460b6b
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x460b6b
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 0x4614d3
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 0x4614d3
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 0x460dc4
test eax, eax
mov dword [ebp - 0x5c], eax
jl 0x4614d3
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x24], esi
je 0x4614d3
mov al, byte [ebp - 0x19]
test al, al
jne 0x460bf5
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa44], 1
call fcn.0045fa40
mov byte [ebx + 0xa44], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov edx, eax
or edx, ecx
je 0x4614d3
cmp eax, dword [ebx + 0x140]
jne 0x4614d3
cmp ecx, dword [ebx + 0x144]
jne 0x4614d3
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.0042e220
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.0042e0e0
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.0042e0e0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e0]
test al, al
jne 0x460f95
mov eax, dword [esi + 0x47c]
test eax, eax
jg 0x460f95
jl 0x460cb8
mov eax, dword [esi + 0x478]
test eax, eax
ja 0x460f95
cmp dword [esi + 0x300], 4
jne 0x460ccf
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x460f95
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x460ce8
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x460ce0
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.0058f730
mov esi, dword [esi + 0x60]
test esi, esi
je 0x460cf7
push esi
mov ecx, ebx
call fcn.00588ef0
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 0x460d9d
cmp dword [ebx + 0x46c], 1
je 0x460d9d
mov eax, dword [ebx + 0x468]
push 1
push eax
call fcn.004f7000
mov ecx, dword [ebx + 0x468]
mov edx, dword [ebx + 0x46c]
push ecx
mov ecx, dword [0x6ccf90]
push edx
call fcn.004f6fc0
mov eax, dword [ebx + 0x468]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.0059df50
mov ecx, dword [ebp + 0x24]
mov byte [ebp - 4], 5
call fcn.00591cf0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
jmp 0x460dd9
inc eax
jmp 0x460b8b
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 0x460e2a
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 0x460e45
mov edx, dword [ebp + 0x24]
push 0
mov eax, dword [edx + 0x468]
push eax
call fcn.004f7000
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 0x460e6a
add ecx, 0x10
jmp 0x460e5e
test eax, eax
je 0x460e8f
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.005c3fb0
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 0x460eb3
push eax
mov ecx, 0x6cce98
call fcn.00432190
mov esi, dword [ebp - 0x18]
jmp 0x460eed
test eax, eax
mov byte [ebp - 4], 7
je 0x460edc
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.00588b30
push esi
call fcn.005db986
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x460eed
mov esi, dword [ebp - 0x18]
jmp 0x460eed
push 1
push 1
push ebx
lea ecx, [esi + 0x4a8]
mov dword [ebp - 4], 2
call fcn.004a4720
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.0058f350
mov ecx, ebx
call fcn.0058f910
mov eax, dword [esi + 0x220]
test eax, eax
je 0x460f28
push eax
mov ecx, esi
call fcn.004662d0
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 0x460f73
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.005df6df
mov esi, dword [ebp - 0x18]
jmp 0x46148d
mov dl, byte [ebp - 0x11]
mov byte [0x6ccf5c], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x460fbb
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x460fbb
push edx
mov ecx, esi
call fcn.00592010
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.00562630
lea ecx, [ebp - 0x37d0]
call fcn.00522760
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.00522f10
test eax, eax
jne 0x46101e
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.005227b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df556
jmp 0x4621bd
push 1
push esi
lea ecx, [ebp - 0x37d0]
call fcn.00523f30
test eax, eax
je 0x461050
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.005227b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df556
jmp 0x4621bd
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.0058f5a0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x20], edi
je 0x461075
push eax
call fcn.005db986
add esp, 4
test edi, edi
jne 0x46107e
mov dword [esi + 0x3c], edi
jmp 0x4610e2
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x461092
mov dword [esi + 0x3c], eax
jmp 0x4610e2
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005db95d
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x4610bf
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.0059bdf0
jmp 0x4610e2
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 0x46114e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46111c
mov ecx, dword [ebx + 0x180]
lea edx, [esi + 0x180]
push ecx
push 0x69dfbc
push edx
call fcn.005d838b
add esp, 0xc
mov byte [esi + 0x17e], 1
jmp 0x46114e
mov al, byte [ebx + 0x17e]
test al, al
je 0x46114e
mov al, byte [ebx + 0x31a]
test al, al
je 0x46114e
push 0x6cc7b8
lea ecx, [esi + 0x180]
call fcn.005df6df
mov byte [esi + 0x17e], 1
mov byte [esi + 0x31a], 1
push 0
call fcn.005c477b
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.00463160
mov eax, dword [esi + 0x468]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.0059ea70
cmp dword [esi + 0x300], 4
jne 0x461301
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x461301
lea ecx, [ebp - 0x1f40]
call fcn.00522760
mov ecx, dword [0x6c826c]
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx + 0x2f4]
lea edx, [ebp + 0x20]
push edx
push 0x6a0a3c
push eax
mov byte [ebp - 4], 0xd
call fcn.004606b0
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f40]
call fcn.00522f10
test eax, eax
je 0x4612e6
mov edx, dword [esi + 0x2f8]
push 1
push edx
lea ecx, [ebp - 0x1f40]
call fcn.00523f30
test eax, eax
jne 0x4612e6
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46125d
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46125d
mov ecx, dword [esi + 0x2f8]
push edx
call fcn.00592010
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 0x46127c
push eax
call fcn.005db986
add esp, 4
test edi, edi
jne 0x461285
mov dword [esi + 0x1c], edi
jmp 0x4612e6
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 0x46129b
mov dword [esi + 0x1c], eax
jmp 0x4612e6
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005db95d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x4612c6
push str.URL::set_Cookie__:_Not_enough_memory__n
mov ecx, esi
call fcn.0059bdf0
jmp 0x4612e6
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.005df556
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 0xb
call fcn.005227b0
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 0x46133d
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x468], ecx
je 0x461340
mov edx, dword [ebp + 0x20]
inc esi
jmp 0x461320
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x20], esi
mov byte [ebp - 4], 0xf
call fcn.00591cf0
jmp 0x46135c
mov ecx, dword [0x6ccf90]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x461378
mov eax, dword [ebp + 0x1c]
push 0
push eax
call fcn.004f7000
test esi, esi
jl 0x4613d1
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 0x4613a9
add ecx, 0x10
jmp 0x46139d
mov edi, dword [ebp + 0x20]
test eax, eax
je 0x4613ce
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.005c3fb0
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8c0]
test eax, eax
je 0x46142e
push ebx
mov ecx, 0x6cce98
call fcn.00432190
mov esi, dword [ebp - 0x18]
push 0x6cc7b8
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005df6df
mov al, byte [esi + 0x12e0]
test al, al
je 0x461454
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x468]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x46146c
test ebx, ebx
mov byte [ebp - 4], 0x11
je 0x4613e6
mov ecx, ebx
call fcn.00588b30
push ebx
call fcn.005db986
add esp, 4
jmp 0x4613e6
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.005227b0
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005df556
mov eax, dword [esi + 0x12dc]
test eax, eax
je 0x4614c5
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4614bb
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 0x4621bd
mov al, byte [ebp - 0x2e]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6ccf5c], dl
je 0x4614ea
mov al, byte [ebp + 0x14]
test al, al
je 0x4614fd
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e4], esi
jle 0x46163c
jmp 0x461502
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x440
call fcn.005db95d
mov ecx, eax
add esp, 4
mov dword [ebp + 0x14], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x14
je 0x461533
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push esi
push eax
lea eax, [edi + 0x694]
push edx
push eax
call fcn.00435960
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x4621bd
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.005d838b
mov ecx, dword [ebp - 0x40]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x69dfbc
push edx
call fcn.005d838b
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.005dbec0
push eax
push 0x82
mov ecx, esi
call fcn.005db1d5
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, ebx
call fcn.00592000
push 5
mov ecx, esi
call fcn.005dec56
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x4621bd
mov eax, dword [edi + 0x12dc]
test eax, eax
je 0x461621
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 0x461621
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 0x4621bd
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.005938b0
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 0x461683
push eax
call fcn.005c2f1a
add esp, 4
test eax, eax
jne 0x461683
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4618bc
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
jne 0x4616a3
mov dword [ebp + 0x1c], eax
jmp 0x4618bc
push 0x2e
push esi
call fcn.005c2e6a
xor esi, esi
add esp, 8
cmp eax, esi
je 0x4618bc
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.005df616
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.004a0f30
test al, al
je 0x4618a4
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2ec], eax
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x461709
mov edi, eax
jmp 0x46170f
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.005c2f1a
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x69e054
jne 0x46172a
mov edi, 0x6cc7bc
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x461734
lea eax, [ebp - 0x38]
mov ecx, 0x69eb44
test ecx, ecx
je 0x4618a4
test eax, eax
je 0x4618a4
test edi, edi
je 0x4618a4
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 0x69eb44
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.005c2f1a
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
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.005c2f1a
mov ecx, dword [ebp + 0x24]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005db95d
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x68], edx
je 0x461871
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.005c2eaa
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005c2f1a
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.005df556
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 0x4619de
test esi, esi
jne 0x4619de
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x4618e5
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.0047b810
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x461984
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x461984
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461984
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x461984
push eax
call fcn.005c2f1a
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x461984
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 0x461967
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 0x4620b1
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x4620b1
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x4620b1
push esi
call fcn.005c2f1a
lea eax, [eax + eax + 2]
push eax
call fcn.005db95d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x4620b1
push esi
call fcn.005c2f1a
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c30ba
add esp, 0xc
jmp 0x4620b1
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x4619e8
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.005c3cd8
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 0x461ad0
cmp eax, edi
je 0x461a7e
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461a7e
mov eax, dword [ebp - 0x3c]
cmp eax, esi
ja 0x461a7e
push eax
call fcn.005c2f1a
mov edx, dword [ebp - 0x3c]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x461a7e
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
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 0x461c4f
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461c4f
push esi
call fcn.005c2f1a
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db95d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x461c4f
push esi
call fcn.005c2f1a
mov edx, dword [ebp - 0x3c]
push esi
push edx
mov dword [ebp - 0x34], eax
call fcn.005c30ba
add esp, 0xc
jmp 0x461c4f
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x461b49
cmp eax, edi
je 0x461b49
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461b49
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
cmp eax, ecx
ja 0x461b49
push eax
call fcn.005c2f1a
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x461b49
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d680
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 0x461bb0
lea ecx, [ebp - 0x3c]
call fcn.00401070
lea eax, [ebp - 0x2b0]
test eax, eax
je 0x461bb0
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461bb0
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c2f1a
lea eax, [eax + eax + 2]
push eax
call fcn.005db95d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x461bb0
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c2f1a
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2b0]
push edx
push eax
call fcn.005c30ba
add esp, 0xc
lea ecx, [ebp - 0x6b0]
test ecx, ecx
je 0x461c4f
lea edx, [ebp - 0x6b0]
push edx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461c4f
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x461be5
push eax
call fcn.005c2f1a
add esp, 4
mov esi, eax
jmp 0x461be7
xor esi, esi
lea eax, [ebp - 0x6b0]
push eax
call fcn.005c2f1a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db95d
mov esi, eax
add esp, 8
test esi, esi
je 0x461c4f
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x461c28
push eax
push esi
call fcn.005c30ba
lea edx, [ebp - 0x6b0]
push edx
push esi
call fcn.005c3090
add esp, 0x10
jmp 0x461c38
lea eax, [ebp - 0x6b0]
push eax
push esi
call fcn.005c30ba
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.005c2f1a
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 0x461d18
cmp eax, edi
je 0x461cc6
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461cc6
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x461cc6
push eax
call fcn.005c2f1a
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x461cc6
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
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 0x461e79
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461e79
push esi
call fcn.005c2f1a
lea eax, [eax + eax + 2]
push eax
call fcn.005db95d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x461e84
push esi
call fcn.005c2f1a
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005c30ba
add esp, 0xc
jmp 0x461e79
lea edx, [ebp - 0x54]
test edx, edx
je 0x461d82
cmp eax, edi
je 0x461d82
lea eax, [ebp - 0x54]
push eax
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461d82
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
cmp eax, ecx
ja 0x461d82
push eax
call fcn.005c2f1a
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x461d82
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d680
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 0x461dda
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x54]
test eax, eax
je 0x461dda
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461dda
lea edx, [ebp - 0x54]
push edx
call fcn.005c2f1a
lea eax, [eax + eax + 2]
push eax
call fcn.005db95d
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x461dda
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c2f1a
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.005c30ba
add esp, 0xc
lea ecx, [ebp - 0x4b0]
test ecx, ecx
je 0x461e79
lea edx, [ebp - 0x4b0]
push edx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461e79
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x461e0f
push eax
call fcn.005c2f1a
add esp, 4
mov esi, eax
jmp 0x461e11
xor esi, esi
lea eax, [ebp - 0x4b0]
push eax
call fcn.005c2f1a
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005db95d
mov esi, eax
add esp, 8
test esi, esi
je 0x461e79
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x461e52
push eax
push esi
call fcn.005c30ba
lea edx, [ebp - 0x4b0]
push edx
push esi
call fcn.005c3090
add esp, 0x10
jmp 0x461e62
lea eax, [ebp - 0x4b0]
push eax
push esi
call fcn.005c30ba
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c2f1a
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x461e84
mov esi, eax
jmp 0x461e8a
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005c2f1a
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x461f31
mov ecx, 0x69e054
test ecx, ecx
je 0x461f31
push ecx
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461f31
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x461ecd
push eax
call fcn.005c2f1a
add esp, 4
mov esi, eax
jmp 0x461ecf
xor esi, esi
push 0x69e054
call fcn.005c2f1a
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005db95d
mov esi, eax
add esp, 8
test esi, esi
je 0x461f31
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x461f0c
push eax
push esi
call fcn.005c30ba
push 0x69e054
push esi
call fcn.005c3090
add esp, 0x10
jmp 0x461f1a
push 0x69e054
push esi
call fcn.005c30ba
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c2f1a
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x461f94
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x461f94
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461f94
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x461f94
push eax
call fcn.005c2f1a
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x461f94
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d680
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0x23
test eax, eax
jne 0x461f7d
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 0x461fdd
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x461fdd
push esi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x461fdd
push esi
call fcn.005c2f1a
lea eax, [eax + eax + 2]
push eax
call fcn.005db95d
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x461fdd
push esi
call fcn.005c2f1a
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c30ba
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
mov edi, eax
jne 0x461fe9
lea edi, [ebp - 0x38]
test edi, edi
je 0x462066
push edi
call fcn.005c2f1a
add esp, 4
test eax, eax
je 0x462066
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46200e
push eax
call fcn.005c2f1a
add esp, 4
mov esi, eax
jmp 0x462010
xor esi, esi
push edi
call fcn.005c2f1a
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005db95d
mov esi, eax
add esp, 8
test esi, esi
je 0x462066
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x462045
push eax
push esi
call fcn.005c30ba
push edi
push esi
call fcn.005c3090
add esp, 0x10
jmp 0x46204f
push edi
push esi
call fcn.005c30ba
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401070
push esi
mov dword [ebp - 0x4c], esi
call fcn.005c2f1a
add esp, 4
mov dword [ebp - 0x44], eax
test byte [ebx + 0x164], 0x5c
je 0x462096
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46207f
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.0047b810
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 0x4620da
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17d], 1
mov byte [ebx + 0x17c], 1
call fcn.0059e600
jmp 0x462244
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x4c]
push 0
push eax
push ebx
call fcn.0047ae30
cmp eax, 2
jne 0x462219
mov ecx, dword [0x6ccf90]
test ecx, ecx
je 0x46210d
mov edx, dword [ebx + 0x468]
push 1
push edx
call fcn.004f7000
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x20], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x462189
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 0x46213e
inc eax
jmp 0x46211c
test eax, eax
jl 0x462189
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 0x462161
add edx, 0x10
jmp 0x462155
mov esi, dword [ebp + 0x20]
test ecx, ecx
je 0x462186
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.005c3fb0
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8c0]
mov ecx, ebx
test eax, eax
je 0x4621ed
call fcn.00591cf0
push ebx
mov ecx, 0x6cce98
call fcn.00432190
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.005df556
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005df556
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.00591cf0
test ebx, ebx
mov byte [ebp - 4], 0x25
je 0x46220a
mov ecx, ebx
call fcn.00588b30
push ebx
call fcn.005db986
add esp, 4
mov dword [ebp - 4], 0x16
jmp 0x4621a5
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x462236
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17c], 1
call fcn.0059e600
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x462244
mov byte [ebx + 0x319], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x46224e
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.0058f730
push 1
push 1
push ebx
lea ecx, [edi + 0x4a8]
call fcn.004a4720
mov eax, dword [ebx + 0x474]
test eax, eax
jg 0x462286
jl 0x46227c
mov eax, dword [ebx + 0x470]
test eax, eax
ja 0x462286
mov al, byte [ebx + 0x317]
test al, al
je 0x4622b5
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x4622b5
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46229a
cmp eax, 2
jne 0x4622b5
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.0058f910
mov eax, dword [edi + 0x220]
test eax, eax
je 0x4622ce
push eax
mov ecx, edi
call fcn.004662d0
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 0x4621a5
mov ecx, dword [edi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x4621a5