Function at 0x478460
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8098]
mov eax, 0x8098
call fcn.005f9ca0
push 0xffffffffffffffff
push 0x6249a2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x8094], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0x80a4]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x80b4]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x80b8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x478e18
push esi
call fcn.004a3b80
add esp, 4
xor eax, eax
mov dword [ebp + 0x7a80], eax
mov dword [ebp + 0x7a88], eax
xor ecx, ecx
mov word [ebp + 0x7a84], cx
mov byte [ebp - 4], 1
cmp edi, eax
je 0x478506
push edi
lea ecx, [ebp + 0x7a80]
call fcn.004017d0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.0059b020
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.00450650
mov byte [ebp - 0x34], al
test al, al
jne 0x47852f
mov byte [esi + 0x348], al
jmp 0x478538
cmp byte [ebp + 0x80b0], 0
je 0x478541
cmp dword [ebx + 0x350], 0
jle 0x478548
mov byte [esi + 0x352], 1
mov eax, dword [ebx + 0x350]
test eax, eax
jle 0x478594
cmp byte [ebx + 0x150c], 0
jne 0x478594
push eax
mov ecx, ebx
call fcn.00455a70
test eax, eax
jl 0x478594
push eax
mov ecx, dword [ebx + 0x22c]
call fcn.004bf1a0
mov eax, dword [eax]
test eax, eax
je 0x478594
cmp dword [eax + 0x4d4], 0
jg 0x478594
jl 0x47858d
cmp dword [eax + 0x4d0], 0
ja 0x478594
mov byte [esi + 0x352], 0
mov ecx, 0x70fc00
call fcn.00531a90
mov cl, byte [0x70fc04]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x350], 0
jle 0x4785b7
mov byte [0x70fc04], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004acc80
add esp, 4
test eax, eax
je 0x4785f1
mov byte [ebp - 0x32], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4785e5
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4785d5
sub eax, edx
je 0x4785e5
mov byte [ebp - 0x32], cl
jmp 0x4785f1
lea eax, [esi + 0x20]
push eax
call fcn.004acf50
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004024e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004024e0
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x28]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0057a620
mov ecx, dword [edi]
push ecx
push 0x64edec
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f60
add esp, 0xc
push 1
mov ecx, esi
call fcn.005aac70
mov ecx, dword [0x70fbd4]
test ecx, ecx
je 0x47864e
mov eax, dword [esi + 0x4c0]
push eax
push 1
call fcn.005082b0
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x478688
cmp byte [eax + 0x4a], 0
je 0x47866f
mov ecx, dword [esi + 0x4c0]
mov dword [ebx + 0x114c], ecx
mov byte [eax + 0x4a], 0
mov eax, dword [ebx + 0x74]
cmp byte [eax + 0x4c], 0
je 0x478688
mov edx, dword [esi + 0x4c0]
mov dword [ebx + 0x1150], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0x80c0]
test cl, 8
jne 0x47869f
test ecx, 0x8000000
je 0x478833
cmp dword [esi + 0x330], 0
jne 0x478833
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x4786bd
cmp eax, 2
jne 0x478898
mov edx, dword [esi + 0x13c]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4786c8
sub eax, edi
je 0x47873e
test dword [ebp + 0x80c0], 0x1000000
jne 0x47873e
push 0x5c
push edx
call fcn.005fad90
add esp, 8
test eax, eax
je 0x4786f1
inc eax
jmp 0x4786f7
mov eax, dword [esi + 0x13c]
push str.firefox.exe
push eax
call fcn.005fa111
add esp, 8
test eax, eax
jne 0x47873e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47871f
push 0x2e
push eax
call fcn.005f9b50
add esp, 8
test eax, eax
jne 0x47873e
mov byte [ebp - 0x31], 1
mov eax, dword [esi + 0x128]
test eax, eax
je 0x478775
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478730
sub eax, edx
je 0x478775
mov byte [ebp - 0x31], cl
mov byte [esi + 0xab4], 1
mov byte [esi + 0x33c], 1
push 1
push 0
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, ebx
call fcn.004775b0
test eax, eax
jne 0x478880
mov cl, byte [ebp - 0x11]
mov byte [0x70fc04], cl
jmp 0x478805
mov byte [esi + 0xab4], 0
mov byte [esi + 0x33c], 0
mov eax, dword [esi + 0x4c0]
mov dword [ebp - 0x44], eax
push eax
mov ecx, ebx
call fcn.00455a70
mov edi, eax
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005a1560
mov dword [ebp - 4], 3
jmp 0x4787c0
mov ecx, dword [0x70fbd4]
test ecx, ecx
je 0x4787d5
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00508300
test edi, edi
jl 0x4787ea
push 1
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x22c]
call fcn.0043a5b0
mov byte [esi + 0xab0], 1
push esi
mov ecx, 0x70fcc0
call fcn.00436830
mov dl, byte [ebp - 0x11]
mov byte [0x70fc04], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402550
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x7a80]
call fcn.004011f0
xor eax, eax
jmp 0x478e1d
test ecx, 0x800
je 0x478898
cmp dword [0x70fc38], 0
je 0x478898
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x478851
cmp eax, 2
jne 0x478898
mov byte [esi + 0xab4], 1
mov byte [esi + 0x33c], 1
push 1
push 1
lea edx, [ebp + 0x7a80]
push edx
push esi
mov ecx, ebx
call fcn.004775b0
test eax, eax
jne 0x478880
mov al, byte [ebp - 0x11]
mov byte [0x70fc04], al
jmp 0x478805
mov byte [esi + 0xab4], 0
mov byte [esi + 0x33c], 0
mov ecx, dword [ebp + 0x80c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47891b
mov bl, 1
mov byte [ebp - 0x33], bl
push 0x3f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.005f9b50
add esp, 8
test eax, eax
jne 0x4788e7
lea ecx, [ebp]
call fcn.00538240
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp]
call fcn.005389c0
test eax, eax
je 0x4788d7
xor bl, bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00538280
test bl, bl
je 0x478915
mov byte [esi + 0xab4], 1
push 1
push 1
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.004775b0
test eax, eax
je 0x478767
mov byte [esi + 0xab4], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0x80c0]
test ecx, 0x100
je 0x478947
mov byte [esi + 0x17d], 1
mov eax, dword [esi + 0x480]
test eax, eax
je 0x4789c8
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x4789b8
test cl, 4
je 0x4789c8
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x4789c8
mov eax, edx
lea edi, [eax + 2]
jmp 0x478960
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x478960
sub eax, edi
sar eax, 1
je 0x4789c8
push 0x2e
push edx
call fcn.005f80fb
add esp, 8
test eax, eax
je 0x4789c8
push 8
push 0x65b258
push eax
call fcn.005fd020
add esp, 0xc
test eax, eax
je 0x4789c8
mov byte [esi + 0x17d], 1
mov eax, dword [esi + 0x480]
test eax, eax
je 0x4789c8
mov dword [ebp + 0x808c], 1
push 4
lea ecx, [ebp + 0x808c]
push ecx
push 4
push 0
push str.bChCnt
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x350]
test eax, eax
jle 0x4792de
push eax
mov ecx, edx
call fcn.00455a70
mov dword [ebp + 0x808c], eax
test eax, eax
jl 0x4792de
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x22c]
call fcn.004bf1a0
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x4792de
cmp byte [ebp - 0x19], 0
jne 0x478a32
mov byte [esi + 0xab4], 1
push 0
push 0
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, ebx
call fcn.004775b0
mov byte [esi + 0xab4], 0
mov eax, dword [edi + 0x148]
mov ecx, dword [edi + 0x14c]
mov edx, eax
or edx, ecx
je 0x4792de
cmp eax, dword [esi + 0x148]
jne 0x4792de
cmp ecx, dword [esi + 0x14c]
jne 0x4792de
mov eax, dword [esi + 0x3c]
push eax
mov ecx, dword [edi + 0x3c]
push ecx
mov edx, dword [esi + 0x20]
push edx
mov eax, dword [edi + 0x20]
push eax
mov ecx, 0x70fc90
call fcn.004324f0
mov eax, dword [esi + 0x130]
mov ecx, dword [edi + 0x130]
mov edx, dword [esi + 0x12c]
mov ebx, dword [edi + 0x12c]
push eax
push ecx
push edx
push ebx
mov ecx, 0x70fca0
call fcn.00432920
mov eax, dword [esi + 0x15c]
mov ecx, dword [edi + 0x15c]
mov edx, dword [esi + 0xe8]
mov ebx, dword [edi + 0xe8]
push eax
push ecx
push edx
push ebx
mov ecx, 0x70fcb0
call fcn.00432920
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x150c], 0
jne 0x478d67
cmp dword [edi + 0x4d4], 0
jg 0x478d67
jl 0x478af2
cmp dword [edi + 0x4d0], 0
ja 0x478d67
cmp dword [edi + 0x328], 0
je 0x478b08
cmp dword [edi + 0x320], 0
jne 0x478d67
cmp dword [edi + 0x5c], 0
je 0x478b24
cmp dword [edi + 0x54], 0
je 0x478b19
mov eax, dword [edi + 0x54]
jmp 0x478b1c
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005a1460
cmp dword [edi + 0x60], 0
je 0x478b35
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.0059aa00
mov edx, dword [edi + 0x4c4]
mov dword [esi + 0x4c4], edx
mov eax, dword [edi + 0x314]
mov dword [esi + 0x314], eax
mov cl, byte [edi + 0x347]
mov byte [esi + 0x347], cl
lea ecx, [edi + 0x94]
lea edx, [esi + 0x94]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x478b65
mov dl, byte [edi + 0x19a]
mov byte [esi + 0x19a], dl
mov al, byte [edi + 0x348]
mov byte [esi + 0x348], al
mov ecx, dword [0x70fbd4]
test ecx, ecx
je 0x478bc1
cmp dword [esi + 0x4c4], 1
je 0x478bc1
push 1
mov edx, dword [esi + 0x4c0]
push edx
call fcn.00508300
mov eax, dword [esi + 0x4c0]
push eax
mov ecx, dword [esi + 0x4c4]
push ecx
mov ecx, dword [0x70fbd4]
call fcn.005082b0
push 0
push 0
mov edx, dword [esi + 0x4c0]
push edx
lea ecx, [esi + 0x20]
call fcn.005b4d40
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005a1560
mov dword [ebp - 4], 7
jmp 0x478c02
mov dword [ebp - 0x64], 1
mov eax, dword [edi + 0x4c0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x1f4]
lea ecx, [ebp - 0x64]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x478c44
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1f4]
call fcn.00401590
mov ecx, dword [0x70fbd4]
test ecx, ecx
je 0x478c5c
push 0
mov eax, dword [edi + 0x4c0]
push eax
call fcn.00508300
push 1
mov ecx, dword [ebp + 0x808c]
push ecx
mov ecx, dword [ebx + 0x22c]
call fcn.0043a5b0
cmp dword [edi + 0x920], 0
je 0x478c8d
push edi
mov ecx, 0x70fcc0
call fcn.00436830
mov dword [ebp - 4], 3
jmp 0x478cd9
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00420800
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x478cd9
lea edi, [ebx + 0x5c8]
push 1
push 1
push esi
mov ecx, edi
call fcn.004b9750
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.0059b020
mov ecx, esi
call fcn.005a4120
mov eax, dword [ebx + 0x28c]
test eax, eax
je 0x478d0f
push eax
mov ecx, ebx
call fcn.00450ab0
mov dword [ebp - 0x7c], 1
mov eax, dword [esi + 0x4c0]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x1f4]
lea ecx, [ebp - 0x7c]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x478d48
push 1
push eax
mov ecx, edi
call fcn.00450970
mov dword [ebx + 0x350], 0
push 0x64f8bc
lea ecx, [ebx + 0x354]
call fcn.00402fc0
jmp 0x479298
mov al, byte [ebp - 0x11]
mov byte [0x70fc04], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x478d93
mov eax, edx
lea ebx, [eax + 1]
jmp 0x478d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478d80
sub eax, ebx
je 0x478d93
push edx
mov ecx, edi
call fcn.0059b7f0
lea ecx, [ebp - 0x24]
call fcn.004024e0
mov bl, 0xd
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 0x20]
call fcn.0057a620
lea ecx, [ebp + 0x3d20]
call fcn.00538240
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x178]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 0x3d20]
call fcn.00539ae0
test eax, eax
jne 0x478e44
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x3d20]
call fcn.00538280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402550
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x7a80]
call fcn.004011f0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8094]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x8098
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp + 0x3d20]
call fcn.00539190
test eax, eax
jne 0x478dd7
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.0059b150
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.0044e1c0
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x478edf
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478e80
sub eax, edx
je 0x478eaf
mov ecx, dword [esi + 0x1a0]
push ecx
push 0x64edec
lea edx, [edi + 0x1a0]
push edx
call fcn.00402f60
add esp, 0xc
mov byte [edi + 0x19c], 1
jmp 0x478edf
cmp byte [esi + 0x19c], 0
je 0x478edf
cmp byte [esi + 0x343], 0
je 0x478edf
push 0x64f8bc
lea ecx, [edi + 0x1a0]
call fcn.00402fc0
mov byte [edi + 0x19c], 1
mov byte [edi + 0x343], 1
push 0
call fcn.005fbc53
mov dword [edi + 0x150], eax
mov eax, dword [esi + 0x394]
mov dword [edi + 0x394], eax
mov eax, dword [esi + 0x390]
mov ecx, dword [esi + 0x38c]
mov edx, dword [esi + 0x168]
mov ebx, dword [esi + 0x12c]
push eax
push ecx
push edx
mov eax, dword [esi + 0x164]
push eax
mov eax, dword [esi + 0x160]
push eax
mov eax, dword [esi + 0x15c]
push eax
mov eax, dword [esi + 0x158]
push eax
mov eax, dword [esi + 0xe8]
push eax
mov eax, dword [esi + 0x138]
push eax
mov eax, dword [esi + 0x134]
push eax
mov eax, dword [esi + 0x130]
push eax
push ebx
push edi
call fcn.00466ea0
add esp, 0x38
mov eax, dword [esi + 0x398]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x478f60
sub eax, ecx
je 0x478f86
mov ecx, dword [esi + 0x398]
push ecx
push 0x64edec
lea edx, [edi + 0x398]
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [edi + 0x4c0]
push eax
lea ecx, [edi + 0x20]
call fcn.005b2d70
cmp dword [edi + 0x328], 0
je 0x47915a
cmp dword [edi + 0x320], 0
je 0x47915a
lea ecx, [ebp]
call fcn.00538240
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.004024e0
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x328]
cmp eax, 4
jne 0x478fee
mov eax, dword [esi + 0x31c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x6547a8
push eax
call fcn.00465190
add esp, 0x10
jmp 0x479023
cmp eax, 8
jne 0x479023
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x479000
sub eax, edx
je 0x479023
mov edx, dword [esi + 0xf0]
push edx
push 0x64edec
lea eax, [ebp - 0x30]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [esi + 0x178]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp]
call fcn.00539ae0
test eax, eax
je 0x479142
push 1
mov eax, dword [edi + 0x320]
push eax
lea ecx, [ebp]
call fcn.00539190
test eax, eax
jne 0x479142
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47907a
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x479063
sub eax, ebx
je 0x47907a
push edx
mov ecx, dword [edi + 0x320]
call fcn.0059b7f0
mov eax, dword [esi + 0x398]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x479083
sub eax, edx
je 0x4790af
mov ecx, dword [esi + 0x398]
push ecx
push 0x64edec
mov edx, dword [edi + 0x320]
add edx, 0x398
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [esi + 0x38c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4790b8
sub eax, edx
je 0x4790e4
mov eax, dword [esi + 0x38c]
push eax
push 0x64edec
mov ecx, dword [edi + 0x320]
add ecx, 0x38c
push ecx
call fcn.00402f60
add esp, 0xc
mov eax, dword [esi + 0x390]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4790f0
sub eax, edx
je 0x47911b
mov edx, dword [esi + 0x390]
push edx
push 0x64edec
mov eax, dword [edi + 0x320]
add eax, 0x390
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x320]
add ecx, 0x20
call fcn.0044e1c0
mov eax, dword [edi + 0x320]
mov edx, dword [eax + 0x4c0]
push edx
lea ecx, [eax + 0x20]
call fcn.005b2d70
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402550
mov byte [ebp - 4], 0xe
lea ecx, [ebp]
call fcn.00538280
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 0x4c0]
mov dword [ebp - 0x4c], eax
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00455a70
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005a1560
mov dword [ebp - 4], 0x11
jmp 0x47919f
mov ecx, dword [0x70fbd4]
test ecx, ecx
je 0x4791b4
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00508300
cmp dword [ebp - 0x40], 0
jl 0x4791cb
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 0x22c]
call fcn.0043a5b0
cmp dword [esi + 0x920], 0
je 0x4791e8
push esi
mov ecx, 0x70fcc0
call fcn.00436830
mov dword [ebp - 4], 0xe
jmp 0x479234
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00420800
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x479234
mov dword [ebx + 0x350], 0
push 0x64f8bc
lea ecx, [ebx + 0x354]
call fcn.00402fc0
mov ecx, ebx
cmp byte [ebx + 0x150c], 0
je 0x479267
mov edx, dword [edi + 0x4c0]
push edx
push 0x1468
jmp 0x479273
mov eax, dword [edi + 0x4c0]
push eax
push 0x1431
push 0x111
call fcn.0042d030
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x3d20]
call fcn.00538280
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402550
mov eax, dword [ebx + 0x1508]
test eax, eax
je 0x4792d0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4792c6
push 0
push 0
push 0x10
mov edx, dword [ebx + 0x1508]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebx + 0x1508], 0
mov cl, byte [ebp - 0x11]
mov byte [0x70fc04], cl
jmp 0x478df1
mov dl, byte [ebp - 0x11]
mov byte [0x70fc04], dl
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
je 0x479309
cmp dword [ebp + 0x7a88], ebx
je 0x479309
mov eax, dword [ebp + 0x7a80]
cmp eax, ebx
jne 0x479306
lea eax, [ebp + 0x7a84]
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x34], 0
je 0x479318
cmp byte [ebp + 0x80b0], 0
je 0x479327
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x350], ebx
jle 0x47948e
push 0x57c
call fcn.005cfa6c
add esp, 4
mov dword [ebp + 0x808c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x479360
push ebx
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x7f8
push edx
mov ecx, eax
call fcn.0043be70
mov edi, eax
jmp 0x479362
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x479a69
mov al, byte [ebp + 0x80bc]
mov byte [edi + 0xb9], al
mov ecx, dword [ebp - 0x28]
push ecx
push 0x64edec
lea edx, [edi + 0xbc]
push edx
call fcn.00402f60
mov eax, dword [ebp - 0x2c]
push eax
push 0x64edec
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f60
add esp, 0x18
mov edx, dword [esi + 0x4c0]
mov dword [edi + 0x8c], edx
mov eax, dword [ebp + 0x80a0]
mov dword [edi + 0x134], eax
mov dword [edi + 0x88], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x22c]
mov dword [edi + 0x80], ecx
mov edx, dword [eax + 0x20]
mov dword [edi + 0x84], edx
add eax, 0x5c8
mov dword [edi + 0x7c], eax
mov ebx, dword [edi]
add ebx, 0x13c
call fcn.00411640
push eax
push 0x82
mov ecx, edi
mov eax, dword [ebx]
call eax
mov ecx, dword [edi + 0x20]
push ecx
mov ecx, esi
call fcn.0059b7e0
push 5
mov ecx, edi
call fcn.005d08a3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x350], 0
jle 0x479a69
mov esi, edx
cmp dword [esi + 0x1508], 0
je 0x479473
lea eax, [ebp + 0x7a40]
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1508]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x479473
lea ecx, [ebp + 0x7a40]
push ecx
push 0x1466
push 0x111
mov edx, dword [esi + 0x1508]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0x1465
push 0x111
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x479a69
mov dword [ebp + 0x7a5c], ebx
mov dword [ebp + 0x7a64], ebx
xor edx, edx
mov word [ebp + 0x7a60], dx
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x18]
add edi, 0x7f8
push 1
lea eax, [ebp + 0x7a5c]
push eax
push edi
mov ecx, esi
call fcn.005a45d0
mov dword [ebp + 0x7a74], ebx
mov dword [ebp + 0x7a7c], ebx
xor ecx, ecx
mov word [ebp + 0x7a78], cx
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x24], ebx
je 0x4794f9
mov eax, dword [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4794e5
sub eax, edx
sar eax, 1
jne 0x4794f9
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x47961d
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x479507
sub eax, edx
sar eax, 1
jne 0x479520
mov dword [ebp - 0x20], ebx
jmp 0x47961d
push 0x2e
mov edx, dword [ebp - 0x20]
push edx
call fcn.005f80fb
add esp, 8
cmp eax, ebx
je 0x47961d
xor ecx, ecx
mov dword [ebp + 0x7a50], ecx
mov dword [ebp + 0x7a58], ecx
xor edx, edx
mov word [ebp + 0x7a54], dx
mov bl, 0x1a
mov byte [ebp - 4], bl
push ecx
add eax, 2
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402a50
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0x808c]
push ecx
lea edx, [ebp + 0x7a50]
push edx
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, edi
call fcn.004b55e0
test al, al
je 0x479601
mov edx, dword [ebp + 0x808c]
mov dword [esi + 0x314], edx
mov edx, dword [ebp + 0x7a50]
test edx, edx
mov eax, edx
jne 0x4795a6
lea eax, [ebp + 0x7a54]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4795b0
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4795cb
lea ecx, [ebp + 0x7a54]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x64f8c0
jne 0x4795dd
mov ecx, 0x64fbb8
test edx, edx
mov eax, edx
jne 0x4795e9
lea eax, [ebp + 0x7a54]
push 0
mov edx, dword [ebp - 0x20]
push edx
push ecx
push eax
push 0x652d80
lea ecx, [ebp + 0x7a5c]
call fcn.00411bf0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00402550
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x7a50]
call fcn.004011f0
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jne 0x47966d
cmp dword [ebp - 0x20], ebx
jne 0x47966d
cmp dword [esi + 0xf4], ebx
je 0x479637
mov eax, dword [esi + 0xf4]
jmp 0x47963d
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x7a5c]
push eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x22c]
call fcn.0048de30
mov ecx, dword [ebp + 0x7a5c]
push ecx
lea ecx, [ebp + 0x7a74]
call fcn.004017d0
jmp 0x47986a
mov eax, dword [ebp + 0x7a5c]
cmp eax, ebx
jne 0x47967d
lea eax, [ebp + 0x7a60]
push 0x100
lea edx, [ebp + 0x7a8c]
push edx
push 0x100
lea ecx, [ebp + 0x7c8c]
push ecx
push 0x100
lea edx, [ebp + 0x7e8c]
push edx
push 3
lea ecx, [ebp + 0x808c]
push ecx
push eax
call fcn.005fb587
add esp, 0x24
mov edi, eax
mov dword [ebp + 0x7a44], ebx
mov dword [ebp + 0x7a4c], ebx
xor edx, edx
mov word [ebp + 0x7a48], dx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x20], ebx
je 0x4796fa
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 0x7a44]
call fcn.004017d0
cmp dword [ebp + 0x80a0], ebx
je 0x479722
mov byte [esi + 0x19b], 1
mov byte [esi + 0x341], 1
jmp 0x479722
cmp edi, ebx
jne 0x479722
lea ecx, [ebp + 0x7c8c]
push ecx
lea ecx, [ebp + 0x7a44]
call fcn.004017d0
lea edx, [ebp + 0x7a8c]
push edx
lea ecx, [ebp + 0x7a44]
call fcn.00405210
mov dword [ebp + 0x7a68], ebx
mov dword [ebp + 0x7a70], ebx
xor eax, eax
mov word [ebp + 0x7a6c], ax
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x24], ebx
je 0x47976c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp + 0x7a68]
call fcn.004017d0
cmp dword [ebp + 0x80a0], ebx
je 0x479794
mov byte [esi + 0x340], 1
cmp dword [ebp - 0x20], ebx
je 0x479794
mov byte [esi + 0x19a], 1
jmp 0x479794
cmp edi, ebx
jne 0x479794
lea edx, [ebp + 0x808c]
push edx
lea ecx, [ebp + 0x7a68]
call fcn.004017d0
lea eax, [ebp + 0x7e8c]
push eax
lea ecx, [ebp + 0x7a68]
call fcn.00405210
mov edx, dword [ebp + 0x7a68]
cmp edx, ebx
mov eax, edx
jne 0x4797a6
lea eax, [ebp + 0x7a6c]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4797b0
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x4797cb
lea ecx, [ebp + 0x7a6c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4797e9
push 0x64f8c0
lea ecx, [ebp + 0x7a68]
call fcn.00405210
mov edx, dword [ebp + 0x7a68]
push edx
lea ecx, [ebp + 0x7a74]
call fcn.004017d0
mov eax, dword [ebp + 0x7a44]
cmp eax, ebx
jne 0x479805
lea eax, [ebp + 0x7a48]
push eax
lea ecx, [ebp + 0x7a74]
call fcn.00405210
test byte [esi + 0x16c], 0x5c
je 0x479849
cmp dword [esi + 0xf4], ebx
je 0x47982a
mov eax, dword [esi + 0xf4]
jmp 0x479830
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x7a74]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x22c]
call fcn.0048de30
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0x7a68]
call fcn.004011f0
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x7a44]
call fcn.004011f0
mov edi, dword [ebp - 0x18]
cmp byte [ebp + 0x80b0], 0
je 0x479895
mov byte [esi + 0x19b], 1
mov byte [esi + 0x19a], 1
mov eax, dword [esi + 0x4c0]
push eax
lea ecx, [esi + 0x20]
call fcn.005b28a0
jmp 0x479976
push ebx
lea ecx, [ebp + 0x7a74]
push ecx
push esi
mov ecx, dword [edi + 0x22c]
call fcn.0048e320
cmp eax, 2
jne 0x47994f
mov ecx, dword [0x70fbd4]
cmp ecx, ebx
je 0x4798ca
push 1
mov edx, dword [esi + 0x4c0]
push edx
call fcn.00508300
mov eax, dword [esi + 0x4c0]
push eax
mov ecx, edi
call fcn.00455a70
cmp eax, ebx
jl 0x4798ea
push 1
push eax
mov ecx, dword [edi + 0x22c]
call fcn.0043a5b0
mov ecx, esi
cmp dword [esi + 0x920], ebx
je 0x479927
call fcn.005a1560
push esi
mov ecx, 0x70fcc0
call fcn.00436830
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x7a74]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x7a5c]
call fcn.004011f0
jmp 0x478df1
call fcn.005a1560
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00420800
mov dword [ebp - 4], 0x19
jmp 0x479904
cmp dword [ebp - 0x24], ebx
je 0x47996a
mov byte [esi + 0x19a], 1
mov ecx, dword [esi + 0x4c0]
push ecx
lea ecx, [esi + 0x20]
call fcn.005b28a0
cmp dword [ebp - 0x20], ebx
jne 0x479976
mov byte [esi + 0x342], 1
mov eax, dword [ebp + 0x7a74]
cmp eax, ebx
jne 0x479986
lea eax, [ebp + 0x7a78]
push eax
mov ecx, esi
call fcn.005a1460
mov edi, dword [ebp - 0x18]
add edi, 0x5c8
push 1
push 1
push esi
mov ecx, edi
call fcn.004b9750
cmp dword [esi + 0x4cc], ebx
jg 0x4799be
jl 0x4799b5
cmp dword [esi + 0x4c8], ebx
ja 0x4799be
cmp byte [esi + 0x33f], 0
je 0x4799e9
cmp dword [ebp - 0x20], ebx
jne 0x4799e9
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x4799d0
cmp eax, 2
jne 0x4799e9
mov edx, dword [esi + 0x4c0]
push edx
push 0
nop
nop
nop
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042d030
mov ecx, esi
call fcn.005a4120
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28c]
cmp eax, ebx
je 0x479a06
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00450ab0
mov dword [ebp - 0x94], 1
mov ecx, dword [esi + 0x4c0]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1f4]
lea ecx, [ebp - 0x94]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jl 0x479a4b
push 1
push eax
mov ecx, edi
call fcn.00450970
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0x7a74]
call fcn.004011f0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x7a5c]
call fcn.004011f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402550
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x7a80]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
jmp 0x478e18