Function at 0x46a4f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61aa8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c8
call fcn.005e6510
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 0x46c24d
push ebx
call fcn.0049ea40
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.005b0d60
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.0046f990
test al, al
mov byte [ebp - 0x32], al
jne 0x46a563
mov byte [ebx + 0x334], 0
jmp 0x46a56a
mov al, byte [ebp + 0x18]
test al, al
je 0x46a574
mov eax, dword [esi + 0x2e8]
test eax, eax
jle 0x46a57b
mov byte [ebx + 0x33e], 1
mov esi, dword [esi + 0x2e8]
test esi, esi
mov dword [ebp - 0x58], esi
jle 0x46a5ee
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x12e4]
test al, al
jne 0x46a5ee
mov eax, edx
mov ecx, dword [eax + 0x1c8]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x46a5ee
mov edi, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x58]
cmp dword [esi + 0x480], edi
je 0x46a5c0
inc eax
jmp 0x46a5a3
test eax, eax
jl 0x46a5ee
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x46a5ee
mov ecx, dword [eax + 0x494]
add eax, 0x490
test ecx, ecx
jg 0x46a5ee
jl 0x46a5e7
cmp dword [eax], 0
ja 0x46a5ee
mov byte [ebx + 0x33e], 0
mov ecx, 0x6d13f0
call fcn.00534200
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6d13f4]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2e8]
test eax, eax
jle 0x46a615
mov byte [0x6d13f4], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.004a1140
add esp, 4
test eax, eax
je 0x46a649
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x46a640
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 0x46a649
push esi
call fcn.004a1340
add esp, 4
mov eax, dword [0x6cc708]
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.005814e0
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push edx
push 0x6a00a0
push eax
call fcn.005fb90b
add esp, 0xc
mov ecx, ebx
push 1
call fcn.005b1230
mov ecx, dword [0x6d1428]
test ecx, ecx
je 0x46a69a
mov edx, dword [ebx + 0x480]
push edx
push 1
call fcn.00509d20
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x46a6d6
mov cl, byte [eax + 0x36]
test cl, cl
je 0x46a6bc
mov ecx, dword [ebx + 0x480]
mov dword [edi + 0xfec], ecx
mov byte [eax + 0x36], 0
mov eax, dword [edi + 0x5c]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x46a6d6
mov edx, dword [ebx + 0x480]
mov dword [edi + 0xff0], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x28]
test al, 8
je 0x46a8bb
mov ecx, dword [ebx + 0x31c]
test ecx, ecx
jne 0x46a8bb
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46a700
cmp eax, 2
jne 0x46a90e
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 0x46a873
push 0x5c
push edx
call fcn.005e7360
add esp, 8
test eax, eax
je 0x46a72a
inc eax
jmp 0x46a730
mov eax, dword [ebx + 0x13c]
push str.firefox.exe
push eax
call fcn.005e6820
add esp, 8
test eax, eax
jne 0x46a873
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x46a760
push 0x2e
push eax
call fcn.005e63d0
add esp, 8
test eax, eax
jne 0x46a873
mov edi, dword [ebx + 0x128]
test edi, edi
je 0x46a77a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x46a873
mov eax, dword [ebp - 0x18]
mov byte [ebx + 0xa6c], 0
mov byte [ebx + 0x328], 0
mov ecx, dword [ebx + 0x480]
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 0x46a7c0
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x480], ecx
je 0x46a7c3
mov edx, dword [ebp + 0x18]
inc esi
jmp 0x46a7a3
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 3
call fcn.005b3780
jmp 0x46a7df
mov ecx, dword [0x6d1428]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x46a7fb
mov eax, dword [ebp + 0x24]
push 0
push eax
call fcn.00509d60
test esi, esi
jl 0x46a854
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 0x46a82c
add ecx, 0x10
jmp 0x46a820
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x46a851
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.005e7440
add esp, 0xc
dec dword [edi + 8]
push ebx
mov ecx, 0x6d1328
mov byte [ebx + 0xa68], 1
call fcn.00435f60
mov al, byte [ebp - 0x11]
mov byte [0x6d13f4], al
jmp 0x46a990
mov ecx, dword [ebp - 0x18]
push 1
push 0
push 0
push 0
mov byte [ebx + 0xa6c], 1
push ebx
mov byte [ebx + 0x328], 1
call fcn.00469860
test eax, eax
jne 0x46a8a4
mov cl, byte [ebp - 0x11]
mov byte [0x6d13f4], cl
jmp 0x46a990
mov edi, dword [ebp - 0x18]
mov byte [ebx + 0xa6c], 0
mov byte [ebx + 0x328], 0
mov byte [ebp - 0x19], 1
jmp 0x46a90e
test ah, 8
je 0x46a90e
mov eax, dword [0x6d13ec]
test eax, eax
je 0x46a90e
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46a8d6
cmp eax, 2
jne 0x46a90e
push 1
push 1
push 0
push 0
mov byte [ebx + 0xa6c], 1
push ebx
mov ecx, edi
mov byte [ebx + 0x328], 1
call fcn.00469860
test eax, eax
je 0x46a987
mov byte [ebx + 0xa6c], 0
mov byte [ebx + 0x328], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x28], 0x20
je 0x46a9c8
mov eax, dword [ebp - 0x20]
push 0x3f
push eax
mov byte [ebp - 0x31], 1
call fcn.005e63d0
add esp, 8
test eax, eax
jne 0x46a96c
lea ecx, [ebp - 0x1f48]
call fcn.0053a500
mov ecx, dword [ebp - 0x20]
push 0
push ecx
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 5
call fcn.0053c570
test eax, eax
je 0x46a956
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 2
call fcn.0053a550
mov al, byte [ebp - 0x31]
test al, al
je 0x46a9c8
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa6c], 1
call fcn.00469860
test eax, eax
jne 0x46a9bd
mov dl, byte [ebp - 0x11]
mov byte [0x6d13f4], dl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00602ad6
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 + 0xa6c], 0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 0x28]
test ah, 1
je 0x46a9f0
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x440]
test eax, eax
je 0x46aa59
lea ecx, [ebp + 0x28]
push 4
mov dword [ebp + 0x28], 1
push ecx
jmp 0x46aa49
test al, 4
je 0x46aa59
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x46aa59
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46aa59
push 0x2e
push esi
call fcn.005e62ef
add esp, 8
test eax, eax
je 0x46aa59
push 8
push 0x6a6afc
push eax
call fcn.005e86f0
add esp, 0xc
test eax, eax
je 0x46aa59
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x440]
test eax, eax
je 0x46aa59
lea edx, [ebp + 0x28]
push 4
mov dword [ebp + 0x28], 1
push edx
push 4
push 0
push str.bChCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [edi + 0x2e8]
test eax, eax
mov dword [ebp - 0x58], eax
jle 0x46b3a1
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 0x46b3a1
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x58]
cmp dword [esi + 0x480], edi
jne 0x46acb2
test eax, eax
mov dword [ebp - 0x58], eax
jl 0x46b3a1
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x28], esi
je 0x46b3a1
mov al, byte [ebp - 0x19]
test al, al
jne 0x46aae3
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa6c], 1
call fcn.00469860
mov byte [ebx + 0xa6c], 0
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edx, eax
or edx, ecx
je 0x46b3a1
cmp eax, dword [ebx + 0x148]
jne 0x46b3a1
cmp ecx, dword [ebx + 0x14c]
jne 0x46b3a1
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, 0x6d1350
call fcn.00431ff0
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, 0x6d1340
call fcn.00431eb0
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, 0x6d1330
call fcn.00431eb0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x12e4]
test al, al
jne 0x46ae83
mov eax, dword [esi + 0x494]
test eax, eax
jg 0x46ae83
jl 0x46aba6
mov eax, dword [esi + 0x490]
test eax, eax
ja 0x46ae83
cmp dword [esi + 0x314], 4
jne 0x46abbd
mov eax, dword [esi + 0x30c]
test eax, eax
jne 0x46ae83
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x46abd6
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x46abce
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.005b1140
mov esi, dword [esi + 0x60]
test esi, esi
je 0x46abe5
push esi
mov ecx, ebx
call fcn.005a9f80
mov edx, dword [ebp + 0x28]
lea esi, [ebx + 0x94]
mov dword [ebp + 0x18], esi
mov eax, dword [edx + 0x484]
lea edi, [edx + 0x94]
mov dword [ebx + 0x484], eax
mov ecx, dword [edx + 0x300]
mov dword [ebx + 0x300], ecx
mov al, byte [edx + 0x333]
mov byte [ebx + 0x333], 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 + 0x18e]
mov byte [ebx + 0x18e], cl
mov dl, byte [edx + 0x334]
mov byte [ebx + 0x334], dl
mov ecx, dword [0x6d1428]
test ecx, ecx
je 0x46ac8b
cmp dword [ebx + 0x484], 1
je 0x46ac8b
mov eax, dword [ebx + 0x480]
push 1
push eax
call fcn.00509d60
mov ecx, dword [ebx + 0x480]
mov edx, dword [ebx + 0x484]
push ecx
mov ecx, dword [0x6d1428]
push edx
call fcn.00509d20
mov eax, dword [ebx + 0x480]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.005c09d0
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 7
call fcn.005b3780
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x18]
jmp 0x46acc7
inc eax
jmp 0x46aa79
mov ecx, dword [ebp + 0x28]
mov eax, dword [esi + 0x194]
mov dword [ebp - 0x94], 1
mov dword [ebp - 4], 6
mov edx, dword [ecx + 0x480]
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 0x46ad21
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 [0x6d1428]
test ecx, ecx
je 0x46ad3c
mov edx, dword [ebp + 0x28]
push 0
mov eax, dword [edx + 0x480]
push eax
call fcn.00509d60
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 0x46ad61
add ecx, 0x10
jmp 0x46ad55
test eax, eax
je 0x46ad86
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.005e7440
add esp, 0xc
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x28]
dec edx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x8d8]
test ecx, ecx
je 0x46adaa
push eax
mov ecx, 0x6d1328
call fcn.00435f60
mov esi, dword [ebp - 0x18]
jmp 0x46ade4
test eax, eax
mov byte [ebp - 4], 9
je 0x46add3
mov esi, dword [ebp + 0x28]
mov ecx, esi
call fcn.005a9bc0
push esi
call fcn.005fef05
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x46ade4
mov esi, dword [ebp - 0x18]
jmp 0x46ade4
push 1
push 1
push ebx
lea ecx, [esi + 0x4ac]
mov dword [ebp - 4], 2
call fcn.004b4370
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.005b0d60
mov ecx, ebx
call fcn.005b1320
mov eax, dword [esi + 0x224]
test eax, eax
je 0x46ae1f
push eax
mov ecx, esi
call fcn.00470fa0
mov ecx, dword [ebx + 0x480]
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 0x46ae61
mov ecx, dword [esi + 0x4c8]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6d0c38
lea ecx, [esi + 0x2ec]
mov dword [esi + 0x2e8], 0
call fcn.00602c5f
mov esi, dword [ebp - 0x18]
jmp 0x46b35b
mov dl, byte [ebp - 0x11]
mov byte [0x6d13f4], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46aea9
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46aea9
push edx
mov ecx, esi
call fcn.005b3ab0
mov eax, dword [0x6cc708]
mov dword [ebp + 0x24], eax
lea ecx, [ebp + 0x24]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xc
call fcn.005814e0
lea ecx, [ebp - 0x37d8]
call fcn.0053a500
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.0053acb0
test eax, eax
je 0x46aefe
push 1
push esi
lea ecx, [ebp - 0x37d8]
call fcn.0053be50
test eax, eax
je 0x46af1e
lea ecx, [ebp - 0x37d8]
mov byte [ebp - 4], 0xc
call fcn.0053a550
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.00602ad6
jmp 0x46c106
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005b0fb0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x18], edi
je 0x46af43
push eax
call fcn.005fef05
add esp, 4
test edi, edi
jne 0x46af4c
mov dword [esi + 0x3c], edi
jmp 0x46afb0
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x46af60
mov dword [esi + 0x3c], eax
jmp 0x46afb0
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005feedc
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x46af8d
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.005be7e0
jmp 0x46afb0
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 + 0x194]
test edi, edi
je 0x46b01c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46afea
mov ecx, dword [ebx + 0x194]
lea edx, [esi + 0x194]
push ecx
push 0x6a00a0
push edx
call fcn.005fb90b
add esp, 0xc
mov byte [esi + 0x190], 1
jmp 0x46b01c
mov al, byte [ebx + 0x190]
test al, al
je 0x46b01c
mov al, byte [ebx + 0x32f]
test al, al
je 0x46b01c
push 0x6d0c38
lea ecx, [esi + 0x194]
call fcn.00602c5f
mov byte [esi + 0x190], 1
mov byte [esi + 0x32f], 1
push 0
call fcn.005e7c09
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.0046d110
mov eax, dword [esi + 0x480]
add esp, 0x30
lea ecx, [esi + 0x20]
push eax
call fcn.005c1550
cmp dword [esi + 0x314], 4
jne 0x46b1cf
mov eax, dword [esi + 0x30c]
test eax, eax
je 0x46b1cf
lea ecx, [ebp - 0x1f48]
call fcn.0053a500
mov ecx, dword [0x6cc708]
mov dword [ebp + 0x18], ecx
mov eax, dword [ebx + 0x308]
lea edx, [ebp + 0x18]
push edx
push 0x6a2f44
push eax
mov byte [ebp - 4], 0xf
call fcn.00456fe0
mov eax, dword [ebx + 0x170]
mov ecx, dword [ebp + 0x18]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x1f48]
call fcn.0053acb0
test eax, eax
je 0x46b1b4
mov edx, dword [esi + 0x30c]
push 1
push edx
lea ecx, [ebp - 0x1f48]
call fcn.0053be50
test eax, eax
jne 0x46b1b4
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x46b12b
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x46b12b
mov ecx, dword [esi + 0x30c]
push edx
call fcn.005b3ab0
mov esi, dword [esi + 0x30c]
mov edi, dword [ebx + 0x3c]
add esi, 0x20
mov dword [ebp + 0x20], edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x46b14a
push eax
call fcn.005fef05
add esp, 4
test edi, edi
jne 0x46b153
mov dword [esi + 0x1c], edi
jmp 0x46b1b4
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 0x46b169
mov dword [esi + 0x1c], eax
jmp 0x46b1b4
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005feedc
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 0x1c], edx
jne 0x46b194
push str.URL::set_Cookie__:_Not_enough_memory__n
mov ecx, esi
call fcn.005be7e0
jmp 0x46b1b4
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.00602ad6
lea ecx, [ebp - 0x1f48]
mov byte [ebp - 4], 0xd
call fcn.0053a550
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x480]
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 0x46b20b
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x480], ecx
je 0x46b20e
mov edx, dword [ebp + 0x18]
inc esi
jmp 0x46b1ee
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 0x11
call fcn.005b3780
jmp 0x46b22a
mov ecx, dword [0x6d1428]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x46b246
mov eax, dword [ebp + 0x20]
push 0
push eax
call fcn.00509d60
test esi, esi
jl 0x46b29f
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 0x46b277
add ecx, 0x10
jmp 0x46b26b
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x46b29c
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.005e7440
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x8d8]
test eax, eax
je 0x46b2fc
push ebx
mov ecx, 0x6d1328
call fcn.00435f60
mov esi, dword [ebp - 0x18]
push 0x6d0c38
mov dword [ebp - 4], 0xd
lea ecx, [esi + 0x2ec]
mov dword [esi + 0x2e8], 0
call fcn.00602c5f
mov al, byte [esi + 0x12e4]
test al, al
je 0x46b322
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x480]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x46b33a
test ebx, ebx
mov byte [ebp - 4], 0x13
je 0x46b2b4
mov ecx, ebx
call fcn.005a9bc0
push ebx
call fcn.005fef05
add esp, 4
jmp 0x46b2b4
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x480]
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.0053a550
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.00602ad6
mov eax, dword [esi + 0x12e0]
test eax, eax
je 0x46b393
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46b389
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 [0x6d13f4], cl
jmp 0x46c106
mov al, byte [ebp - 0x32]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6d13f4], dl
je 0x46b3b8
mov al, byte [ebp + 0x18]
test al, al
je 0x46b3cb
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2e8], esi
jle 0x46b519
jmp 0x46b3d0
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x470
call fcn.005feedc
mov ecx, eax
add esp, 4
mov dword [ebp + 0x18], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x16
je 0x46b401
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push esi
push eax
lea eax, [edi + 0x698]
push edx
push eax
call fcn.00439910
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x46c106
mov cl, byte [ebp + 0x24]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x6a00a0
push eax
call fcn.005fb90b
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x6a00a0
push edx
call fcn.005fb90b
mov eax, dword [ebx + 0x480]
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.005ff43f
push eax
push 0x82
mov ecx, esi
call fcn.005fe755
mov edx, dword [esi + 0x1c]
mov ecx, ebx
push edx
call fcn.005b3aa0
push 5
mov ecx, esi
call fcn.006021da
mov eax, dword [edi + 0x2e8]
test eax, eax
jle 0x46c106
mov eax, dword [edi + 0x12e0]
test eax, eax
je 0x46b4fe
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 0x46b4fe
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 0x46c106
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.005b5790
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 0x46b560
push eax
call fcn.005e639f
add esp, 4
test eax, eax
jne 0x46b560
mov dword [ebp + 0x1c], esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x46b7ab
push esi
call fcn.005e639f
add esp, 4
test eax, eax
jne 0x46b580
mov dword [ebp + 0x20], eax
jmp 0x46b7ab
push 0x2e
push esi
call fcn.005e62ef
xor esi, esi
add esp, 8
cmp eax, esi
je 0x46b7ab
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x3c], si
add eax, 2
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00402500
add esp, 8
mov eax, dword [ebx + 0x20]
lea ecx, [ebp + 0x28]
lea edx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004b0b80
test al, al
je 0x46b793
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + 0x28]
cmp eax, esi
mov dword [ebx + 0x300], edx
je 0x46b5ea
mov edi, eax
jmp 0x46b5f0
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
call fcn.005e639f
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x6a015c
jne 0x46b60b
mov edi, 0x6d0c3c
mov eax, dword [ebp - 0x40]
cmp eax, esi
jne 0x46b615
lea eax, [ebp - 0x3c]
mov ecx, 0x6a0c34
test ecx, ecx
je 0x46b793
test eax, eax
je 0x46b793
test edi, edi
je 0x46b793
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.00402410
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.00402410
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0xa0]
push edx
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x98], esi
mov word [ebp - 0x9c], si
call fcn.00402410
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1d
call fcn.00401070
push 0x6a0c34
lea ecx, [ebp - 0x88]
call fcn.00402380
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
cmp eax, esi
jne 0x46b6ae
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0xa0]
mov dword [ebp + 0x24], eax
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x48], edi
mov edi, eax
push ecx
add edi, esi
call fcn.005e639f
mov edx, dword [ebp - 0x48]
add edi, edx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x64], edx
je 0x46b75d
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.00402400
push eax
lea ecx, [ebp - 0x70]
call fcn.00402400
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402400
push eax
lea ecx, [ebp - 0x88]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x64]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.005e639f
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.00602ad6
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 0x46b8b4
test esi, esi
jne 0x46b8b4
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46b7d4
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1c8]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x64]
push 0
push edx
call fcn.00488ca0
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x46b85a
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46b85a
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46b85a
mov eax, dword [ebp - 0x54]
cmp eax, esi
ja 0x46b85a
push eax
call fcn.005e639f
mov ecx, dword [ebp - 0x54]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46b85a
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.00402410
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], 0x26
test eax, eax
jne 0x46b840
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00402410
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
call fcn.00401070
jmp 0x46bfd4
lea ecx, [ebp - 0x54]
call fcn.00401070
test esi, esi
je 0x46bfd4
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bfd4
push esi
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
mov dword [ebp - 0x54], eax
test eax, eax
je 0x46bfd4
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x54]
push esi
push ecx
mov dword [ebp - 0x4c], eax
call fcn.005e6569
add esp, 0xc
jmp 0x46bfd4
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x46b8be
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.005e7163
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 0x46b9bb
cmp eax, edi
je 0x46b95a
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46b95a
mov eax, dword [ebp - 0x40]
cmp eax, esi
ja 0x46b95a
push eax
call fcn.005e639f
mov edx, dword [ebp - 0x40]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x46b95a
push esi
lea ecx, [ebp - 0x88]
call fcn.0040e5a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x20
call fcn.00402400
push eax
lea ecx, [ebp - 0x40]
call fcn.00402410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x46b99f
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46b99f
push esi
call fcn.005e639f
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x46b99f
push esi
call fcn.005e639f
mov edx, dword [ebp - 0x40]
push esi
push edx
mov dword [ebp - 0x38], eax
call fcn.005e6569
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x46bb43
mov byte [ebx + 0x18f], 1
mov byte [ebx + 0x32d], 1
jmp 0x46bb43
lea ecx, [ebp - 0x2b8]
test ecx, ecx
je 0x46ba3d
cmp eax, edi
je 0x46ba3d
lea edx, [ebp - 0x2b8]
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46ba3d
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b8]
cmp eax, ecx
ja 0x46ba3d
push eax
call fcn.005e639f
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b8]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x46ba3d
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x88]
push edx
call fcn.0040e5a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x21
call fcn.00402400
push eax
lea ecx, [ebp - 0x40]
call fcn.00402410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x46baa4
lea ecx, [ebp - 0x40]
call fcn.00401070
lea eax, [ebp - 0x2b8]
test eax, eax
je 0x46baa4
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46baa4
lea edx, [ebp - 0x2b8]
push edx
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x46baa4
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.005e639f
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2b8]
push edx
push eax
call fcn.005e6569
add esp, 0xc
lea ecx, [ebp - 0x6b8]
test ecx, ecx
je 0x46bb43
lea edx, [ebp - 0x6b8]
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bb43
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46bad9
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x46badb
xor esi, esi
lea eax, [ebp - 0x6b8]
push eax
call fcn.005e639f
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
mov esi, eax
add esp, 8
test esi, esi
je 0x46bb43
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x46bb1c
push eax
push esi
call fcn.005e6569
lea edx, [ebp - 0x6b8]
push edx
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x46bb2c
lea eax, [ebp - 0x6b8]
push eax
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
mov dword [ebp - 0x40], esi
call fcn.005e639f
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 0x46bc2c
cmp eax, edi
je 0x46bbc0
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bbc0
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x46bbc0
push eax
call fcn.005e639f
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46bbc0
push esi
lea ecx, [ebp - 0x88]
call fcn.0040e5a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x23
call fcn.00402400
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46bc05
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bc05
push esi
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x46bc05
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.005e6569
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x46bd96
mov eax, dword [ebp + 0x20]
mov byte [ebx + 0x32c], 1
cmp eax, edi
je 0x46bd96
mov byte [ebx + 0x18e], 1
jmp 0x46bd96
lea edx, [ebp - 0x48]
test edx, edx
je 0x46bc9f
cmp eax, edi
je 0x46bc9f
lea eax, [ebp - 0x48]
push eax
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bc9f
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
cmp eax, ecx
ja 0x46bc9f
push eax
call fcn.005e639f
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x46bc9f
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x88]
push edx
call fcn.0040e5a0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x24
call fcn.00402400
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402410
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46bcf7
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x48]
test eax, eax
je 0x46bcf7
lea ecx, [ebp - 0x48]
push ecx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bcf7
lea edx, [ebp - 0x48]
push edx
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x46bcf7
lea ecx, [ebp - 0x48]
push ecx
call fcn.005e639f
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x48]
push edx
push eax
call fcn.005e6569
add esp, 0xc
lea ecx, [ebp - 0x4b8]
test ecx, ecx
je 0x46bd96
lea edx, [ebp - 0x4b8]
push edx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bd96
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46bd2c
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x46bd2e
xor esi, esi
lea eax, [ebp - 0x4b8]
push eax
call fcn.005e639f
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, edi
je 0x46bd96
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46bd6f
push eax
push esi
call fcn.005e6569
lea edx, [ebp - 0x4b8]
push edx
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x46bd7f
lea eax, [ebp - 0x4b8]
push eax
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46bda1
mov esi, eax
jmp 0x46bda7
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.005e639f
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x46be4e
mov ecx, 0x6a015c
test ecx, ecx
je 0x46be4e
push ecx
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46be4e
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46bdea
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x46bdec
xor esi, esi
push 0x6a015c
call fcn.005e639f
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
mov esi, eax
add esp, 8
cmp esi, edi
je 0x46be4e
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x46be29
push eax
push esi
call fcn.005e6569
push 0x6a015c
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x46be37
push 0x6a015c
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
cmp esi, edi
je 0x46beb7
cmp dword [ebp - 0x54], edi
je 0x46beb7
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46beb7
mov eax, dword [ebp - 0x54]
cmp eax, esi
ja 0x46beb7
push eax
call fcn.005e639f
mov ecx, dword [ebp - 0x54]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x46beb7
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x6c], di
call fcn.00402410
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x25
call fcn.00402400
push eax
lea ecx, [ebp - 0x54]
call fcn.00402410
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x46bf00
lea ecx, [ebp - 0x54]
call fcn.00401070
cmp esi, edi
je 0x46bf00
push esi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bf00
push esi
call fcn.005e639f
lea eax, [eax + eax + 2]
push eax
call fcn.005feedc
add esp, 8
cmp eax, edi
mov dword [ebp - 0x54], eax
je 0x46bf00
push esi
call fcn.005e639f
mov ecx, dword [ebp - 0x54]
push esi
push ecx
mov dword [ebp - 0x4c], eax
call fcn.005e6569
add esp, 0xc
mov eax, dword [ebp - 0x40]
cmp eax, edi
mov edi, eax
jne 0x46bf0c
lea edi, [ebp - 0x3c]
test edi, edi
je 0x46bf89
push edi
call fcn.005e639f
add esp, 4
test eax, eax
je 0x46bf89
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46bf31
push eax
call fcn.005e639f
add esp, 4
mov esi, eax
jmp 0x46bf33
xor esi, esi
push edi
call fcn.005e639f
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.005feedc
mov esi, eax
add esp, 8
test esi, esi
je 0x46bf89
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x46bf68
push eax
push esi
call fcn.005e6569
push edi
push esi
call fcn.005e653f
add esp, 0x10
jmp 0x46bf72
push edi
push esi
call fcn.005e6569
add esp, 8
lea ecx, [ebp - 0x54]
call fcn.00401070
push esi
mov dword [ebp - 0x54], esi
call fcn.005e639f
add esp, 4
mov dword [ebp - 0x4c], eax
test byte [ebx + 0x16c], 0x5c
je 0x46bfb9
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x46bfa2
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.00488ca0
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 0x46bffd
mov edx, dword [ebx + 0x480]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18f], 1
mov byte [ebx + 0x18e], 1
call fcn.005c10b0
jmp 0x46c154
mov ecx, dword [edi + 0x1c8]
lea eax, [ebp - 0x54]
push 0
push eax
push ebx
call fcn.004882b0
cmp eax, 2
jne 0x46c129
mov ecx, dword [0x6d1428]
test ecx, ecx
je 0x46c030
mov edx, dword [ebx + 0x480]
push 1
push edx
call fcn.00509d60
mov esi, dword [edi + 0x1c8]
mov dword [ebp + 0x18], esi
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x46c0ac
mov edi, dword [esi + 4]
mov edx, eax
shl edx, 4
mov edx, dword [edx + edi]
mov edi, dword [ebx + 0x480]
mov edx, dword [edx + 0x480]
cmp edx, edi
je 0x46c061
inc eax
jmp 0x46c03f
test eax, eax
jl 0x46c0ac
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 0x46c084
add edx, 0x10
jmp 0x46c078
mov esi, dword [ebp + 0x18]
test ecx, ecx
je 0x46c0a9
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.005e7440
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x8d8]
mov ecx, ebx
test eax, eax
je 0x46c0ca
call fcn.005b3780
push ebx
mov ecx, 0x6d1328
call fcn.00435f60
jmp 0x46c0ee
call fcn.005b3780
test ebx, ebx
mov byte [ebp - 4], 0x27
je 0x46c0e7
mov ecx, ebx
call fcn.005a9bc0
push ebx
call fcn.005fef05
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.00602ad6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00602ad6
jmp 0x46c24d
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x46c146
mov edx, dword [ebx + 0x480]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18e], 1
call fcn.005c10b0
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x46c154
mov byte [ebx + 0x32e], 1
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x46c15e
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
call fcn.005b1140
push 1
push 1
push ebx
lea ecx, [edi + 0x4ac]
call fcn.004b4370
mov eax, dword [ebx + 0x48c]
test eax, eax
jg 0x46c196
jl 0x46c18c
mov eax, dword [ebx + 0x488]
test eax, eax
ja 0x46c196
mov al, byte [ebx + 0x32b]
test al, al
je 0x46c1c5
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x46c1c5
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x46c1aa
cmp eax, 2
jne 0x46c1c5
mov eax, dword [ebx + 0x480]
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.005b1320
mov eax, dword [edi + 0x224]
test eax, eax
je 0x46c1de
push eax
mov ecx, edi
call fcn.00470fa0
mov ecx, dword [ebx + 0x480]
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 0x46c0ee
mov ecx, dword [edi + 0x4c8]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x46c0ee
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