Function at 0x469db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61295d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c8
call fcn.005de290
push ebx
mov ebx, dword [ebp + 0xc]
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 0x46bb13
push ebx
call fcn.0049dc70
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.005a8f50
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.0046f230
test al, al
mov byte [ebp - 0x32], al
jne 0x469e23
mov byte [ebx + 0x330], 0
jmp 0x469e2a
mov al, byte [ebp + 0x18]
test al, al
je 0x469e34
mov eax, dword [esi + 0x2e8]
test eax, eax
jle 0x469e3b
mov byte [ebx + 0x33a], 1
mov esi, dword [esi + 0x2e8]
test esi, esi
mov dword [ebp - 0x58], esi
jle 0x469eae
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e4]
test al, al
jne 0x469eae
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x469eae
mov edi, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x58]
cmp dword [esi + 0x478], edi
je 0x469e80
inc eax
jmp 0x469e63
test eax, eax
jl 0x469eae
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x469eae
mov ecx, dword [eax + 0x48c]
add eax, 0x488
test ecx, ecx
jg 0x469eae
jl 0x469ea7
cmp dword [eax], 0
ja 0x469eae
mov byte [ebx + 0x33a], 0
mov ecx, 0x6ec890
call fcn.00530b40
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6ec894]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e8]
test eax, eax
jle 0x469ed5
mov byte [0x6ec894], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.004a0060
add esp, 4
test eax, eax
je 0x469f09
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x469f00
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 0x469f09
push esi
call fcn.004a0260
add esp, 4
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x20]
push 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00579ad0
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push edx
push 0x6bc090
push eax
call fcn.005f368b
add esp, 0xc
mov ecx, ebx
push 1
call fcn.005a9420
mov ecx, dword [0x6ec8c8]
test ecx, ecx
je 0x469f5a
mov edx, dword [ebx + 0x478]
push edx
push 1
call fcn.00507b80
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x469f96
mov cl, byte [eax + 0x36]
test cl, cl
je 0x469f7c
mov ecx, dword [ebx + 0x478]
mov dword [edi + 0xfec], ecx
mov byte [eax + 0x36], 0
mov eax, dword [edi + 0x5c]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x469f96
mov edx, dword [ebx + 0x478]
mov dword [edi + 0xff0], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x28]
test al, 8
je 0x46a17b
mov ecx, dword [ebx + 0x318]
test ecx, ecx
jne 0x46a17b
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x469fc0
cmp eax, 2
jne 0x46a1ce
mov edx, dword [ebx + 0x13c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46a133
push 0x5c
push edx
call fcn.005df0e0
add esp, 8
test eax, eax
je 0x469fea
inc eax
jmp 0x469ff0
mov eax, dword [ebx + 0x13c]
push 0x6c0004
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x46a133
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46a020
push 0x2e
push eax
call fcn.005de150
add esp, 8
test eax, eax
jne 0x46a133
mov edi, dword [ebx + 0x128]
test edi, edi
je 0x46a03a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x46a133
mov eax, dword [ebp - 0x18]
mov byte [ebx + 0xa54], 0
mov byte [ebx + 0x324], 0
mov ecx, dword [ebx + 0x478]
mov edx, dword [eax + 0x1c8]
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x18], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x46a080
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x478], ecx
je 0x46a083
mov edx, dword [ebp + 0x18]
inc esi
jmp 0x46a063
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 3
call fcn.005ab960
jmp 0x46a09f
mov ecx, dword [0x6ec8c8]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x46a0bb
mov eax, dword [ebp + 0x24]
push 0
push eax
call fcn.00507bc0
test esi, esi
jl 0x46a114
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1c8]
mov edx, 1
mov dword [ebp + 0x18], 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 0x46a0ec
add ecx, 0x10
jmp 0x46a0e0
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x46a111
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.005df1c0
add esp, 0xc
dec dword [edi + 8]
push ebx
mov ecx, 0x6ec7d0
mov byte [ebx + 0xa50], 1
call fcn.00435b90
mov al, byte [ebp - 0x11]
mov byte [0x6ec894], al
jmp 0x46a250
mov ecx, dword [ebp - 0x18]
push 1
push 0
push 0
push 0
mov byte [ebx + 0xa54], 1
push ebx
mov byte [ebx + 0x324], 1
call fcn.00469090
test eax, eax
jne 0x46a164
mov cl, byte [ebp - 0x11]
mov byte [0x6ec894], cl
jmp 0x46a250
mov edi, dword [ebp - 0x18]
mov byte [ebx + 0xa54], 0
mov byte [ebx + 0x324], 0
mov byte [ebp - 0x19], 1
jmp 0x46a1ce
test ah, 8
je 0x46a1ce
mov eax, dword [0x6ec88c]
test eax, eax
je 0x46a1ce
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46a196
cmp eax, 2
jne 0x46a1ce
push 1
push 1
push 0
push 0
mov byte [ebx + 0xa54], 1
push ebx
mov ecx, edi
mov byte [ebx + 0x324], 1
call fcn.00469090
test eax, eax
je 0x46a247
mov byte [ebx + 0xa54], 0
mov byte [ebx + 0x324], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x28], 0x20
je 0x46a288
mov eax, dword [ebp - 0x20]
push 0x3f
push eax
mov byte [ebp - 0x31], 1
call fcn.005de150
add esp, 8
test eax, eax
jne 0x46a22c
lea ecx, [ebp - 0x1f48]
call fcn.00535780
mov ecx, dword [ebp - 0x20]
push 0
push ecx
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 5
call fcn.00537670
test eax, eax
je 0x46a216
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 2
call fcn.005357d0
mov al, byte [ebp - 0x31]
test al, al
je 0x46a288
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa54], 1
call fcn.00469090
test eax, eax
jne 0x46a27d
mov dl, byte [ebp - 0x11]
mov byte [0x6ec894], dl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.005fa859
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005fa859
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 0x24
mov byte [ebx + 0xa54], 0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 0x28]
test ah, 1
je 0x46a2b0
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x438]
test eax, eax
je 0x46a319
lea ecx, [ebp + 0x28]
push 4
mov dword [ebp + 0x28], 1
push ecx
jmp 0x46a309
test al, 4
je 0x46a319
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x46a319
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46a319
push 0x2e
push esi
call fcn.005de073
add esp, 8
test eax, eax
je 0x46a319
push 8
push 0x6c2878
push eax
call fcn.005e0470
add esp, 0xc
test eax, eax
je 0x46a319
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x438]
test eax, eax
je 0x46a319
lea edx, [ebp + 0x28]
push 4
mov dword [ebp + 0x28], 1
push edx
push 4
push 0
push 0x6c2870
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi + 0x2e8]
test eax, eax
mov dword [ebp - 0x58], eax
jle 0x46ac61
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1c8]
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
mov dword [ebp - 0x48], eax
jg 0x46ac61
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x58]
cmp dword [esi + 0x478], edi
jne 0x46a572
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x46ac61
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x28], esi
je 0x46ac61
mov al, byte [ebp - 0x19]
test al, al
jne 0x46a3a3
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa54], 1
call fcn.00469090
mov byte [ebx + 0xa54], 0
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edx, eax
or edx, ecx
je 0x46ac61
cmp eax, dword [ebx + 0x148]
jne 0x46ac61
cmp ecx, dword [ebx + 0x14c]
jne 0x46ac61
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, 0x6ec7f8
call fcn.00431c20
mov eax, dword [ebx + 0x130]
mov ecx, dword [esi + 0x130]
mov edx, dword [ebx + 0x12c]
mov edi, dword [esi + 0x12c]
push eax
push ecx
push edx
push edi
mov ecx, 0x6ec7e8
call fcn.00431ae0
mov eax, dword [ebx + 0x15c]
mov ecx, dword [esi + 0x15c]
mov edx, dword [ebx + 0xe8]
mov edi, dword [esi + 0xe8]
push eax
push ecx
push edx
push edi
mov ecx, 0x6ec7d8
call fcn.00431ae0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e4]
test al, al
jne 0x46a743
mov eax, dword [esi + 0x48c]
test eax, eax
jg 0x46a743
jl 0x46a466
mov eax, dword [esi + 0x488]
test eax, eax
ja 0x46a743
cmp dword [esi + 0x310], 4
jne 0x46a47d
mov eax, dword [esi + 0x308]
test eax, eax
jne 0x46a743
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x46a496
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x46a48e
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.005a9330
mov esi, dword [esi + 0x60]
test esi, esi
je 0x46a4a5
push esi
mov ecx, ebx
call fcn.005a21a0
mov edx, dword [ebp + 0x28]
lea esi, [ebx + 0x94]
mov dword [ebp + 0x18], esi
mov eax, dword [edx + 0x47c]
lea edi, [edx + 0x94]
mov dword [ebx + 0x47c], eax
mov ecx, dword [edx + 0x2fc]
mov dword [ebx + 0x2fc], ecx
mov al, byte [edx + 0x32f]
mov byte [ebx + 0x32f], 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 + 0x18]
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 + 0x18a]
mov byte [ebx + 0x18a], cl
mov dl, byte [edx + 0x330]
mov byte [ebx + 0x330], dl
mov ecx, dword [0x6ec8c8]
test ecx, ecx
je 0x46a54b
cmp dword [ebx + 0x47c], 1
je 0x46a54b
mov eax, dword [ebx + 0x478]
push 1
push eax
call fcn.00507bc0
mov ecx, dword [ebx + 0x478]
mov edx, dword [ebx + 0x47c]
push ecx
mov ecx, dword [0x6ec8c8]
push edx
call fcn.00507b80
mov eax, dword [ebx + 0x478]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.005b8b30
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 7
call fcn.005ab960
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x18]
jmp 0x46a587
inc eax
jmp 0x46a339
mov ecx, dword [ebp + 0x28]
mov eax, dword [esi + 0x194]
mov dword [ebp - 0x94], 1
mov dword [ebp - 4], 6
mov edx, dword [ecx + 0x478]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x8c], 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 0x46a5e1
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 [0x6ec8c8]
test ecx, ecx
je 0x46a5fc
mov edx, dword [ebp + 0x28]
push 0
mov eax, dword [edx + 0x478]
push eax
call fcn.00507bc0
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 0x46a621
add ecx, 0x10
jmp 0x46a615
test eax, eax
je 0x46a646
mov ecx, dword [esi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x58]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.005df1c0
add esp, 0xc
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x28]
dec edx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x8d0]
test ecx, ecx
je 0x46a66a
push eax
mov ecx, 0x6ec7d0
call fcn.00435b90
mov esi, dword [ebp - 0x18]
jmp 0x46a6a4
test eax, eax
mov byte [ebp - 4], 9
je 0x46a693
mov esi, dword [ebp + 0x28]
mov ecx, esi
call fcn.005a1de0
push esi
call fcn.005f6c85
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x46a6a4
mov esi, dword [ebp - 0x18]
jmp 0x46a6a4
push 1
push 1
push ebx
lea ecx, [esi + 0x4ac]
mov dword [ebp - 4], 2
call fcn.004b3610
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.005a8f50
mov ecx, ebx
call fcn.005a9510
mov eax, dword [esi + 0x224]
test eax, eax
je 0x46a6df
push eax
mov ecx, esi
call fcn.004708a0
mov ecx, dword [ebx + 0x478]
mov eax, dword [esi + 0x194]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x74], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call edi
test eax, eax
jl 0x46a721
mov ecx, dword [esi + 0x4c8]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6ec0c8
lea ecx, [esi + 0x2ec]
mov dword [esi + 0x2e8], 0
call fcn.005fa9e2
mov esi, dword [ebp - 0x18]
jmp 0x46ac1b
mov dl, byte [ebp - 0x11]
mov byte [0x6ec894], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46a769
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46a769
push edx
mov ecx, esi
call fcn.005abc90
mov eax, dword [0x6e7b6c]
mov dword [ebp + 0x24], eax
lea ecx, [ebp + 0x24]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xc
call fcn.00579ad0
lea ecx, [ebp - 0x37d8]
call fcn.00535780
mov edx, dword [ebx + 0x170]
mov eax, dword [ebp + 0x24]
push edx
push eax
lea ecx, [ebp - 0x37d8]
mov byte [ebp - 4], 0xd
call fcn.00535f30
test eax, eax
je 0x46a7be
push 1
push esi
lea ecx, [ebp - 0x37d8]
call fcn.00536f50
test eax, eax
je 0x46a7de
lea ecx, [ebp - 0x37d8]
mov byte [ebp - 4], 0xc
call fcn.005357d0
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.005fa859
jmp 0x46b9cc
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005a91a0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x18], edi
je 0x46a803
push eax
call fcn.005f6c85
add esp, 4
test edi, edi
jne 0x46a80c
mov dword [esi + 0x3c], edi
jmp 0x46a870
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x46a820
mov dword [esi + 0x3c], eax
jmp 0x46a870
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x46a84d
push 0x6c1ae4
call fcn.005b69d0
jmp 0x46a870
mov edi, dword [ebp + 0x18]
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 + 0x28]
mov edi, dword [ebx + 0x190]
test edi, edi
je 0x46a8dc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46a8aa
mov ecx, dword [ebx + 0x190]
lea edx, [esi + 0x190]
push ecx
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov byte [esi + 0x18c], 1
jmp 0x46a8dc
mov al, byte [ebx + 0x18c]
test al, al
je 0x46a8dc
mov al, byte [ebx + 0x32b]
test al, al
je 0x46a8dc
push 0x6ec0c8
lea ecx, [esi + 0x190]
call fcn.005fa9e2
mov byte [esi + 0x18c], 1
mov byte [esi + 0x32b], 1
push 0
call fcn.005df989
mov dword [esi + 0x150], eax
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebx + 0x164]
mov edx, dword [ebx + 0x160]
push eax
mov eax, dword [ebx + 0x15c]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x158]
push eax
mov eax, dword [ebx + 0xe8]
mov edi, dword [ebx + 0x12c]
push eax
mov eax, dword [ebx + 0x138]
push eax
mov eax, dword [ebx + 0x134]
push eax
mov eax, dword [ebx + 0x130]
push eax
push edi
push esi
call fcn.0046c9d0
mov eax, dword [esi + 0x478]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.005b96b0
cmp dword [esi + 0x310], 4
jne 0x46aa8f
mov eax, dword [esi + 0x308]
test eax, eax
je 0x46aa8f
lea ecx, [ebp - 0x1f48]
call fcn.00535780
mov ecx, dword [0x6e7b6c]
mov dword [ebp + 0x18], ecx
mov eax, dword [ebx + 0x304]
lea edx, [ebp + 0x18]
push edx
push 0x6bed24
push eax
mov byte [ebp - 4], 0xf
call fcn.00456870
mov eax, dword [ebx + 0x170]
mov ecx, dword [ebp + 0x18]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f48]
call fcn.00535f30
test eax, eax
je 0x46aa74
mov edx, dword [esi + 0x308]
push 1
push edx
lea ecx, [ebp - 0x1f48]
call fcn.00536f50
test eax, eax
jne 0x46aa74
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46a9eb
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46a9eb
mov ecx, dword [esi + 0x308]
push edx
call fcn.005abc90
mov esi, dword [esi + 0x308]
mov edi, dword [ebx + 0x3c]
add esi, 0x20
mov dword [ebp + 0x20], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46aa0a
push eax
call fcn.005f6c85
add esp, 4
test edi, edi
jne 0x46aa13
mov dword [esi + 0x1c], edi
jmp 0x46aa74
mov edx, dword [ebp + 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x46aa29
mov dword [esi + 0x1c], eax
jmp 0x46aa74
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x46aa54
push 0x6c1ae4
mov ecx, esi
call fcn.005b69d0
jmp 0x46aa74
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]
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xe
call fcn.005fa859
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 0xd
call fcn.005357d0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x478]
mov byte [ebp - 4], 0x10
mov dword [ebp + 0x20], ecx
mov edx, dword [edx + 0x1c8]
mov dword [ebp + 0x18], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x46aacb
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x478], ecx
je 0x46aace
mov edx, dword [ebp + 0x18]
inc esi
jmp 0x46aaae
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 0x11
call fcn.005ab960
jmp 0x46aaea
mov ecx, dword [0x6ec8c8]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x46ab06
mov eax, dword [ebp + 0x20]
push 0
push eax
call fcn.00507bc0
test esi, esi
jl 0x46ab5f
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1c8]
mov edx, 1
mov dword [ebp + 0x18], 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 0x46ab37
add ecx, 0x10
jmp 0x46ab2b
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x46ab5c
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.005df1c0
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8d0]
test eax, eax
je 0x46abbc
push ebx
mov ecx, 0x6ec7d0
call fcn.00435b90
mov esi, dword [ebp - 0x18]
push 0x6ec0c8
mov dword [ebp - 4], 0xd
lea ecx, [esi + 0x2ec]
mov dword [esi + 0x2e8], 0
call fcn.005fa9e2
mov al, byte [esi + 0x12e4]
test al, al
je 0x46abe2
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x478]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x46abfa
test ebx, ebx
mov byte [ebp - 4], 0x13
je 0x46ab74
mov ecx, ebx
call fcn.005a1de0
push ebx
call fcn.005f6c85
add esp, 4
jmp 0x46ab74
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x478]
push eax
mov eax, dword [esi + 0x1c]
push 0x1431
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x37d8]
mov byte [ebp - 4], 0xc
call fcn.005357d0
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.005fa859
mov eax, dword [esi + 0x12e0]
test eax, eax
je 0x46ac53
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46ac49
mov edx, dword [esi + 0x12e0]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x12e0], 0
mov cl, byte [ebp - 0x11]
mov byte [0x6ec894], cl
jmp 0x46b9cc
mov al, byte [ebp - 0x32]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6ec894], dl
je 0x46ac78
mov al, byte [ebp + 0x18]
test al, al
je 0x46ac8b
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e8], esi
jle 0x46add9
jmp 0x46ac90
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x54c
call fcn.005f6c5c
mov ecx, eax
add esp, 4
mov dword [ebp + 0x18], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x16
je 0x46acc1
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push esi
push eax
lea eax, [edi + 0x698]
push edx
push eax
call fcn.004394e0
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x46b9cc
mov cl, byte [ebp + 0x24]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x6bc090
push eax
call fcn.005f368b
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x6bc090
push edx
call fcn.005f368b
mov eax, dword [ebx + 0x478]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x74], eax
mov dword [esi + 0xac], ecx
mov dword [esi + 0x70], ebx
mov edx, dword [edi + 0x1c8]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x4ac]
add esp, 0xc
mov dword [esi + 0x6c], eax
mov dword [esi + 0x64], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f71bf
push eax
push 0x82
mov ecx, esi
call fcn.005f64d5
mov edx, dword [esi + 0x1c]
mov ecx, ebx
push edx
call fcn.005abc80
push 5
mov ecx, esi
call fcn.005f9f56
mov eax, dword [edi + 0x2e8]
test eax, eax
jle 0x46b9cc
mov eax, dword [edi + 0x12e0]
test eax, eax
je 0x46adbe
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x8c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x12e0]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46adbe
mov edx, dword [edi + 0x12e0]
lea ecx, [ebp - 0x8c]
push ecx
push 0x1466
mov eax, dword [edx + 0x1c]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x1c]
push 0
push 0x1465
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x46b9cc
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x60], si
lea edx, [ebp - 0x64]
add edi, 0x698
push 1
push edx
push edi
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.005ad8e0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], esi
mov word [ebp - 0x50], si
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 0x18
cmp eax, esi
je 0x46ae20
push eax
call fcn.005de123
add esp, 4
test eax, eax
jne 0x46ae20
mov dword [ebp + 0x1c], esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x46b06c
push esi
call fcn.005de123
add esp, 4
test eax, eax
jne 0x46ae40
mov dword [ebp + 0x20], eax
jmp 0x46b06c
push 0x2e
push esi
call fcn.005de073
xor esi, esi
add esp, 8
cmp eax, esi
je 0x46b06c
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x3c], si
add eax, 2
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x19
call fcn.005fa919
mov edx, dword [ebx + 0x20]
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004afe20
test al, al
je 0x46b054
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0x28]
cmp eax, esi
mov dword [ebx + 0x2fc], ecx
je 0x46aea6
mov edi, eax
jmp 0x46aeac
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
call fcn.005de123
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x6bc14c
jne 0x46aec7
mov edi, 0x6ec0cc
mov eax, dword [ebp - 0x40]
cmp eax, esi
jne 0x46aed1
lea eax, [ebp - 0x3c]
mov edx, 0x6bcc34
test edx, edx
je 0x46b054
test eax, eax
je 0x46b054
test edi, edi
je 0x46b054
xor esi, esi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
call fcn.004023e0
push edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
mov word [ebp - 0x6c], si
call fcn.004023e0
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x98], esi
mov word [ebp - 0x9c], si
call fcn.004023e0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1d
call fcn.00401070
push 0x6bcc34
lea ecx, [ebp - 0x88]
call fcn.00402350
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
cmp eax, esi
je 0x46af6c
mov dword [ebp + 0x24], eax
jmp 0x46af72
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x24], ecx
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xa0]
call fcn.004023d0
push eax
call fcn.005de123
add esp, 4
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.004023d0
push eax
call fcn.005de123
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x48], edi
mov edi, eax
push edx
add edi, esi
call fcn.005de123
mov ecx, dword [ebp - 0x48]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x64], edx
je 0x46b01e
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 - 0xa0]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x70]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x88]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x64]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005de123
add esp, 0x1c
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
call fcn.00401070
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x1c
call fcn.00401070
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x19
call fcn.005fa859
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x20]
test eax, eax
jne 0x46b175
test esi, esi
jne 0x46b175
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46b095
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x64]
push 0
push edx
call fcn.00488940
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x46b11b
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46b11b
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b11b
mov eax, dword [ebp - 0x54]
cmp eax, esi
ja 0x46b11b
push eax
call fcn.005de123
mov ecx, dword [ebp - 0x54]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46b11b
xor eax, eax
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
mov word [ebp - 0x6c], ax
call fcn.004023e0
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 0x26
test eax, eax
jne 0x46b101
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004023e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00401070
jmp 0x46b89a
lea ecx, [ebp - 0x54]
call fcn.00401070
test esi, esi
je 0x46b89a
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b89a
push esi
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
mov dword [ebp - 0x54], eax
test eax, eax
je 0x46b89a
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x54]
push esi
push ecx
mov dword [ebp - 0x4c], eax
call fcn.005de2e9
add esp, 0xc
jmp 0x46b89a
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x46b17f
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x6b8]
lea ecx, [ebp - 0x2b8]
push edx
push ecx
lea edx, [ebp - 0x4b8]
lea ecx, [ebp - 0x48]
push edx
push ecx
push eax
call fcn.005deee8
xor edi, edi
xor eax, eax
add esp, 0x14
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], edi
mov word [ebp - 0x3c], di
cmp esi, edi
mov byte [ebp - 4], 0x1f
je 0x46b27c
cmp eax, edi
je 0x46b21b
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b21b
mov eax, dword [ebp - 0x40]
cmp eax, esi
ja 0x46b21b
push eax
call fcn.005de123
mov edx, dword [ebp - 0x40]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x46b21b
push esi
lea ecx, [ebp - 0x88]
call fcn.0040e020
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x20
call fcn.004023d0
push eax
lea ecx, [ebp - 0x40]
call fcn.004023e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x46b260
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b260
push esi
call fcn.005de123
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x46b260
push esi
call fcn.005de123
mov edx, dword [ebp - 0x40]
push esi
push edx
mov dword [ebp - 0x38], eax
call fcn.005de2e9
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x46b404
mov byte [ebx + 0x18b], 1
mov byte [ebx + 0x329], 1
jmp 0x46b404
lea ecx, [ebp - 0x2b8]
test ecx, ecx
je 0x46b2fe
cmp eax, edi
je 0x46b2fe
lea edx, [ebp - 0x2b8]
push edx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b2fe
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b8]
cmp eax, ecx
ja 0x46b2fe
push eax
call fcn.005de123
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b8]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x46b2fe
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x88]
push edx
call fcn.0040e020
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x21
call fcn.004023d0
push eax
lea ecx, [ebp - 0x40]
call fcn.004023e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x46b365
lea ecx, [ebp - 0x40]
call fcn.00401070
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x46b365
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b365
lea edx, [ebp - 0x2b8]
push edx
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x46b365
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.005de123
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2b8]
push edx
push eax
call fcn.005de2e9
add esp, 0xc
lea ecx, [ebp - 0x6b8]
test ecx, ecx
je 0x46b404
lea edx, [ebp - 0x6b8]
push edx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b404
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46b39a
push eax
call fcn.005de123
add esp, 4
mov esi, eax
jmp 0x46b39c
xor esi, esi
lea eax, [ebp - 0x6b8]
push eax
call fcn.005de123
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
mov esi, eax
add esp, 8
test esi, esi
je 0x46b404
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46b3dd
push eax
push esi
call fcn.005de2e9
lea edx, [ebp - 0x6b8]
push edx
push esi
call fcn.005de2bf
add esp, 0x10
jmp 0x46b3ed
lea eax, [ebp - 0x6b8]
push eax
push esi
call fcn.005de2e9
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
mov dword [ebp - 0x40], esi
call fcn.005de123
add esp, 4
mov dword [ebp - 0x38], 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 + 0x1c]
mov byte [ebp - 4], 0x22
cmp esi, edi
je 0x46b4ed
cmp eax, edi
je 0x46b481
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b481
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x46b481
push eax
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46b481
push esi
lea ecx, [ebp - 0x88]
call fcn.0040e020
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x23
call fcn.004023d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004023e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46b4c6
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b4c6
push esi
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x46b4c6
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005de2e9
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x46b65c
mov eax, dword [ebp + 0x20]
mov byte [ebx + 0x328], 1
cmp eax, edi
je 0x46b65c
mov byte [ebx + 0x18a], 1
jmp 0x46b65c
lea edx, [ebp - 0x48]
test edx, edx
je 0x46b565
cmp eax, edi
je 0x46b565
lea eax, [ebp - 0x48]
push eax
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b565
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
cmp eax, ecx
ja 0x46b565
push eax
call fcn.005de123
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x46b565
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x88]
push edx
call fcn.0040e020
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 0x24
cmp eax, edi
jne 0x46b54b
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004023e0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46b5bd
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x48]
test eax, eax
je 0x46b5bd
lea ecx, [ebp - 0x48]
push ecx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b5bd
lea edx, [ebp - 0x48]
push edx
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x46b5bd
lea ecx, [ebp - 0x48]
push ecx
call fcn.005de123
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.005de2e9
add esp, 0xc
lea ecx, [ebp - 0x4b8]
test ecx, ecx
je 0x46b65c
lea edx, [ebp - 0x4b8]
push edx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b65c
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46b5f2
push eax
call fcn.005de123
add esp, 4
mov esi, eax
jmp 0x46b5f4
xor esi, esi
lea eax, [ebp - 0x4b8]
push eax
call fcn.005de123
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
mov esi, eax
add esp, 8
cmp esi, edi
je 0x46b65c
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46b635
push eax
push esi
call fcn.005de2e9
lea edx, [ebp - 0x4b8]
push edx
push esi
call fcn.005de2bf
add esp, 0x10
jmp 0x46b645
lea eax, [ebp - 0x4b8]
push eax
push esi
call fcn.005de2e9
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005de123
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46b667
mov esi, eax
jmp 0x46b66d
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005de123
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x46b714
mov ecx, 0x6bc14c
test ecx, ecx
je 0x46b714
push ecx
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b714
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46b6b0
push eax
call fcn.005de123
add esp, 4
mov esi, eax
jmp 0x46b6b2
xor esi, esi
push 0x6bc14c
call fcn.005de123
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005f6c5c
mov esi, eax
add esp, 8
cmp esi, edi
je 0x46b714
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46b6ef
push eax
push esi
call fcn.005de2e9
push 0x6bc14c
push esi
call fcn.005de2bf
add esp, 0x10
jmp 0x46b6fd
push 0x6bc14c
push esi
call fcn.005de2e9
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005de123
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
cmp esi, edi
je 0x46b77d
cmp dword [ebp - 0x54], edi
je 0x46b77d
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b77d
mov eax, dword [ebp - 0x54]
cmp eax, esi
ja 0x46b77d
push eax
call fcn.005de123
mov ecx, dword [ebp - 0x54]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46b77d
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x6c], di
call fcn.004023e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x25
call fcn.004023d0
push eax
lea ecx, [ebp - 0x54]
call fcn.004023e0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46b7c6
lea ecx, [ebp - 0x54]
call fcn.00401070
cmp esi, edi
je 0x46b7c6
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b7c6
push esi
call fcn.005de123
lea eax, [eax + eax + 2]
push eax
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x54], eax
je 0x46b7c6
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x54]
push esi
push ecx
mov dword [ebp - 0x4c], eax
call fcn.005de2e9
add esp, 0xc
mov eax, dword [ebp - 0x40]
cmp eax, edi
mov edi, eax
jne 0x46b7d2
lea edi, [ebp - 0x3c]
test edi, edi
je 0x46b84f
push edi
call fcn.005de123
add esp, 4
test eax, eax
je 0x46b84f
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46b7f7
push eax
call fcn.005de123
add esp, 4
mov esi, eax
jmp 0x46b7f9
xor esi, esi
push edi
call fcn.005de123
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005f6c5c
mov esi, eax
add esp, 8
test esi, esi
je 0x46b84f
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46b82e
push eax
push esi
call fcn.005de2e9
push edi
push esi
call fcn.005de2bf
add esp, 0x10
jmp 0x46b838
push edi
push esi
call fcn.005de2e9
add esp, 8
lea ecx, [ebp - 0x54]
call fcn.00401070
push esi
mov dword [ebp - 0x54], esi
call fcn.005de123
add esp, 4
mov dword [ebp - 0x4c], eax
test byte [ebx + 0x16c], 0x5c
je 0x46b87f
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46b868
lea eax, [ebx + 0xf8]
mov ecx, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x54]
mov ecx, dword [ecx + 0x1c8]
push 0
push eax
call fcn.00488940
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1f
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x18
call fcn.00401070
mov edi, dword [ebp - 0x18]
mov al, byte [ebp + 0x18]
test al, al
je 0x46b8c3
mov edx, dword [ebx + 0x478]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18b], 1
mov byte [ebx + 0x18a], 1
call fcn.005b9210
jmp 0x46ba1a
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x54]
push 0
push eax
push ebx
call fcn.00487f60
cmp eax, 2
jne 0x46b9ef
mov ecx, dword [0x6ec8c8]
test ecx, ecx
je 0x46b8f6
mov edx, dword [ebx + 0x478]
push 1
push edx
call fcn.00507bc0
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x18], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x46b972
mov edi, dword [esi + 4]
mov edx, eax
shl edx, 4
mov edx, dword [edx + edi]
mov edi, dword [ebx + 0x478]
mov edx, dword [edx + 0x478]
cmp edx, edi
je 0x46b927
inc eax
jmp 0x46b905
test eax, eax
jl 0x46b972
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 0x46b94a
add edx, 0x10
jmp 0x46b93e
mov esi, dword [ebp + 0x18]
test ecx, ecx
je 0x46b96f
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.005df1c0
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8d0]
mov ecx, ebx
test eax, eax
je 0x46b990
call fcn.005ab960
push ebx
mov ecx, 0x6ec7d0
call fcn.00435b90
jmp 0x46b9b4
call fcn.005ab960
test ebx, ebx
mov byte [ebp - 4], 0x27
je 0x46b9ad
mov ecx, ebx
call fcn.005a1de0
push ebx
call fcn.005f6c85
add esp, 4
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.005fa859
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005fa859
jmp 0x46bb13
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x46ba0c
mov edx, dword [ebx + 0x478]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18a], 1
call fcn.005b9210
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x46ba1a
mov byte [ebx + 0x32a], 1
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x46ba24
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.005a9330
push 1
push 1
push ebx
lea ecx, [edi + 0x4ac]
call fcn.004b3610
mov eax, dword [ebx + 0x484]
test eax, eax
jg 0x46ba5c
jl 0x46ba52
mov eax, dword [ebx + 0x480]
test eax, eax
ja 0x46ba5c
mov al, byte [ebx + 0x327]
test al, al
je 0x46ba8b
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x46ba8b
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46ba70
cmp eax, 2
jne 0x46ba8b
mov eax, dword [ebx + 0x478]
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.005a9510
mov eax, dword [edi + 0x224]
test eax, eax
je 0x46baa4
push eax
mov ecx, edi
call fcn.004708a0
mov ecx, dword [ebx + 0x478]
mov eax, dword [edi + 0x194]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xb0], ecx
mov eax, dword [eax + 0x1c]
push edx
push 0xffffffffffffffff
push 0x100d
push eax
call esi
test eax, eax
jl 0x46b9b4
mov ecx, dword [edi + 0x4c8]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x46b9b4
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 0x24