Function at 0x463130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb101
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c0
call fcn.005c76d0
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 0x464b65
push ebx
call fcn.00493100
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.00593340
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.00467690
test al, al
mov byte [ebp - 0x2e], al
jne 0x4631a3
mov byte [ebx + 0x31f], 0
jmp 0x4631aa
mov al, byte [ebp + 0x14]
test al, al
je 0x4631b4
mov eax, dword [esi + 0x2e4]
test eax, eax
jle 0x4631bb
mov byte [ebx + 0x329], 1
mov esi, dword [esi + 0x2e4]
test esi, esi
mov dword [ebp - 0x5c], esi
jle 0x46322e
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e0]
test al, al
jne 0x46322e
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x46322e
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 0x463200
inc eax
jmp 0x4631e3
test eax, eax
jl 0x46322e
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x46322e
mov ecx, dword [eax + 0x47c]
add eax, 0x478
test ecx, ecx
jg 0x46322e
jl 0x463227
cmp dword [eax], 0
ja 0x46322e
mov byte [ebx + 0x329], 0
mov ecx, 0x6d1258
call fcn.00521620
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6d125c]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x463255
mov byte [0x6d125c], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.004954c0
add esp, 4
test eax, eax
je 0x463289
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x463280
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 0x463289
push esi
call fcn.004956c0
add esp, 4
mov eax, dword [0x6cc564]
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.00566570
mov edx, dword [esi]
lea eax, [ebp - 0x40]
push edx
push 0x6a1fe8
push eax
call fcn.005dc6eb
add esp, 0xc
mov ecx, ebx
push 1
call fcn.00593810
mov ecx, dword [0x6d1290]
test ecx, ecx
je 0x4632da
mov edx, dword [ebx + 0x468]
push edx
push 1
call fcn.004fab40
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x463316
mov cl, byte [eax + 0x36]
test cl, cl
je 0x4632fc
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 0x463316
mov edx, dword [ebx + 0x468]
mov dword [edi + 0xfec], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x24]
test al, 8
je 0x46335d
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46332e
cmp eax, 2
jne 0x4633b0
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.004623d0
test eax, eax
jne 0x46339e
mov al, byte [ebp - 0x11]
mov byte [0x6d125c], al
jmp 0x463432
test ah, 8
je 0x4633b0
mov eax, dword [0x6d1254]
test eax, eax
je 0x4633b0
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x463378
cmp eax, 2
jne 0x4633b0
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.004623d0
test eax, eax
je 0x463429
mov byte [ebx + 0xa44], 0
mov byte [ebx + 0x314], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x24], 0x20
je 0x46346a
mov edx, dword [ebp - 0x20]
push 0x3f
push edx
mov byte [ebp - 0x2d], 1
call fcn.005c72c0
add esp, 8
test eax, eax
jne 0x46340e
lea ecx, [ebp - 0x1f40]
call fcn.005260d0
mov eax, dword [ebp - 0x20]
push 0
push eax
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 3
call fcn.00527fc0
test eax, eax
je 0x4633f8
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 2
call fcn.00526120
mov al, byte [ebp - 0x2d]
test al, al
je 0x46346a
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa44], 1
call fcn.004623d0
test eax, eax
jne 0x46345f
mov cl, byte [ebp - 0x11]
mov byte [0x6d125c], cl
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005e38b9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e38b9
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 0x463492
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x4634fb
lea edx, [ebp + 0x24]
push 4
mov dword [ebp + 0x24], 1
push edx
jmp 0x4634eb
test al, 4
je 0x4634fb
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x4634fb
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4634fb
push 0x2e
push esi
call fcn.005c71e2
add esp, 8
test eax, eax
je 0x4634fb
push 8
push 0x6a83a4
push eax
call fcn.005c9620
add esp, 0xc
test eax, eax
je 0x4634fb
mov eax, dword [ebx + 0x428]
mov byte [ebx + 0x16d], 1
test eax, eax
je 0x4634fb
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 0x463e63
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 0x463e63
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 0x463754
test eax, eax
mov dword [ebp - 0x5c], eax
jl 0x463e63
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x24], esi
je 0x463e63
mov al, byte [ebp - 0x19]
test al, al
jne 0x463585
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa44], 1
call fcn.004623d0
mov byte [ebx + 0xa44], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x144]
mov edx, eax
or edx, ecx
je 0x463e63
cmp eax, dword [ebx + 0x140]
jne 0x463e63
cmp ecx, dword [ebx + 0x144]
jne 0x463e63
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, 0x6d11c0
call fcn.0042f630
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, 0x6d11b0
call fcn.0042f4f0
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, 0x6d11a0
call fcn.0042f4f0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e0]
test al, al
jne 0x463925
mov eax, dword [esi + 0x47c]
test eax, eax
jg 0x463925
jl 0x463648
mov eax, dword [esi + 0x478]
test eax, eax
ja 0x463925
cmp dword [esi + 0x300], 4
jne 0x46365f
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x463925
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x463678
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x463670
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.00593720
mov esi, dword [esi + 0x60]
test esi, esi
je 0x463687
push esi
mov ecx, ebx
call fcn.0058cee0
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 [0x6d1290]
test ecx, ecx
je 0x46372d
cmp dword [ebx + 0x46c], 1
je 0x46372d
mov eax, dword [ebx + 0x468]
push 1
push eax
call fcn.004fab80
mov ecx, dword [ebx + 0x468]
mov edx, dword [ebx + 0x46c]
push ecx
mov ecx, dword [0x6d1290]
push edx
call fcn.004fab40
mov eax, dword [ebx + 0x468]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.005a22c0
mov ecx, dword [ebp + 0x24]
mov byte [ebp - 4], 5
call fcn.00595ce0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
jmp 0x463769
inc eax
jmp 0x46351b
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 0x4637ba
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 [0x6d1290]
test ecx, ecx
je 0x4637d5
mov edx, dword [ebp + 0x24]
push 0
mov eax, dword [edx + 0x468]
push eax
call fcn.004fab80
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 0x4637fa
add ecx, 0x10
jmp 0x4637ee
test eax, eax
je 0x46381f
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.005c8320
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 0x463843
push eax
mov ecx, 0x6d1198
call fcn.004335a0
mov esi, dword [ebp - 0x18]
jmp 0x46387d
test eax, eax
mov byte [ebp - 4], 7
je 0x46386c
mov esi, dword [ebp + 0x24]
mov ecx, esi
call fcn.0058cb20
push esi
call fcn.005dfce5
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x46387d
mov esi, dword [ebp - 0x18]
jmp 0x46387d
push 1
push 1
push ebx
lea ecx, [esi + 0x4a8]
mov dword [ebp - 4], 2
call fcn.004a7cf0
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.00593340
mov ecx, ebx
call fcn.00593900
mov eax, dword [esi + 0x220]
test eax, eax
je 0x4638b8
push eax
mov ecx, esi
call fcn.00468cf0
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 0x463903
mov ecx, dword [esi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6d0ab8
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005e3a42
mov esi, dword [ebp - 0x18]
jmp 0x463e1d
mov dl, byte [ebp - 0x11]
mov byte [0x6d125c], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46394b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46394b
push edx
mov ecx, esi
call fcn.00596000
mov eax, dword [0x6cc564]
mov dword [ebp + 0x14], eax
lea ecx, [ebp + 0x14]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xa
call fcn.00566570
lea ecx, [ebp - 0x37d0]
call fcn.005260d0
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.00526880
test eax, eax
jne 0x4639ae
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.00526120
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e38b9
jmp 0x464b4d
push 1
push esi
lea ecx, [ebp - 0x37d0]
call fcn.005278a0
test eax, eax
je 0x4639e0
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xa
call fcn.00526120
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e38b9
jmp 0x464b4d
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.00593590
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x20], edi
je 0x463a05
push eax
call fcn.005dfce5
add esp, 4
test edi, edi
jne 0x463a0e
mov dword [esi + 0x3c], edi
jmp 0x463a72
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x463a22
mov dword [esi + 0x3c], eax
jmp 0x463a72
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dfcbc
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x463a4f
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.005a0160
jmp 0x463a72
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 0x463ade
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x463aac
mov ecx, dword [ebx + 0x180]
lea edx, [esi + 0x180]
push ecx
push 0x6a1fe8
push edx
call fcn.005dc6eb
add esp, 0xc
mov byte [esi + 0x17e], 1
jmp 0x463ade
mov al, byte [ebx + 0x17e]
test al, al
je 0x463ade
mov al, byte [ebx + 0x31a]
test al, al
je 0x463ade
push 0x6d0ab8
lea ecx, [esi + 0x180]
call fcn.005e3a42
mov byte [esi + 0x17e], 1
mov byte [esi + 0x31a], 1
push 0
call fcn.005c8aeb
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.00465b80
mov eax, dword [esi + 0x468]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.005a2de0
cmp dword [esi + 0x300], 4
jne 0x463c91
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x463c91
lea ecx, [ebp - 0x1f40]
call fcn.005260d0
mov ecx, dword [0x6cc564]
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx + 0x2f4]
lea edx, [ebp + 0x20]
push edx
push 0x6a4acc
push eax
mov byte [ebp - 4], 0xd
call fcn.00463040
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebp + 0x20]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f40]
call fcn.00526880
test eax, eax
je 0x463c76
mov edx, dword [esi + 0x2f8]
push 1
push edx
lea ecx, [ebp - 0x1f40]
call fcn.005278a0
test eax, eax
jne 0x463c76
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x463bed
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x463bed
mov ecx, dword [esi + 0x2f8]
push edx
call fcn.00596000
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 0x463c0c
push eax
call fcn.005dfce5
add esp, 4
test edi, edi
jne 0x463c15
mov dword [esi + 0x1c], edi
jmp 0x463c76
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 0x463c2b
mov dword [esi + 0x1c], eax
jmp 0x463c76
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005dfcbc
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x463c56
push str.URL::set_Cookie__:_Not_enough_memory__n
mov ecx, esi
call fcn.005a0160
jmp 0x463c76
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.005e38b9
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 0xb
call fcn.00526120
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 0x463ccd
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x468], ecx
je 0x463cd0
mov edx, dword [ebp + 0x20]
inc esi
jmp 0x463cb0
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x20], esi
mov byte [ebp - 4], 0xf
call fcn.00595ce0
jmp 0x463cec
mov ecx, dword [0x6d1290]
mov dword [ebp - 4], 0xe
test ecx, ecx
je 0x463d08
mov eax, dword [ebp + 0x1c]
push 0
push eax
call fcn.004fab80
test esi, esi
jl 0x463d61
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 0x463d39
add ecx, 0x10
jmp 0x463d2d
mov edi, dword [ebp + 0x20]
test eax, eax
je 0x463d5e
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.005c8320
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8c0]
test eax, eax
je 0x463dbe
push ebx
mov ecx, 0x6d1198
call fcn.004335a0
mov esi, dword [ebp - 0x18]
push 0x6d0ab8
mov dword [ebp - 4], 0xb
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x2e4], 0
call fcn.005e3a42
mov al, byte [esi + 0x12e0]
test al, al
je 0x463de4
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x468]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x463dfc
test ebx, ebx
mov byte [ebp - 4], 0x11
je 0x463d76
mov ecx, ebx
call fcn.0058cb20
push ebx
call fcn.005dfce5
add esp, 4
jmp 0x463d76
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.00526120
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.005e38b9
mov eax, dword [esi + 0x12dc]
test eax, eax
je 0x463e55
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x463e4b
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 [0x6d125c], cl
jmp 0x464b4d
mov al, byte [ebp - 0x2e]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6d125c], dl
je 0x463e7a
mov al, byte [ebp + 0x14]
test al, al
je 0x463e8d
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e4], esi
jle 0x463fcc
jmp 0x463e92
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x440
call fcn.005dfcbc
mov ecx, eax
add esp, 4
mov dword [ebp + 0x14], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x14
je 0x463ec3
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push esi
push eax
lea eax, [edi + 0x694]
push edx
push eax
call fcn.00436d70
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x464b4d
mov cl, byte [ebp + 0x20]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x6a1fe8
push eax
call fcn.005dc6eb
mov ecx, dword [ebp - 0x40]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x6a1fe8
push edx
call fcn.005dc6eb
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.005e021f
push eax
push 0x82
mov ecx, esi
call fcn.005df535
mov ecx, dword [esi + 0x1c]
push ecx
mov ecx, ebx
call fcn.00595ff0
push 5
mov ecx, esi
call fcn.005e2fba
mov eax, dword [edi + 0x2e4]
test eax, eax
jle 0x464b4d
mov eax, dword [edi + 0x12dc]
test eax, eax
je 0x463fb1
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 0x463fb1
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 0x464b4d
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.00597c20
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 0x464013
push eax
call fcn.005c7292
add esp, 4
test eax, eax
jne 0x464013
mov dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x46424c
push esi
call fcn.005c7292
add esp, 4
test eax, eax
jne 0x464033
mov dword [ebp + 0x1c], eax
jmp 0x46424c
push 0x2e
push esi
call fcn.005c71e2
xor esi, esi
add esp, 8
cmp eax, esi
je 0x46424c
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.005e3979
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.004a4500
test al, al
je 0x464234
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2ec], eax
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x464099
mov edi, eax
jmp 0x46409f
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
call fcn.005c7292
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x6a2080
jne 0x4640ba
mov edi, 0x6d0abc
mov eax, dword [ebp - 0x3c]
cmp eax, esi
jne 0x4640c4
lea eax, [ebp - 0x38]
mov ecx, 0x6a2b54
test ecx, ecx
je 0x464234
test eax, eax
je 0x464234
test edi, edi
je 0x464234
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.00402060
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.00402060
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.00402060
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1b
call fcn.00401070
push 0x6a2b54
lea ecx, [ebp - 0x74]
call fcn.00401fd0
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
mov dword [ebp + 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x8c]
add edi, esi
call fcn.00402050
push eax
call fcn.005c7292
mov ecx, dword [ebp + 0x24]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x68], edx
je 0x464201
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.00402050
push eax
lea ecx, [ebp - 0x58]
call fcn.00402050
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402050
push eax
lea ecx, [ebp - 0x74]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x68]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.005c7292
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.005e38b9
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 0x46436e
test esi, esi
jne 0x46436e
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x464275
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x68]
push 0
push edx
call fcn.0047ed70
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x464314
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x464314
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464314
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x464314
push eax
call fcn.005c7292
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x464314
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.00402060
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x24
test eax, eax
jne 0x4642f7
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402060
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.00401070
jmp 0x464a41
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x464a41
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464a41
push esi
call fcn.005c7292
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x464a41
push esi
call fcn.005c7292
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c742a
add esp, 0xc
jmp 0x464a41
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x464378
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.005c8048
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 0x464460
cmp eax, edi
je 0x46440e
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x46440e
mov eax, dword [ebp - 0x3c]
cmp eax, esi
ja 0x46440e
push eax
call fcn.005c7292
mov edx, dword [ebp - 0x3c]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x46440e
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d7a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.00402050
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402060
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x4645df
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4645df
push esi
call fcn.005c7292
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dfcbc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x4645df
push esi
call fcn.005c7292
mov edx, dword [ebp - 0x3c]
push esi
push edx
mov dword [ebp - 0x34], eax
call fcn.005c742a
add esp, 0xc
jmp 0x4645df
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x4644d9
cmp eax, edi
je 0x4644d9
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4644d9
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
cmp eax, ecx
ja 0x4644d9
push eax
call fcn.005c7292
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2b0]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x4644d9
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d7a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1f
call fcn.00402050
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402060
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00401070
jmp 0x464540
lea ecx, [ebp - 0x3c]
call fcn.00401070
lea eax, [ebp - 0x2b0]
test eax, eax
je 0x464540
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464540
lea edx, [ebp - 0x2b0]
push edx
call fcn.005c7292
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x464540
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.005c7292
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x2b0]
push edx
push eax
call fcn.005c742a
add esp, 0xc
lea ecx, [ebp - 0x6b0]
test ecx, ecx
je 0x4645df
lea edx, [ebp - 0x6b0]
push edx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4645df
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x464575
push eax
call fcn.005c7292
add esp, 4
mov esi, eax
jmp 0x464577
xor esi, esi
lea eax, [ebp - 0x6b0]
push eax
call fcn.005c7292
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dfcbc
mov esi, eax
add esp, 8
test esi, esi
je 0x4645df
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4645b8
push eax
push esi
call fcn.005c742a
lea edx, [ebp - 0x6b0]
push edx
push esi
call fcn.005c7400
add esp, 0x10
jmp 0x4645c8
lea eax, [ebp - 0x6b0]
push eax
push esi
call fcn.005c742a
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.00401070
push esi
mov dword [ebp - 0x3c], esi
call fcn.005c7292
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 0x4646a8
cmp eax, edi
je 0x464656
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464656
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x464656
push eax
call fcn.005c7292
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x464656
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d7a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x21
call fcn.00402050
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402060
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x464809
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464809
push esi
call fcn.005c7292
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x464814
push esi
call fcn.005c7292
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005c742a
add esp, 0xc
jmp 0x464809
lea edx, [ebp - 0x54]
test edx, edx
je 0x464712
cmp eax, edi
je 0x464712
lea eax, [ebp - 0x54]
push eax
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464712
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
cmp eax, ecx
ja 0x464712
push eax
call fcn.005c7292
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x464712
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x74]
push edx
call fcn.0040d7a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x22
call fcn.00402050
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402060
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x46476a
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x54]
test eax, eax
je 0x46476a
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x46476a
lea edx, [ebp - 0x54]
push edx
call fcn.005c7292
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x46476a
lea ecx, [ebp - 0x54]
push ecx
call fcn.005c7292
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.005c742a
add esp, 0xc
lea ecx, [ebp - 0x4b0]
test ecx, ecx
je 0x464809
lea edx, [ebp - 0x4b0]
push edx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464809
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46479f
push eax
call fcn.005c7292
add esp, 4
mov esi, eax
jmp 0x4647a1
xor esi, esi
lea eax, [ebp - 0x4b0]
push eax
call fcn.005c7292
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005dfcbc
mov esi, eax
add esp, 8
test esi, esi
je 0x464809
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4647e2
push eax
push esi
call fcn.005c742a
lea edx, [ebp - 0x4b0]
push edx
push esi
call fcn.005c7400
add esp, 0x10
jmp 0x4647f2
lea eax, [ebp - 0x4b0]
push eax
push esi
call fcn.005c742a
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c7292
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x464814
mov esi, eax
jmp 0x46481a
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005c7292
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x4648c1
mov ecx, 0x6a2080
test ecx, ecx
je 0x4648c1
push ecx
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4648c1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46485d
push eax
call fcn.005c7292
add esp, 4
mov esi, eax
jmp 0x46485f
xor esi, esi
push 0x6a2080
call fcn.005c7292
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005dfcbc
mov esi, eax
add esp, 8
test esi, esi
je 0x4648c1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46489c
push eax
push esi
call fcn.005c742a
push 0x6a2080
push esi
call fcn.005c7400
add esp, 0x10
jmp 0x4648aa
push 0x6a2080
push esi
call fcn.005c742a
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005c7292
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x464924
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x464924
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x464924
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x464924
push eax
call fcn.005c7292
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x464924
push esi
lea ecx, [ebp - 0x74]
call fcn.0040d7a0
mov eax, dword [ebp - 0x74]
mov byte [ebp - 4], 0x23
test eax, eax
jne 0x46490d
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402060
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x20
call fcn.00401070
jmp 0x46496d
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x46496d
push esi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x46496d
push esi
call fcn.005c7292
lea eax, [eax + eax + 2]
push eax
call fcn.005dfcbc
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x46496d
push esi
call fcn.005c7292
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.005c742a
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
mov edi, eax
jne 0x464979
lea edi, [ebp - 0x38]
test edi, edi
je 0x4649f6
push edi
call fcn.005c7292
add esp, 4
test eax, eax
je 0x4649f6
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x46499e
push eax
call fcn.005c7292
add esp, 4
mov esi, eax
jmp 0x4649a0
xor esi, esi
push edi
call fcn.005c7292
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005dfcbc
mov esi, eax
add esp, 8
test esi, esi
je 0x4649f6
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4649d5
push eax
push esi
call fcn.005c742a
push edi
push esi
call fcn.005c7400
add esp, 0x10
jmp 0x4649df
push edi
push esi
call fcn.005c742a
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401070
push esi
mov dword [ebp - 0x4c], esi
call fcn.005c7292
add esp, 4
mov dword [ebp - 0x44], eax
test byte [ebx + 0x164], 0x5c
je 0x464a26
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x464a0f
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.0047ed70
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 0x464a6a
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17d], 1
mov byte [ebx + 0x17c], 1
call fcn.005a2970
jmp 0x464bd4
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x4c]
push 0
push eax
push ebx
call fcn.0047e380
cmp eax, 2
jne 0x464ba9
mov ecx, dword [0x6d1290]
test ecx, ecx
je 0x464a9d
mov edx, dword [ebx + 0x468]
push 1
push edx
call fcn.004fab80
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x20], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x464b19
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 0x464ace
inc eax
jmp 0x464aac
test eax, eax
jl 0x464b19
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 0x464af1
add edx, 0x10
jmp 0x464ae5
mov esi, dword [ebp + 0x20]
test ecx, ecx
je 0x464b16
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.005c8320
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8c0]
mov ecx, ebx
test eax, eax
je 0x464b7d
call fcn.00595ce0
push ebx
mov ecx, 0x6d1198
call fcn.004335a0
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.005e38b9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.005e38b9
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.00595ce0
test ebx, ebx
mov byte [ebp - 4], 0x25
je 0x464b9a
mov ecx, ebx
call fcn.0058cb20
push ebx
call fcn.005dfce5
add esp, 4
mov dword [ebp - 4], 0x16
jmp 0x464b35
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x464bc6
mov edx, dword [ebx + 0x468]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x17c], 1
call fcn.005a2970
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x464bd4
mov byte [ebx + 0x319], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x464bde
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.00593720
push 1
push 1
push ebx
lea ecx, [edi + 0x4a8]
call fcn.004a7cf0
mov eax, dword [ebx + 0x474]
test eax, eax
jg 0x464c16
jl 0x464c0c
mov eax, dword [ebx + 0x470]
test eax, eax
ja 0x464c16
mov al, byte [ebx + 0x317]
test al, al
je 0x464c45
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x464c45
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x464c2a
cmp eax, 2
jne 0x464c45
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.00593900
mov eax, dword [edi + 0x220]
test eax, eax
je 0x464c5e
push eax
mov ecx, edi
call fcn.00468cf0
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 0x464b35
mov ecx, dword [edi + 0x4c4]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x464b35