Function at 0x476f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f20e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x37c0
call fcn.00609d40
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 0x478e0f
push ebx
call fcn.004af700
mov eax, dword [esi + 0x1c]
add esp, 4
mov ecx, ebx
push eax
call fcn.005cf6a0
mov ecx, dword [esi + 0x14c]
mov dword [ebx], ecx
mov ecx, esi
call fcn.0047c9f0
test al, al
mov byte [ebp - 0x32], al
jne 0x477003
mov byte [ebx + 0x334], 0
jmp 0x47700a
mov al, byte [ebp + 0x18]
test al, al
je 0x477014
mov eax, dword [esi + 0x2ec]
test eax, eax
jle 0x47701b
mov byte [ebx + 0x33e], 1
mov esi, dword [esi + 0x2ec]
test esi, esi
mov dword [ebp - 0x74], esi
jle 0x47708e
mov edx, dword [ebp - 0x18]
mov al, byte [edx + 0x1314]
test al, al
jne 0x47708e
mov eax, edx
mov ecx, dword [eax + 0x1cc]
mov edx, dword [ecx + 8]
dec edx
xor eax, eax
cmp eax, edx
jg 0x47708e
mov edi, dword [ecx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x74]
cmp dword [esi + 0x4a0], edi
je 0x477060
inc eax
jmp 0x477043
test eax, eax
jl 0x47708e
mov ecx, dword [ecx + 4]
shl eax, 4
mov eax, dword [eax + ecx]
test eax, eax
je 0x47708e
mov ecx, dword [eax + 0x4b4]
add eax, 0x4b0
test ecx, ecx
jg 0x47708e
jl 0x477087
cmp dword [eax], 0
ja 0x47708e
mov byte [ebx + 0x33e], 0
mov ecx, 0x6fcc08
call fcn.0054d850
mov edi, dword [ebp - 0x18]
mov dl, byte [0x6fcc0c]
mov byte [ebp - 0x11], dl
mov eax, dword [edi + 0x2ec]
test eax, eax
jle 0x4770b5
mov byte [0x6fcc0c], 0
mov eax, dword [ebx + 0x20]
lea esi, [ebx + 0x20]
push eax
call fcn.004b2e30
add esp, 4
test eax, eax
je 0x4770e9
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4770e0
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 0x4770e9
push esi
call fcn.004b3030
add esp, 4
mov eax, dword [0x6f7b78]
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.0059de90
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push edx
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
mov ecx, ebx
push 1
call fcn.005cfb70
mov ecx, dword [0x6fcc3c]
test ecx, ecx
je 0x47713a
mov edx, dword [ebx + 0x4a0]
push edx
push 1
call fcn.00520d70
mov eax, dword [edi + 0x5c]
mov byte [ebp - 0x19], 0
test eax, eax
je 0x477176
mov cl, byte [eax + 0x36]
test cl, cl
je 0x47715c
mov ecx, dword [ebx + 0x4a0]
mov dword [edi + 0x101c], ecx
mov byte [eax + 0x36], 0
mov eax, dword [edi + 0x5c]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x477176
mov edx, dword [ebx + 0x4a0]
mov dword [edi + 0x1020], edx
mov byte [eax + 0x38], 0
mov eax, dword [ebp + 0x28]
test al, 8
je 0x477368
mov ecx, dword [ebx + 0x31c]
test ecx, ecx
jne 0x477368
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x4771a0
cmp eax, 2
jne 0x4773bb
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 0x477320
test dword [ebp + 0x28], 0x1000000
jne 0x477320
push 0x5c
push edx
call fcn.0060ab40
add esp, 8
test eax, eax
je 0x4771d7
inc eax
jmp 0x4771dd
mov eax, dword [ebx + 0x13c]
push str.firefox.exe
push eax
call fcn.0060a000
add esp, 8
test eax, eax
jne 0x477320
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x47720d
push 0x2e
push eax
call fcn.00609c00
add esp, 8
test eax, eax
jne 0x477320
mov edi, dword [ebx + 0x128]
test edi, edi
je 0x477227
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x477320
mov eax, dword [ebp - 0x18]
mov byte [ebx + 0xa94], 0
mov byte [ebx + 0x328], 0
mov ecx, dword [ebx + 0x4a0]
mov edx, dword [eax + 0x1cc]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x47726d
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x4a0], ecx
je 0x477270
mov edx, dword [ebp + 0x24]
inc esi
jmp 0x477250
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x18], esi
mov byte [ebp - 4], 3
call fcn.005d21a0
jmp 0x47728c
mov ecx, dword [0x6fcc3c]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x4772a8
mov eax, dword [ebp + 0x20]
push 0
push eax
call fcn.00520db0
test esi, esi
jl 0x477301
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1cc]
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 0x4772d9
add ecx, 0x10
jmp 0x4772cd
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x4772fe
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.0060ac20
add esp, 0xc
dec dword [edi + 8]
push ebx
mov ecx, 0x6fcb38
mov byte [ebx + 0xa90], 1
call fcn.0043b220
mov al, byte [ebp - 0x11]
mov byte [0x6fcc0c], al
jmp 0x47743d
mov ecx, dword [ebp - 0x18]
push 1
push 0
push 0
push 0
mov byte [ebx + 0xa94], 1
push ebx
mov byte [ebx + 0x328], 1
call fcn.00476210
test eax, eax
jne 0x477351
mov cl, byte [ebp - 0x11]
mov byte [0x6fcc0c], cl
jmp 0x47743d
mov edi, dword [ebp - 0x18]
mov byte [ebx + 0xa94], 0
mov byte [ebx + 0x328], 0
mov byte [ebp - 0x19], 1
jmp 0x4773bb
test ah, 8
je 0x4773bb
mov eax, dword [0x6fcc00]
test eax, eax
je 0x4773bb
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x477383
cmp eax, 2
jne 0x4773bb
push 1
push 1
push 0
push 0
mov byte [ebx + 0xa94], 1
push ebx
mov ecx, edi
mov byte [ebx + 0x328], 1
call fcn.00476210
test eax, eax
je 0x477434
mov byte [ebx + 0xa94], 0
mov byte [ebx + 0x328], 0
mov byte [ebp - 0x19], 1
test byte [ebp + 0x28], 0x20
je 0x477475
mov eax, dword [ebp - 0x20]
push 0x3f
push eax
mov byte [ebp - 0x31], 1
call fcn.00609c00
add esp, 8
test eax, eax
jne 0x477419
lea ecx, [ebp - 0x1f40]
call fcn.00554000
mov ecx, dword [ebp - 0x20]
push 0
push ecx
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 5
call fcn.00556070
test eax, eax
je 0x477403
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 2
call fcn.00554050
mov al, byte [ebp - 0x31]
test al, al
je 0x477475
push 1
push 1
push 0
push 0
push ebx
mov ecx, edi
mov byte [ebx + 0xa94], 1
call fcn.00476210
test eax, eax
jne 0x47746a
mov dl, byte [ebp - 0x11]
mov byte [0x6fcc0c], dl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00622d8a
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 + 0xa94], 0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 0x28]
test ah, 1
je 0x47749d
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x45c]
test eax, eax
je 0x477506
lea ecx, [ebp + 0x28]
push 4
mov dword [ebp + 0x28], 1
push ecx
jmp 0x4774f6
test al, 4
je 0x477506
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x477506
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x477506
push 0x2e
push esi
call fcn.00609ba3
add esp, 8
test eax, eax
je 0x477506
push 8
push 0x6d02fc
push eax
call fcn.0060bf70
add esp, 0xc
test eax, eax
je 0x477506
mov byte [ebx + 0x175], 1
mov eax, dword [ebx + 0x45c]
test eax, eax
je 0x477506
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 + 0x2ec]
test eax, eax
mov dword [ebp - 0x74], eax
jle 0x477f83
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x1cc]
mov ecx, dword [edx + 8]
dec ecx
xor eax, eax
cmp eax, ecx
mov dword [ebp - 0x50], eax
jg 0x477f83
mov edi, dword [edx + 4]
mov esi, eax
shl esi, 4
mov esi, dword [esi + edi]
mov edi, dword [ebp - 0x74]
cmp dword [esi + 0x4a0], edi
jne 0x477760
test eax, eax
mov dword [ebp - 0x74], eax
jl 0x477f83
mov ecx, dword [edx + 4]
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
mov dword [ebp + 0x28], esi
je 0x477f83
mov al, byte [ebp - 0x19]
test al, al
jne 0x477590
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push ebx
mov byte [ebx + 0xa94], 1
call fcn.00476210
mov byte [ebx + 0xa94], 0
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x14c]
mov edx, eax
or edx, ecx
je 0x477f83
cmp eax, dword [ebx + 0x148]
jne 0x477f83
cmp ecx, dword [ebx + 0x14c]
jne 0x477f83
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, 0x6fcb60
call fcn.00437020
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, 0x6fcb50
call fcn.00436ee0
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, 0x6fcb40
call fcn.00436ee0
mov ecx, dword [ebp - 0x18]
mov al, byte [ecx + 0x1314]
test al, al
jne 0x477931
mov eax, dword [esi + 0x4b4]
test eax, eax
jg 0x477931
jl 0x477653
mov eax, dword [esi + 0x4b0]
test eax, eax
ja 0x477931
mov eax, dword [esi + 0x314]
test eax, eax
je 0x47766b
mov eax, dword [esi + 0x30c]
test eax, eax
jne 0x477931
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x477684
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x47767c
lea eax, [esi + 0x58]
push eax
mov ecx, ebx
call fcn.005cfa80
mov esi, dword [esi + 0x60]
test esi, esi
je 0x477693
push esi
mov ecx, ebx
call fcn.005c7130
mov edx, dword [ebp + 0x28]
lea esi, [ebx + 0x94]
mov dword [ebp + 0x18], esi
mov eax, dword [edx + 0x4a4]
lea edi, [edx + 0x94]
mov dword [ebx + 0x4a4], 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 [0x6fcc3c]
test ecx, ecx
je 0x477739
cmp dword [ebx + 0x4a4], 1
je 0x477739
mov eax, dword [ebx + 0x4a0]
push 1
push eax
call fcn.00520db0
mov ecx, dword [ebx + 0x4a0]
mov edx, dword [ebx + 0x4a4]
push ecx
mov ecx, dword [0x6fcc3c]
push edx
call fcn.00520d70
mov eax, dword [ebx + 0x4a0]
push 0
push 0
push eax
lea ecx, [ebx + 0x20]
call fcn.005e13f0
mov ecx, dword [ebp + 0x28]
mov byte [ebp - 4], 7
call fcn.005d21a0
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x18]
jmp 0x477775
inc eax
jmp 0x477526
mov ecx, dword [ebp + 0x28]
mov eax, dword [esi + 0x194]
mov dword [ebp - 0x70], 1
mov dword [ebp - 4], 6
mov edx, dword [ecx + 0x4a0]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x68], 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 0x4777c6
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 [0x6fcc3c]
test ecx, ecx
je 0x4777e1
mov edx, dword [ebp + 0x28]
push 0
mov eax, dword [edx + 0x4a0]
push eax
call fcn.00520db0
mov esi, dword [esi + 0x1cc]
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 0x477806
add ecx, 0x10
jmp 0x4777fa
test eax, eax
je 0x47782b
mov ecx, dword [esi + 4]
shl eax, 4
push eax
mov eax, dword [ebp - 0x74]
lea edx, [eax + 1]
shl edx, 4
shl eax, 4
add edx, ecx
add eax, ecx
push edx
push eax
call fcn.0060ac20
add esp, 0xc
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0x28]
dec edx
mov dword [esi + 8], edx
mov ecx, dword [eax + 0x900]
test ecx, ecx
je 0x47784f
push eax
mov ecx, 0x6fcb38
call fcn.0043b220
mov esi, dword [ebp - 0x18]
jmp 0x477889
test eax, eax
mov byte [ebp - 4], 9
je 0x477878
mov esi, dword [ebp + 0x28]
mov ecx, esi
call fcn.005c6d50
push esi
call fcn.00622af4
mov esi, dword [ebp - 0x18]
add esp, 4
jmp 0x477889
mov esi, dword [ebp - 0x18]
jmp 0x477889
push 1
push 1
push ebx
lea ecx, [esi + 0x4dc]
mov dword [ebp - 4], 2
call fcn.004c6de0
mov eax, dword [esi + 0x1c]
mov ecx, ebx
push eax
call fcn.005cf6a0
mov ecx, ebx
call fcn.005cfc60
mov eax, dword [esi + 0x228]
test eax, eax
je 0x4778c4
push eax
mov ecx, esi
call fcn.0047e890
mov ecx, dword [ebx + 0x4a0]
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 0x47790f
mov ecx, dword [esi + 0x4f8]
push 1
push eax
push 0x1013
push ecx
call edi
push 0x6fc418
lea ecx, [esi + 0x2f0]
mov dword [esi + 0x2ec], 0
call fcn.00622f13
mov esi, dword [ebp - 0x18]
jmp 0x477f3d
mov dl, byte [ebp - 0x11]
mov byte [0x6fcc0c], dl
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x477957
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477957
push edx
mov ecx, esi
call fcn.005d24d0
mov eax, dword [0x6f7b78]
mov dword [ebp + 0x18], eax
lea ecx, [ebp + 0x18]
push 0
push ecx
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 0xc
call fcn.0059de90
lea ecx, [ebp - 0x37d0]
call fcn.00554000
mov edx, dword [ebx + 0x170]
mov eax, dword [ebp + 0x18]
push edx
push eax
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xd
call fcn.005547b0
test eax, eax
je 0x4779ac
push 1
push esi
lea ecx, [ebp - 0x37d0]
call fcn.00555950
test eax, eax
je 0x4779cc
lea ecx, [ebp - 0x37d0]
mov byte [ebp - 4], 0xc
call fcn.00554050
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
jmp 0x478cc8
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebx + 0x2c]
push ecx
push edx
mov ecx, esi
call fcn.005cf8f0
mov eax, dword [esi + 0x3c]
mov edi, dword [ebx + 0x3c]
test eax, eax
mov dword [ebp + 0x24], edi
je 0x4779f1
push eax
call fcn.00622af4
add esp, 4
test edi, edi
jne 0x4779fa
mov dword [esi + 0x3c], edi
jmp 0x477a5e
mov edi, dword [ebp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x477a0e
mov dword [esi + 0x3c], eax
jmp 0x477a5e
mov edi, dword [ebp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov edx, eax
lea ecx, [esi + 0x20]
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x477a3b
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.005df030
jmp 0x477a5e
mov edi, dword [ebp + 0x24]
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 0x477aca
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477a98
mov ecx, dword [ebx + 0x194]
lea edx, [esi + 0x194]
push ecx
push 0x6c910c
push edx
call fcn.0061fae1
add esp, 0xc
mov byte [esi + 0x190], 1
jmp 0x477aca
mov al, byte [ebx + 0x190]
test al, al
je 0x477aca
mov al, byte [ebx + 0x32f]
test al, al
je 0x477aca
push 0x6fc418
lea ecx, [esi + 0x194]
call fcn.00622f13
mov byte [esi + 0x190], 1
mov byte [esi + 0x32f], 1
push 0
call fcn.0060b449
mov dword [esi + 0x150], eax
mov eax, dword [ebx + 0x37c]
mov dword [esi + 0x37c], eax
mov eax, dword [ebx + 0x378]
mov ecx, dword [ebx + 0x374]
mov edx, dword [ebx + 0x168]
push eax
mov eax, dword [ebx + 0x164]
push ecx
push edx
push eax
mov eax, dword [ebx + 0x160]
push eax
mov eax, dword [ebx + 0x15c]
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.00479bc0
mov edi, dword [ebx + 0x380]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x38
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477b6d
mov ecx, dword [ebx + 0x380]
lea edx, [esi + 0x380]
push ecx
push 0x6c910c
push edx
call fcn.0061fae1
add esp, 0xc
mov eax, dword [esi + 0x4a0]
lea ecx, [esi + 0x20]
push eax
call fcn.005e1fc0
mov eax, dword [esi + 0x314]
test eax, eax
je 0x477db1
mov eax, dword [esi + 0x30c]
test eax, eax
je 0x477db1
lea ecx, [ebp - 0x1f40]
call fcn.00554000
mov ecx, dword [0x6f7b78]
mov dword [ebp + 0x24], ecx
mov eax, dword [esi + 0x314]
mov byte [ebp - 4], 0xf
cmp eax, 4
jne 0x477bd2
mov eax, dword [ebx + 0x308]
lea edx, [ebp + 0x24]
push edx
push 0x6cc3ec
push eax
call fcn.00461bb0
jmp 0x477bfe
cmp eax, 8
jne 0x477c01
mov edi, dword [ebx + 0xf0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477c01
mov eax, dword [ebx + 0xf0]
lea ecx, [ebp + 0x24]
push eax
push 0x6c910c
push ecx
call fcn.0061fae1
add esp, 0xc
mov edx, dword [ebx + 0x170]
mov eax, dword [ebp + 0x24]
push edx
push eax
lea ecx, [ebp - 0x1f40]
call fcn.005547b0
test eax, eax
je 0x477d96
mov ecx, dword [esi + 0x30c]
push 1
push ecx
lea ecx, [ebp - 0x1f40]
call fcn.00555950
test eax, eax
jne 0x477d96
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x477c5a
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477c5a
mov ecx, dword [esi + 0x30c]
push edx
call fcn.005d24d0
mov edi, dword [ebx + 0x380]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477c8c
mov edx, dword [ebx + 0x380]
mov eax, dword [esi + 0x30c]
push edx
add eax, 0x380
push 0x6c910c
push eax
call fcn.0061fae1
add esp, 0xc
mov edi, dword [ebx + 0x374]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477cbf
mov ecx, dword [ebx + 0x374]
mov edx, dword [esi + 0x30c]
push ecx
add edx, 0x374
push 0x6c910c
push edx
call fcn.0061fae1
add esp, 0xc
mov edi, dword [ebx + 0x378]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x477cf2
mov eax, dword [ebx + 0x378]
mov ecx, dword [esi + 0x30c]
push eax
add ecx, 0x378
push 0x6c910c
push ecx
call fcn.0061fae1
add esp, 0xc
mov edx, dword [esi + 0x30c]
mov edi, dword [ebx + 0x3c]
add edx, 0x20
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], edx
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x477d17
push eax
call fcn.00622af4
mov edx, dword [ebp + 0x1c]
add esp, 4
test edi, edi
jne 0x477d20
mov dword [edx + 0x1c], edi
jmp 0x477d81
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x477d31
mov dword [edx + 0x1c], eax
jmp 0x477d81
mov edi, dword [ebp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00622acb
mov ecx, dword [ebp + 0x1c]
mov edx, eax
add esp, 4
test edx, edx
mov dword [ecx + 0x1c], edx
jne 0x477d5e
push str.URL::set_Cookie__:_Not_enough_memory__n
call fcn.005df030
jmp 0x477d81
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 + 0x28]
mov esi, dword [esi + 0x30c]
mov ecx, dword [esi + 0x4a0]
push ecx
lea ecx, [esi + 0x20]
call fcn.005e1fc0
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xe
call fcn.00622d8a
lea ecx, [ebp - 0x1f40]
mov byte [ebp - 4], 0xd
call fcn.00554050
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x4a0]
mov byte [ebp - 4], 0x10
mov dword [ebp + 0x20], ecx
mov edx, dword [edx + 0x1cc]
mov dword [ebp + 0x24], edx
mov eax, dword [edx + 8]
dec eax
xor esi, esi
cmp esi, eax
jg 0x477ded
mov edx, dword [edx + 4]
mov edi, esi
shl edi, 4
mov edx, dword [edi + edx]
cmp dword [edx + 0x4a0], ecx
je 0x477df0
mov edx, dword [ebp + 0x24]
inc esi
jmp 0x477dd0
or esi, 0xffffffff
mov ecx, ebx
mov dword [ebp + 0x24], esi
mov byte [ebp - 4], 0x11
call fcn.005d21a0
jmp 0x477e0c
mov ecx, dword [0x6fcc3c]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x477e28
mov eax, dword [ebp + 0x20]
push 0
push eax
call fcn.00520db0
test esi, esi
jl 0x477e81
mov ecx, dword [ebp - 0x18]
mov edi, esi
shl edi, 4
mov ecx, dword [ecx + 0x1cc]
mov edx, 1
mov dword [ebp + 0x24], 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 0x477e59
add ecx, 0x10
jmp 0x477e4d
mov edi, dword [ebp + 0x24]
test eax, eax
je 0x477e7e
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.0060ac20
add esp, 0xc
dec dword [edi + 8]
mov eax, dword [ebx + 0x900]
test eax, eax
je 0x477ede
push ebx
mov ecx, 0x6fcb38
call fcn.0043b220
mov esi, dword [ebp - 0x18]
push 0x6fc418
mov dword [ebp - 4], 0xd
lea ecx, [esi + 0x2f0]
mov dword [esi + 0x2ec], 0
call fcn.00622f13
mov al, byte [esi + 0x1314]
test al, al
je 0x477f04
mov eax, dword [ebp + 0x28]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 0x4a0]
push eax
push 0x1468
push 0x111
push ecx
jmp 0x477f1c
test ebx, ebx
mov byte [ebp - 4], 0x13
je 0x477e96
mov ecx, ebx
call fcn.005c6d50
push ebx
call fcn.00622af4
add esp, 4
jmp 0x477e96
mov edx, dword [ebp + 0x28]
mov eax, dword [edx + 0x4a0]
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], 0xc
call fcn.00554050
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
mov eax, dword [esi + 0x1310]
test eax, eax
je 0x477f75
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x477f6b
mov edx, dword [esi + 0x1310]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x1310], 0
mov cl, byte [ebp - 0x11]
mov byte [0x6fcc0c], cl
jmp 0x478cc8
mov al, byte [ebp - 0x32]
mov dl, byte [ebp - 0x11]
test al, al
mov byte [0x6fcc0c], dl
je 0x477f9a
mov al, byte [ebp + 0x18]
test al, al
je 0x477fad
mov edi, dword [ebp - 0x18]
xor esi, esi
cmp dword [edi + 0x2ec], esi
jle 0x4780f5
jmp 0x477fb2
mov edi, dword [ebp - 0x18]
xor esi, esi
push 0x4d4
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp + 0x18], ecx
cmp ecx, esi
mov byte [ebp - 4], 0x16
je 0x477fe3
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push esi
push eax
lea eax, [edi + 0x6c8]
push edx
push eax
call fcn.0043ebe0
mov esi, eax
test esi, esi
mov byte [ebp - 4], 2
je 0x478cc8
mov cl, byte [ebp + 0x24]
lea eax, [esi + 0xa4]
mov byte [esi + 0xa1], cl
mov edx, dword [ebp - 0x20]
push edx
push 0x6c910c
push eax
call fcn.0061fae1
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea edx, [esi + 0xa8]
push ecx
push 0x6c910c
push edx
call fcn.0061fae1
mov eax, dword [ebx + 0x4a0]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x74], eax
mov dword [esi + 0x104], ecx
mov dword [esi + 0x70], ebx
mov edx, dword [edi + 0x1cc]
mov dword [esi + 0x68], edx
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x4dc]
add esp, 0xc
mov dword [esi + 0x6c], eax
mov dword [esi + 0x64], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00623b6b
push eax
push 0x82
mov ecx, esi
call fcn.00622344
mov edx, dword [esi + 0x1c]
mov ecx, ebx
push edx
call fcn.005d24c0
push 5
mov ecx, esi
call fcn.006234df
mov eax, dword [edi + 0x2ec]
test eax, eax
jle 0x478cc8
mov eax, dword [edi + 0x1310]
test eax, eax
je 0x4780da
mov ecx, dword [esi + 0x1c]
lea eax, [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x1310]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4780da
mov edx, dword [edi + 0x1310]
lea ecx, [ebp - 0x68]
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 0x478cc8
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], esi
mov word [ebp - 0x7c], si
lea edx, [ebp - 0x80]
add edi, 0x6c8
push 1
push edx
push edi
mov ecx, ebx
mov byte [ebp - 4], 0x17
call fcn.005d4540
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov word [ebp - 0x48], si
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 0x18
cmp eax, esi
je 0x47813c
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x47813c
mov dword [ebp + 0x1c], esi
mov esi, dword [ebp + 0x20]
test esi, esi
je 0x478384
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
jne 0x47815c
mov dword [ebp + 0x20], eax
jmp 0x478384
push 0x2e
push esi
call fcn.00609ba3
xor esi, esi
add esp, 8
cmp eax, esi
je 0x478384
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 + 0x24]
push eax
call fcn.00402850
add esp, 8
mov eax, dword [ebx + 0x20]
lea ecx, [ebp + 0xc]
lea edx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
push eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004c3460
test al, al
je 0x47836c
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp + 0xc]
cmp eax, esi
mov dword [ebx + 0x300], edx
je 0x4781c6
mov edi, eax
jmp 0x4781cc
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
call fcn.00609a4e
add esp, 4
cmp word [edi + eax*2 - 2], 0x5c
mov edi, 0x6c91c0
jne 0x4781e7
mov edi, 0x6fc41c
mov eax, dword [ebp - 0x40]
cmp eax, esi
jne 0x4781f1
lea eax, [ebp - 0x3c]
mov ecx, 0x6c9cb0
test ecx, ecx
je 0x47836c
test eax, eax
je 0x47836c
test edi, edi
je 0x47836c
xor esi, esi
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], esi
mov word [ebp - 0x60], si
call fcn.00401f20
push edi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x84], esi
mov word [ebp - 0x88], si
call fcn.00401f20
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x58]
push edx
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov word [ebp - 0x54], si
call fcn.00401f20
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1d
call fcn.00401070
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
mov word [ebp - 0x28], si
push esi
push 0x6c9cb0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1e
call fcn.004027e0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x8c]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
mov dword [ebp + 0x28], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x64]
add edi, esi
call fcn.00401f10
push eax
call fcn.00609a4e
mov ecx, dword [ebp + 0x28]
add edi, ecx
lea esi, [eax + edi + 4]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x80], edx
je 0x478339
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 - 0x58]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x64]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x80]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00609a4e
add esp, 0x1c
mov dword [ebp - 0x78], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1d
call fcn.00401070
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1c
call fcn.00401070
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1b
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x19
call fcn.00622d8a
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 0x47848d
test esi, esi
jne 0x47848d
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x4783ad
lea eax, [ebx + 0xf8]
mov ecx, dword [edi + 0x1cc]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x80]
push 0
push edx
call fcn.00498340
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x478433
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x478433
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478433
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x478433
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x478433
xor eax, eax
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x60], ax
call fcn.00401f20
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x26
test eax, eax
jne 0x478419
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.00401070
jmp 0x478b91
lea ecx, [ebp - 0x4c]
call fcn.00401070
test esi, esi
je 0x478b91
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478b91
push esi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x478b91
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.00609a95
add esp, 0xc
jmp 0x478b91
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x478497
lea eax, [ebp - 0x7c]
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.0060a943
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 0x47858d
cmp eax, edi
je 0x47852c
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x47852c
mov eax, dword [ebp - 0x40]
cmp eax, esi
ja 0x47852c
push eax
call fcn.00609a4e
mov edx, dword [ebp - 0x40]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x47852c
push esi
lea ecx, [ebp - 0x64]
call fcn.00401ee0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x20
cmp eax, edi
jne 0x478515
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x478571
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478571
push esi
call fcn.00609a4e
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x478571
push esi
call fcn.00609a4e
mov edx, dword [ebp - 0x40]
push esi
push edx
mov dword [ebp - 0x38], eax
call fcn.00609a95
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x47870e
mov byte [ebx + 0x18f], 1
mov byte [ebx + 0x32d], 1
jmp 0x47870e
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x478608
cmp eax, edi
je 0x478608
lea edx, [ebp - 0x2b0]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478608
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b0]
cmp eax, ecx
ja 0x478608
push eax
call fcn.00609a4e
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x2b0]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x478608
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x64]
push edx
call fcn.00401ee0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x21
cmp eax, edi
jne 0x4785f1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1f
call fcn.00401070
jmp 0x47866f
lea ecx, [ebp - 0x40]
call fcn.00401070
lea eax, [ebp - 0x2b0]
test eax, eax
je 0x47866f
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x47866f
lea edx, [ebp - 0x2b0]
push edx
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x40], eax
je 0x47866f
lea ecx, [ebp - 0x2b0]
push ecx
call fcn.00609a4e
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x2b0]
push edx
push eax
call fcn.00609a95
add esp, 0xc
lea ecx, [ebp - 0x6b0]
test ecx, ecx
je 0x47870e
lea edx, [ebp - 0x6b0]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x47870e
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4786a4
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4786a6
xor esi, esi
lea eax, [ebp - 0x6b0]
push eax
call fcn.00609a4e
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov esi, eax
add esp, 8
test esi, esi
je 0x47870e
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4786e7
push eax
push esi
call fcn.00609a95
lea edx, [ebp - 0x6b0]
push edx
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x4786f7
lea eax, [ebp - 0x6b0]
push eax
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00401070
push esi
mov dword [ebp - 0x40], esi
call fcn.00609a4e
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 0x4787f0
cmp eax, edi
je 0x478784
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478784
mov eax, dword [ebp - 0x2c]
cmp eax, esi
ja 0x478784
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x478784
push esi
lea ecx, [ebp - 0x64]
call fcn.00401ee0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x23
cmp eax, edi
jne 0x47876d
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x4787c9
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4787c9
push esi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x4787c9
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
push esi
push ecx
mov dword [ebp - 0x24], eax
call fcn.00609a95
add esp, 0xc
cmp dword [ebp + 8], edi
je 0x478953
mov eax, dword [ebp + 0x20]
mov byte [ebx + 0x32c], 1
cmp eax, edi
je 0x478953
mov byte [ebx + 0x18e], 1
jmp 0x478953
lea edx, [ebp - 0x54]
test edx, edx
je 0x47885c
cmp eax, edi
je 0x47885c
lea eax, [ebp - 0x54]
push eax
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x47885c
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
cmp eax, ecx
ja 0x47885c
push eax
call fcn.00609a4e
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, ecx
jb 0x47885c
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x64]
push edx
call fcn.00401ee0
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 0x24
cmp eax, edi
jne 0x478845
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x4788b4
lea ecx, [ebp - 0x2c]
call fcn.00401070
lea eax, [ebp - 0x54]
test eax, eax
je 0x4788b4
lea ecx, [ebp - 0x54]
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4788b4
lea edx, [ebp - 0x54]
push edx
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x4788b4
lea ecx, [ebp - 0x54]
push ecx
call fcn.00609a4e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x54]
push edx
push eax
call fcn.00609a95
add esp, 0xc
lea ecx, [ebp - 0x4b0]
test ecx, ecx
je 0x478953
lea edx, [ebp - 0x4b0]
push edx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478953
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x4788e9
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4788eb
xor esi, esi
lea eax, [ebp - 0x4b0]
push eax
call fcn.00609a4e
add eax, esi
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, edi
je 0x478953
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x47892c
push eax
push esi
call fcn.00609a95
lea edx, [ebp - 0x4b0]
push edx
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x47893c
lea eax, [ebp - 0x4b0]
push eax
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x47895e
mov esi, eax
jmp 0x478964
lea esi, [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.00609a4e
add esp, 4
cmp word [esi + eax*2 - 2], 0x5c
je 0x478a0b
mov ecx, 0x6c91c0
test ecx, ecx
je 0x478a0b
push ecx
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478a0b
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x4789a7
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x4789a9
xor esi, esi
push 0x6c91c0
call fcn.00609a4e
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
mov esi, eax
add esp, 8
cmp esi, edi
je 0x478a0b
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x4789e6
push eax
push esi
call fcn.00609a95
push 0x6c91c0
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x4789f4
push 0x6c91c0
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401070
push esi
mov dword [ebp - 0x2c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x2c]
cmp esi, edi
je 0x478a74
cmp dword [ebp - 0x4c], edi
je 0x478a74
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478a74
mov eax, dword [ebp - 0x4c]
cmp eax, esi
ja 0x478a74
push eax
call fcn.00609a4e
mov ecx, dword [ebp - 0x4c]
add esp, 4
lea edx, [ecx + eax*2]
cmp edx, esi
jb 0x478a74
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x60], di
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x25
call fcn.00401f10
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f20
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00401070
jmp 0x478abd
lea ecx, [ebp - 0x4c]
call fcn.00401070
cmp esi, edi
je 0x478abd
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478abd
push esi
call fcn.00609a4e
lea eax, [eax + eax + 2]
push eax
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x4c], eax
je 0x478abd
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x4c]
push esi
push ecx
mov dword [ebp - 0x44], eax
call fcn.00609a95
add esp, 0xc
mov eax, dword [ebp - 0x40]
cmp eax, edi
mov edi, eax
jne 0x478ac9
lea edi, [ebp - 0x3c]
test edi, edi
je 0x478b46
push edi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x478b46
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x478aee
push eax
call fcn.00609a4e
add esp, 4
mov esi, eax
jmp 0x478af0
xor esi, esi
push edi
call fcn.00609a4e
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.00622acb
mov esi, eax
add esp, 8
test esi, esi
je 0x478b46
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x478b25
push eax
push esi
call fcn.00609a95
push edi
push esi
call fcn.00609a6b
add esp, 0x10
jmp 0x478b2f
push edi
push esi
call fcn.00609a95
add esp, 8
lea ecx, [ebp - 0x4c]
call fcn.00401070
push esi
mov dword [ebp - 0x4c], esi
call fcn.00609a4e
add esp, 4
mov dword [ebp - 0x44], eax
test byte [ebx + 0x16c], 0x5c
je 0x478b76
mov eax, dword [ebx + 0xf4]
test eax, eax
jne 0x478b5f
lea eax, [ebx + 0xf8]
mov ecx, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
mov ecx, dword [ecx + 0x1cc]
push 0
push eax
call fcn.00498340
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 0x478bba
mov edx, dword [ebx + 0x4a0]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18f], 1
mov byte [ebx + 0x18e], 1
call fcn.005e1ad0
jmp 0x478d16
mov ecx, dword [edi + 0x1cc]
lea eax, [ebp - 0x4c]
push 0
push eax
push ebx
call fcn.00497960
cmp eax, 2
jne 0x478ceb
mov ecx, dword [0x6fcc3c]
test ecx, ecx
je 0x478bed
mov edx, dword [ebx + 0x4a0]
push 1
push edx
call fcn.00520db0
mov esi, dword [edi + 0x1cc]
mov ecx, dword [esi + 8]
dec ecx
xor eax, eax
cmp eax, ecx
jg 0x478c6e
mov edi, dword [esi + 4]
mov edx, eax
shl edx, 4
mov edx, dword [edi + edx]
mov edi, dword [ebx + 0x4a0]
mov edx, dword [edx + 0x4a0]
cmp edx, edi
je 0x478c1b
inc eax
jmp 0x478bf9
test eax, eax
jl 0x478c6e
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov edi, eax
sub ecx, eax
shl edi, 4
dec ecx
add edx, edi
mov dword [ebp + 0x24], 1
mov dword [ebp + 0x18], edx
mov edx, dword [ebp + 0x24]
mov edi, edx
dec edx
test edi, edi
je 0x478c49
add dword [ebp + 0x18], 0x10
jmp 0x478c3c
test ecx, ecx
je 0x478c6b
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.0060ac20
add esp, 0xc
dec dword [esi + 8]
mov eax, dword [ebx + 0x900]
mov ecx, ebx
test eax, eax
je 0x478c8c
call fcn.005d21a0
push ebx
mov ecx, 0x6fcb38
call fcn.0043b220
jmp 0x478cb0
call fcn.005d21a0
test ebx, ebx
mov byte [ebp - 4], 0x27
je 0x478ca9
mov ecx, ebx
call fcn.005c6d50
push ebx
call fcn.00622af4
add esp, 4
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00622d8a
jmp 0x478e0f
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x478d08
mov edx, dword [ebx + 0x4a0]
lea ecx, [ebx + 0x20]
push edx
mov byte [ebx + 0x18e], 1
call fcn.005e1ad0
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x478d16
mov byte [ebx + 0x32e], 1
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x478d20
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.005cfa80
push 1
push 1
push ebx
lea ecx, [edi + 0x4dc]
call fcn.004c6de0
mov eax, dword [ebx + 0x4ac]
test eax, eax
jg 0x478d58
jl 0x478d4e
mov eax, dword [ebx + 0x4a8]
test eax, eax
ja 0x478d58
mov al, byte [ebx + 0x32b]
test al, al
je 0x478d87
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x478d87
mov eax, dword [ebx + 0x44]
cmp eax, 1
je 0x478d6c
cmp eax, 2
jne 0x478d87
mov eax, dword [ebx + 0x4a0]
push eax
mov eax, dword [edi + 0x1c]
push 0
nop
nop
nop
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, ebx
call fcn.005cfc60
mov eax, dword [edi + 0x228]
test eax, eax
je 0x478da0
push eax
mov ecx, edi
call fcn.0047e890
mov ecx, dword [ebx + 0x4a0]
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 0x478cb0
mov ecx, dword [edi + 0x4f8]
push 1
push eax
push 0x1013
push ecx
call esi
jmp 0x478cb0
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