Function at 0x47b640
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf898]
mov eax, 0xf898
call fcn.006197b0
push 0xffffffffffffffff
push 0x6445a2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0xf894], 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 + 0xf8a4]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0xf8b4]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0xf8b8]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x47c008
push esi
call fcn.004adb50
add esp, 4
xor eax, eax
mov dword [ebp + 0xf280], eax
mov dword [ebp + 0xf288], eax
xor ecx, ecx
mov word [ebp + 0xf284], cx
mov byte [ebp - 4], 1
cmp edi, eax
je 0x47b6e6
push edi
lea ecx, [ebp + 0xf280]
call fcn.004017f0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005af130
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.004531d0
mov byte [ebp - 0x34], al
test al, al
jne 0x47b70f
mov byte [esi + 0x358], al
jmp 0x47b718
cmp byte [ebp + 0xf8b0], 0
je 0x47b72e
cmp dword [ebx + 0x358], 0
jg 0x47b72e
cmp byte [0x755286], 0
je 0x47b735
test al, al
jne 0x47b735
mov byte [esi + 0x362], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47b781
cmp byte [ebx + 0x17d4], 0
jne 0x47b781
push eax
mov ecx, ebx
call fcn.00458e10
test eax, eax
jl 0x47b781
push eax
mov ecx, dword [ebx + 0x234]
call fcn.004c9520
mov eax, dword [eax]
test eax, eax
je 0x47b781
cmp dword [eax + 0x4fc], 0
jg 0x47b781
jl 0x47b77a
cmp dword [eax + 0x4f8], 0
ja 0x47b781
mov byte [esi + 0x362], 0
mov ecx, 0x755280
call fcn.0053f540
mov cl, byte [0x755287]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47b7a4
mov byte [0x755287], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004b5c80
add esp, 4
test eax, eax
je 0x47b7de
mov byte [ebp - 0x32], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47b7d2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b7c2
sub eax, edx
je 0x47b7d2
mov byte [ebp - 0x32], cl
jmp 0x47b7de
lea eax, [esi + 0x20]
push eax
call fcn.004b5f50
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00402500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402500
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x28]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.0058ae10
mov ecx, dword [edi]
push ecx
push 0x66fea8
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f70
add esp, 0xc
push 1
mov ecx, esi
call fcn.005bfa10
mov ecx, dword [0x75524c]
test ecx, ecx
je 0x47b83b
mov eax, dword [esi + 0x4e8]
push eax
push 1
call fcn.00513540
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47b875
cmp byte [eax + 0x4a], 0
je 0x47b85c
mov ecx, dword [esi + 0x4e8]
mov dword [ebx + 0x1170], ecx
mov byte [eax + 0x4a], 0
mov eax, dword [ebx + 0x74]
cmp byte [eax + 0x4c], 0
je 0x47b875
mov edx, dword [esi + 0x4e8]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0xf8c0]
test cl, 8
jne 0x47b88c
test ecx, 0x8000000
je 0x47ba23
cmp dword [esi + 0x340], 0
jne 0x47ba23
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47b8aa
cmp eax, 2
jne 0x47ba88
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b8b5
sub eax, edi
je 0x47b92e
test dword [ebp + 0xf8c0], 0x1000000
jne 0x47b92e
push 0x5c
push edx
call fcn.0061a820
add esp, 8
test eax, eax
je 0x47b8de
inc eax
jmp 0x47b8e4
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.00619b9e
add esp, 8
test eax, eax
jne 0x47b92e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47b90c
push 0x2e
push eax
call fcn.00619660
add esp, 8
test eax, eax
jne 0x47b92e
mov byte [ebp - 0x31], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47b965
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47b920
sub eax, edx
je 0x47b965
mov byte [ebp - 0x31], cl
mov byte [esi + 0xadc], 1
mov byte [esi + 0x34c], 1
push 1
push 0
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, ebx
call fcn.0047a770
test eax, eax
jne 0x47ba70
mov cl, byte [ebp - 0x11]
mov byte [0x755287], cl
jmp 0x47b9f5
mov byte [esi + 0xadc], 0
mov byte [esi + 0x34c], 0
mov eax, dword [esi + 0x4e8]
mov dword [ebp - 0x44], eax
push eax
mov ecx, ebx
call fcn.00458e10
mov edi, eax
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005b6060
mov dword [ebp - 4], 3
jmp 0x47b9b0
mov ecx, dword [0x75524c]
test ecx, ecx
je 0x47b9c5
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00513590
test edi, edi
jl 0x47b9da
push 1
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043bb00
mov byte [esi + 0xad8], 1
push esi
mov ecx, 0x755340
call fcn.00437f20
mov dl, byte [ebp - 0x11]
mov byte [0x755287], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
xor eax, eax
jmp 0x47c00d
test ecx, 0x800
je 0x47ba88
cmp dword [0x7552b8], 0
je 0x47ba88
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47ba41
cmp eax, 2
jne 0x47ba88
mov byte [esi + 0xadc], 1
mov byte [esi + 0x34c], 1
push 1
push 1
lea edx, [ebp + 0xf280]
push edx
push esi
mov ecx, ebx
call fcn.0047a770
test eax, eax
jne 0x47ba70
mov al, byte [ebp - 0x11]
mov byte [0x755287], al
jmp 0x47b9f5
mov byte [esi + 0xadc], 0
mov byte [esi + 0x34c], 0
mov ecx, dword [ebp + 0xf8c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47bb0b
mov bl, 1
mov byte [ebp - 0x33], bl
push 0x3f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00619660
add esp, 8
test eax, eax
jne 0x47bad7
lea ecx, [ebp]
call fcn.00545f20
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp]
call fcn.005466a0
test eax, eax
je 0x47bac7
xor bl, bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.00545f60
test bl, bl
je 0x47bb05
mov byte [esi + 0xadc], 1
push 1
push 1
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047a770
test eax, eax
je 0x47b957
mov byte [esi + 0xadc], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0xf8c0]
test ecx, 0x100
je 0x47bb37
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x49c]
test eax, eax
je 0x47bbb8
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47bba8
test cl, 4
je 0x47bbb8
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x47bbb8
mov eax, edx
lea edi, [eax + 2]
jmp 0x47bb50
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47bb50
sub eax, edi
sar eax, 1
je 0x47bbb8
push 0x2e
push edx
call fcn.00617b92
add esp, 8
test eax, eax
je 0x47bbb8
push 8
push 0x67c32c
push eax
call fcn.0061caaf
add esp, 0xc
test eax, eax
je 0x47bbb8
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x49c]
test eax, eax
je 0x47bbb8
mov dword [ebp + 0xf88c], 1
push 4
lea ecx, [ebp + 0xf88c]
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 + 0x358]
test eax, eax
jle 0x47c4ce
push eax
mov ecx, edx
call fcn.00458e10
mov dword [ebp + 0xf88c], eax
test eax, eax
jl 0x47c4ce
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.004c9520
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x47c4ce
cmp byte [ebp - 0x19], 0
jne 0x47bc22
mov byte [esi + 0xadc], 1
push 0
push 0
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, ebx
call fcn.0047a770
mov byte [esi + 0xadc], 0
mov eax, dword [edi + 0x150]
mov ecx, dword [edi + 0x154]
mov edx, eax
or edx, ecx
je 0x47c4ce
cmp eax, dword [esi + 0x150]
jne 0x47c4ce
cmp ecx, dword [esi + 0x154]
jne 0x47c4ce
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, 0x755310
call fcn.00433c40
mov eax, dword [esi + 0x13c]
mov ecx, dword [edi + 0x13c]
mov edx, dword [esi + 0x138]
mov ebx, dword [edi + 0x138]
push eax
push ecx
push edx
push ebx
mov ecx, 0x755320
call fcn.00434070
mov eax, dword [esi + 0x164]
mov ecx, dword [edi + 0x164]
mov edx, dword [esi + 0xe8]
mov ebx, dword [edi + 0xe8]
push eax
push ecx
push edx
push ebx
mov ecx, 0x755330
call fcn.00434070
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x47bf57
cmp dword [edi + 0x4fc], 0
jg 0x47bf57
jl 0x47bce2
cmp dword [edi + 0x4f8], 0
ja 0x47bf57
cmp dword [edi + 0x338], 0
je 0x47bcf8
cmp dword [edi + 0x330], 0
jne 0x47bf57
cmp dword [edi + 0x5c], 0
je 0x47bd14
cmp dword [edi + 0x54], 0
je 0x47bd09
mov eax, dword [edi + 0x54]
jmp 0x47bd0c
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005b5f60
cmp dword [edi + 0x60], 0
je 0x47bd25
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005aeb20
mov edx, dword [edi + 0x4ec]
mov dword [esi + 0x4ec], edx
mov eax, dword [edi + 0x324]
mov dword [esi + 0x324], eax
mov cl, byte [edi + 0x357]
mov byte [esi + 0x357], 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 0x47bd55
mov dl, byte [edi + 0x1a2]
mov byte [esi + 0x1a2], dl
mov al, byte [edi + 0x358]
mov byte [esi + 0x358], al
mov ecx, dword [0x75524c]
test ecx, ecx
je 0x47bdb1
cmp dword [esi + 0x4ec], 1
je 0x47bdb1
push 1
mov edx, dword [esi + 0x4e8]
push edx
call fcn.00513590
mov eax, dword [esi + 0x4e8]
push eax
mov ecx, dword [esi + 0x4ec]
push ecx
mov ecx, dword [0x75524c]
call fcn.00513540
push 0
push 0
mov edx, dword [esi + 0x4e8]
push edx
lea ecx, [esi + 0x20]
call fcn.005ca110
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005b6060
mov dword [ebp - 4], 7
jmp 0x47bdf2
mov dword [ebp - 0x64], 1
mov eax, dword [edi + 0x4e8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebx + 0x1fc]
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 0x47be34
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015b0
mov ecx, dword [0x75524c]
test ecx, ecx
je 0x47be4c
push 0
mov eax, dword [edi + 0x4e8]
push eax
call fcn.00513590
push 1
mov ecx, dword [ebp + 0xf88c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043bb00
cmp dword [edi + 0x948], 0
je 0x47be7d
push edi
mov ecx, 0x755340
call fcn.00437f20
mov dword [ebp - 4], 3
jmp 0x47bec9
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00421160
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x47bec9
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c3b10
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005af130
mov ecx, esi
call fcn.005b8d30
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x47beff
push eax
mov ecx, ebx
call fcn.00453440
mov dword [ebp - 0x7c], 1
mov eax, dword [esi + 0x4e8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x1fc]
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 0x47bf38
push 1
push eax
mov ecx, edi
call fcn.00450ee0
mov dword [ebx + 0x358], 0
push 0x670984
lea ecx, [ebx + 0x35c]
call fcn.005494d0
jmp 0x47c488
mov al, byte [ebp - 0x11]
mov byte [0x755287], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47bf83
mov eax, edx
lea ebx, [eax + 1]
jmp 0x47bf70
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47bf70
sub eax, ebx
je 0x47bf83
push edx
mov ecx, edi
call fcn.005af8a0
lea ecx, [ebp - 0x24]
call fcn.00402500
mov bl, 0xd
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [esi + 0x20]
call fcn.0058ae10
lea ecx, [ebp + 0x7920]
call fcn.00545f20
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x180]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 0x7920]
call fcn.005477b0
test eax, eax
jne 0x47c034
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x7920]
call fcn.00545f60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
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 + 0xf894]
xor ecx, ebp
call fcn.0061807e
add ebp, 0xf898
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp + 0x7920]
call fcn.00546e60
test eax, eax
jne 0x47bfc7
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005af260
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.0044fec0
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x47c0cf
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c070
sub eax, edx
je 0x47c09f
mov ecx, dword [esi + 0x1a8]
push ecx
push 0x66fea8
lea edx, [edi + 0x1a8]
push edx
call fcn.00402f70
add esp, 0xc
mov byte [edi + 0x1a4], 1
jmp 0x47c0cf
cmp byte [esi + 0x1a4], 0
je 0x47c0cf
cmp byte [esi + 0x353], 0
je 0x47c0cf
push 0x670984
lea ecx, [edi + 0x1a8]
call fcn.005494d0
mov byte [edi + 0x1a4], 1
mov byte [edi + 0x353], 1
push 0
call fcn.0061b821
mov dword [edi + 0x158], eax
mov eax, dword [esi + 0x3a8]
mov dword [edi + 0x3a8], eax
mov eax, dword [esi + 0x3a4]
mov ecx, dword [esi + 0x3a0]
mov edx, dword [esi + 0x170]
mov ebx, dword [esi + 0x138]
push eax
push ecx
push edx
mov eax, dword [esi + 0x16c]
push eax
mov eax, dword [esi + 0x168]
push eax
mov eax, dword [esi + 0x164]
push eax
mov eax, dword [esi + 0x160]
push eax
mov eax, dword [esi + 0xe8]
push eax
mov eax, dword [esi + 0x144]
push eax
mov eax, dword [esi + 0x140]
push eax
mov eax, dword [esi + 0x13c]
push eax
push ebx
push edi
call fcn.00462b20
add esp, 0x38
mov eax, dword [esi + 0x3ac]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47c150
sub eax, ecx
je 0x47c176
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x66fea8
lea edx, [edi + 0x3ac]
push edx
call fcn.00402f70
add esp, 0xc
mov eax, dword [edi + 0x4e8]
push eax
lea ecx, [edi + 0x20]
call fcn.005c7f60
cmp dword [edi + 0x338], 0
je 0x47c34a
cmp dword [edi + 0x330], 0
je 0x47c34a
lea ecx, [ebp]
call fcn.00545f20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402500
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x338]
cmp eax, 4
jne 0x47c1de
mov eax, dword [esi + 0x32c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x675570
push eax
call fcn.0046b530
add esp, 0x10
jmp 0x47c213
cmp eax, 8
jne 0x47c213
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c1f0
sub eax, edx
je 0x47c213
mov edx, dword [esi + 0xf0]
push edx
push 0x66fea8
lea eax, [ebp - 0x30]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [esi + 0x180]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp]
call fcn.005477b0
test eax, eax
je 0x47c332
push 1
mov eax, dword [edi + 0x330]
push eax
lea ecx, [ebp]
call fcn.00546e60
test eax, eax
jne 0x47c332
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47c26a
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c253
sub eax, ebx
je 0x47c26a
push edx
mov ecx, dword [edi + 0x330]
call fcn.005af8a0
mov eax, dword [esi + 0x3ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c273
sub eax, edx
je 0x47c29f
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x66fea8
mov edx, dword [edi + 0x330]
add edx, 0x3ac
push edx
call fcn.00402f70
add esp, 0xc
mov eax, dword [esi + 0x3a0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c2a8
sub eax, edx
je 0x47c2d4
mov eax, dword [esi + 0x3a0]
push eax
push 0x66fea8
mov ecx, dword [edi + 0x330]
add ecx, 0x3a0
push ecx
call fcn.00402f70
add esp, 0xc
mov eax, dword [esi + 0x3a4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47c2e0
sub eax, edx
je 0x47c30b
mov edx, dword [esi + 0x3a4]
push edx
push 0x66fea8
mov eax, dword [edi + 0x330]
add eax, 0x3a4
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x330]
add ecx, 0x20
call fcn.0044fec0
mov eax, dword [edi + 0x330]
mov edx, dword [eax + 0x4e8]
push edx
lea ecx, [eax + 0x20]
call fcn.005c7f60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xe
lea ecx, [ebp]
call fcn.00545f60
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 0x4e8]
mov dword [ebp - 0x4c], eax
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00458e10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005b6060
mov dword [ebp - 4], 0x11
jmp 0x47c38f
mov ecx, dword [0x75524c]
test ecx, ecx
je 0x47c3a4
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00513590
cmp dword [ebp - 0x40], 0
jl 0x47c3bb
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043bb00
cmp dword [esi + 0x948], 0
je 0x47c3d8
push esi
mov ecx, 0x755340
call fcn.00437f20
mov dword [ebp - 4], 0xe
jmp 0x47c424
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00421160
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x47c424
mov dword [ebx + 0x358], 0
push 0x670984
lea ecx, [ebx + 0x35c]
call fcn.005494d0
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x47c457
mov edx, dword [edi + 0x4e8]
push edx
push 0x1468
jmp 0x47c463
mov eax, dword [edi + 0x4e8]
push eax
push 0x1431
push 0x111
call fcn.0042e470
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x7920]
call fcn.00545f60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402570
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x47c4c0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c4b6
push 0
push 0
push 0x10
mov edx, dword [ebx + 0x17d0]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebx + 0x17d0], 0
mov cl, byte [ebp - 0x11]
mov byte [0x755287], cl
jmp 0x47bfe1
mov dl, byte [ebp - 0x11]
mov byte [0x755287], dl
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
je 0x47c4f9
cmp dword [ebp + 0xf288], ebx
je 0x47c4f9
mov eax, dword [ebp + 0xf280]
cmp eax, ebx
jne 0x47c4f6
lea eax, [ebp + 0xf284]
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x34], 0
je 0x47c508
cmp byte [ebp + 0xf8b0], 0
je 0x47c517
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x47c67e
push 0x58c
call fcn.005ec308
add esp, 4
mov dword [ebp + 0xf88c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x47c550
push ebx
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x81c
push edx
mov ecx, eax
call fcn.0043d670
mov edi, eax
jmp 0x47c552
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x47cc69
mov al, byte [ebp + 0xf8bc]
mov byte [edi + 0xb9], al
mov ecx, dword [ebp - 0x28]
push ecx
push 0x66fea8
lea edx, [edi + 0xbc]
push edx
call fcn.00402f70
mov eax, dword [ebp - 0x2c]
push eax
push 0x66fea8
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f70
add esp, 0x18
mov edx, dword [esi + 0x4e8]
mov dword [edi + 0x8c], edx
mov eax, dword [ebp + 0xf8a0]
mov dword [edi + 0x134], eax
mov dword [edi + 0x88], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x234]
mov dword [edi + 0x80], ecx
mov edx, dword [eax + 0x20]
mov dword [edi + 0x84], edx
add eax, 0x5d0
mov dword [edi + 0x7c], eax
mov ebx, dword [edi]
add ebx, 0x13c
call fcn.00411420
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.005af890
push 5
mov ecx, edi
call fcn.005ed1bc
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x47cc69
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x47c663
lea eax, [ebp + 0xf240]
push eax
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x17d0]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47c663
lea ecx, [ebp + 0xf240]
push ecx
push 0x1466
push 0x111
mov edx, dword [esi + 0x17d0]
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 0x47cc69
mov dword [ebp + 0xf25c], ebx
mov dword [ebp + 0xf264], ebx
xor edx, edx
mov word [ebp + 0xf260], dx
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x18]
add edi, 0x81c
push 1
lea eax, [ebp + 0xf25c]
push eax
push edi
mov ecx, esi
call fcn.005b9210
mov dword [ebp + 0xf274], ebx
mov dword [ebp + 0xf27c], ebx
xor ecx, ecx
mov word [ebp + 0xf278], cx
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x24], ebx
je 0x47c6e9
mov eax, dword [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c6d5
sub eax, edx
sar eax, 1
jne 0x47c6e9
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x47c80d
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c6f7
sub eax, edx
sar eax, 1
jne 0x47c710
mov dword [ebp - 0x20], ebx
jmp 0x47c80d
push 0x2e
mov edx, dword [ebp - 0x20]
push edx
call fcn.00617b92
add esp, 8
cmp eax, ebx
je 0x47c80d
xor ecx, ecx
mov dword [ebp + 0xf250], ecx
mov dword [ebp + 0xf258], ecx
xor edx, edx
mov word [ebp + 0xf254], dx
mov bl, 0x1a
mov byte [ebp - 4], bl
push ecx
add eax, 2
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00402a70
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp + 0xf88c]
push ecx
lea edx, [ebp + 0xf250]
push edx
mov eax, dword [esi + 0x20]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, edi
call fcn.004bf6f0
test al, al
je 0x47c7f1
mov edx, dword [ebp + 0xf88c]
mov dword [esi + 0x324], edx
mov edx, dword [ebp + 0xf250]
test edx, edx
mov eax, edx
jne 0x47c796
lea eax, [ebp + 0xf254]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47c7a0
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x47c7bb
lea ecx, [ebp + 0xf254]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x670988
jne 0x47c7cd
mov ecx, 0x670c80
test edx, edx
mov eax, edx
jne 0x47c7d9
lea eax, [ebp + 0xf254]
push 0
mov edx, dword [ebp - 0x20]
push edx
push ecx
push eax
push 0x673e74
lea ecx, [ebp + 0xf25c]
call fcn.00411a70
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf250]
call fcn.00401210
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jne 0x47c85d
cmp dword [ebp - 0x20], ebx
jne 0x47c85d
cmp dword [esi + 0xf4], ebx
je 0x47c827
mov eax, dword [esi + 0xf4]
jmp 0x47c82d
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0xf25c]
push eax
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x234]
call fcn.004977c0
mov ecx, dword [ebp + 0xf25c]
push ecx
lea ecx, [ebp + 0xf274]
call fcn.004017f0
jmp 0x47ca5a
mov eax, dword [ebp + 0xf25c]
cmp eax, ebx
jne 0x47c86d
lea eax, [ebp + 0xf260]
push 0x100
lea edx, [ebp + 0xf28c]
push edx
push 0x100
lea ecx, [ebp + 0xf48c]
push ecx
push 0x100
lea edx, [ebp + 0xf68c]
push edx
push 3
lea ecx, [ebp + 0xf88c]
push ecx
push eax
call fcn.0061b017
add esp, 0x24
mov edi, eax
mov dword [ebp + 0xf244], ebx
mov dword [ebp + 0xf24c], ebx
xor edx, edx
mov word [ebp + 0xf248], dx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x20], ebx
je 0x47c8ea
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 0xf244]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], ebx
je 0x47c912
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x351], 1
jmp 0x47c912
cmp edi, ebx
jne 0x47c912
lea ecx, [ebp + 0xf48c]
push ecx
lea ecx, [ebp + 0xf244]
call fcn.004017f0
lea edx, [ebp + 0xf28c]
push edx
lea ecx, [ebp + 0xf244]
call fcn.00405340
mov dword [ebp + 0xf268], ebx
mov dword [ebp + 0xf270], ebx
xor eax, eax
mov word [ebp + 0xf26c], ax
mov byte [ebp - 4], 0x1d
cmp dword [ebp - 0x24], ebx
je 0x47c95c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], ebx
je 0x47c984
mov byte [esi + 0x350], 1
cmp dword [ebp - 0x20], ebx
je 0x47c984
mov byte [esi + 0x1a2], 1
jmp 0x47c984
cmp edi, ebx
jne 0x47c984
lea edx, [ebp + 0xf88c]
push edx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
lea eax, [ebp + 0xf68c]
push eax
lea ecx, [ebp + 0xf268]
call fcn.00405340
mov edx, dword [ebp + 0xf268]
cmp edx, ebx
mov eax, edx
jne 0x47c996
lea eax, [ebp + 0xf26c]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47c9a0
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x47c9bb
lea ecx, [ebp + 0xf26c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x47c9d9
push 0x670988
lea ecx, [ebp + 0xf268]
call fcn.00405340
mov edx, dword [ebp + 0xf268]
push edx
lea ecx, [ebp + 0xf274]
call fcn.004017f0
mov eax, dword [ebp + 0xf244]
cmp eax, ebx
jne 0x47c9f5
lea eax, [ebp + 0xf248]
push eax
lea ecx, [ebp + 0xf274]
call fcn.00405340
test byte [esi + 0x174], 0x5c
je 0x47ca39
cmp dword [esi + 0xf4], ebx
je 0x47ca1a
mov eax, dword [esi + 0xf4]
jmp 0x47ca20
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0xf274]
push ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x234]
call fcn.004977c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0xf268]
call fcn.00401210
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf244]
call fcn.00401210
mov edi, dword [ebp - 0x18]
cmp byte [ebp + 0xf8b0], 0
je 0x47ca85
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x1a2], 1
mov eax, dword [esi + 0x4e8]
push eax
lea ecx, [esi + 0x20]
call fcn.005c7a70
jmp 0x47cb66
push ebx
lea ecx, [ebp + 0xf274]
push ecx
push esi
mov ecx, dword [edi + 0x234]
call fcn.00497cb0
cmp eax, 2
jne 0x47cb3f
mov ecx, dword [0x75524c]
cmp ecx, ebx
je 0x47caba
push 1
mov edx, dword [esi + 0x4e8]
push edx
call fcn.00513590
mov eax, dword [esi + 0x4e8]
push eax
mov ecx, edi
call fcn.00458e10
cmp eax, ebx
jl 0x47cada
push 1
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043bb00
mov ecx, esi
cmp dword [esi + 0x948], ebx
je 0x47cb17
call fcn.005b6060
push esi
mov ecx, 0x755340
call fcn.00437f20
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xf274]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xf25c]
call fcn.00401210
jmp 0x47bfe1
call fcn.005b6060
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00421160
mov dword [ebp - 4], 0x19
jmp 0x47caf4
cmp dword [ebp - 0x24], ebx
je 0x47cb5a
mov byte [esi + 0x1a2], 1
mov ecx, dword [esi + 0x4e8]
push ecx
lea ecx, [esi + 0x20]
call fcn.005c7a70
cmp dword [ebp - 0x20], ebx
jne 0x47cb66
mov byte [esi + 0x352], 1
mov eax, dword [ebp + 0xf274]
cmp eax, ebx
jne 0x47cb76
lea eax, [ebp + 0xf278]
push eax
mov ecx, esi
call fcn.005b5f60
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c3b10
cmp dword [esi + 0x4f4], ebx
jg 0x47cbae
jl 0x47cba5
cmp dword [esi + 0x4f0], ebx
ja 0x47cbae
cmp byte [esi + 0x34f], 0
je 0x47cbd9
cmp dword [ebp - 0x20], ebx
jne 0x47cbd9
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47cbc0
cmp eax, 2
jne 0x47cbd9
mov edx, dword [esi + 0x4e8]
push edx
push 0
nop
nop
nop
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042e470
mov ecx, esi
cmp byte [0x755286], 0
je 0x47cbeb
call fcn.005af6c0
jmp 0x47cbf0
call fcn.005b8d30
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x294]
cmp eax, ebx
je 0x47cc06
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00453440
mov dword [ebp - 0x94], 1
mov ecx, dword [esi + 0x4e8]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1fc]
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 0x47cc4b
push 1
push eax
mov ecx, edi
call fcn.00450ee0
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xf274]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xf25c]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x47c008