Function at 0x47e700
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf898]
mov eax, 0xf898
call fcn.0061ea30
push 0xffffffffffffffff
push 0x6499a2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x755898]
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 0x47f0c8
push esi
call fcn.004b25d0
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 0x47e7a6
push edi
lea ecx, [ebp + 0xf280]
call fcn.004017f0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b4280
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.00455ef0
mov byte [ebp - 0x34], al
test al, al
jne 0x47e7cf
mov byte [esi + 0x358], al
jmp 0x47e7d8
cmp byte [ebp + 0xf8b0], 0
je 0x47e7ee
cmp dword [ebx + 0x358], 0
jg 0x47e7ee
cmp byte [0x75b27a], 0
je 0x47e7f5
test al, al
jne 0x47e7f5
mov byte [esi + 0x362], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47e841
cmp byte [ebx + 0x17d4], 0
jne 0x47e841
push eax
mov ecx, ebx
call fcn.0045bb60
test eax, eax
jl 0x47e841
push eax
mov ecx, dword [ebx + 0x234]
call fcn.004cded0
mov eax, dword [eax]
test eax, eax
je 0x47e841
cmp dword [eax + 0x4fc], 0
jg 0x47e841
jl 0x47e83a
cmp dword [eax + 0x4f8], 0
ja 0x47e841
mov byte [esi + 0x362], 0
mov ecx, 0x75b274
call fcn.00544160
mov cl, byte [0x75b27b]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47e864
mov byte [0x75b27b], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004ba760
add esp, 4
test eax, eax
je 0x47e89e
mov byte [ebp - 0x32], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47e892
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e882
sub eax, edx
je 0x47e892
mov byte [ebp - 0x32], cl
jmp 0x47e89e
lea eax, [esi + 0x20]
push eax
call fcn.004baa30
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.0058fee0
mov ecx, dword [edi]
push ecx
push 0x675ea0
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f70
add esp, 0xc
push 1
mov ecx, esi
call fcn.005c4ba0
mov ecx, dword [0x75b240]
test ecx, ecx
je 0x47e8fb
mov eax, dword [esi + 0x4e8]
push eax
push 1
call fcn.00517a80
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47e935
cmp byte [eax + 0x4a], 0
je 0x47e91c
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 0x47e935
mov edx, dword [esi + 0x4e8]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0xf8c0]
test cl, 8
jne 0x47e94c
test ecx, 0x8000000
je 0x47eae3
cmp dword [esi + 0x340], 0
jne 0x47eae3
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47e96a
cmp eax, 2
jne 0x47eb48
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e975
sub eax, edi
je 0x47e9ee
test dword [ebp + 0xf8c0], 0x1000000
jne 0x47e9ee
push 0x5c
push edx
call fcn.0061faa0
add esp, 8
test eax, eax
je 0x47e99e
inc eax
jmp 0x47e9a4
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.0061ee1e
add esp, 8
test eax, eax
jne 0x47e9ee
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47e9cc
push 0x2e
push eax
call fcn.0061e8e0
add esp, 8
test eax, eax
jne 0x47e9ee
mov byte [ebp - 0x31], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47ea25
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47e9e0
sub eax, edx
je 0x47ea25
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.0047d830
test eax, eax
jne 0x47eb30
mov cl, byte [ebp - 0x11]
mov byte [0x75b27b], cl
jmp 0x47eab5
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.0045bb60
mov edi, eax
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005bb1f0
mov dword [ebp - 4], 3
jmp 0x47ea70
mov ecx, dword [0x75b240]
test ecx, ecx
je 0x47ea85
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.00517ad0
test edi, edi
jl 0x47ea9a
push 1
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043bc00
mov byte [esi + 0xad8], 1
push esi
mov ecx, 0x75b330
call fcn.00437fe0
mov dl, byte [ebp - 0x11]
mov byte [0x75b27b], 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 0x47f0cd
test ecx, 0x800
je 0x47eb48
cmp dword [0x75b2ac], 0
je 0x47eb48
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47eb01
cmp eax, 2
jne 0x47eb48
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.0047d830
test eax, eax
jne 0x47eb30
mov al, byte [ebp - 0x11]
mov byte [0x75b27b], al
jmp 0x47eab5
mov byte [esi + 0xadc], 0
mov byte [esi + 0x34c], 0
mov ecx, dword [ebp + 0xf8c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47ebcb
mov bl, 1
mov byte [ebp - 0x33], bl
push 0x3f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0061e8e0
add esp, 8
test eax, eax
jne 0x47eb97
lea ecx, [ebp]
call fcn.0054aa60
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp]
call fcn.0054b1e0
test eax, eax
je 0x47eb87
xor bl, bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.0054aaa0
test bl, bl
je 0x47ebc5
mov byte [esi + 0xadc], 1
push 1
push 1
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047d830
test eax, eax
je 0x47ea17
mov byte [esi + 0xadc], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0xf8c0]
test ecx, 0x100
je 0x47ebf7
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x49c]
test eax, eax
je 0x47ec78
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47ec68
test cl, 4
je 0x47ec78
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x47ec78
mov eax, edx
lea edi, [eax + 2]
jmp 0x47ec10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ec10
sub eax, edi
sar eax, 1
je 0x47ec78
push 0x2e
push edx
call fcn.0061ce13
add esp, 8
test eax, eax
je 0x47ec78
push 8
push 0x6823f4
push eax
call fcn.00621d6d
add esp, 0xc
test eax, eax
je 0x47ec78
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x49c]
test eax, eax
je 0x47ec78
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 0x47f58e
push eax
mov ecx, edx
call fcn.0045bb60
mov dword [ebp + 0xf88c], eax
test eax, eax
jl 0x47f58e
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.004cded0
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x47f58e
cmp byte [ebp - 0x19], 0
jne 0x47ece2
mov byte [esi + 0xadc], 1
push 0
push 0
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, ebx
call fcn.0047d830
mov byte [esi + 0xadc], 0
mov eax, dword [edi + 0x150]
mov ecx, dword [edi + 0x154]
mov edx, eax
or edx, ecx
je 0x47f58e
cmp eax, dword [esi + 0x150]
jne 0x47f58e
cmp ecx, dword [esi + 0x154]
jne 0x47f58e
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, 0x75b300
call fcn.00433ce0
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, 0x75b310
call fcn.00434110
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, 0x75b320
call fcn.00434110
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x47f017
cmp dword [edi + 0x4fc], 0
jg 0x47f017
jl 0x47eda2
cmp dword [edi + 0x4f8], 0
ja 0x47f017
cmp dword [edi + 0x338], 0
je 0x47edb8
cmp dword [edi + 0x330], 0
jne 0x47f017
cmp dword [edi + 0x5c], 0
je 0x47edd4
cmp dword [edi + 0x54], 0
je 0x47edc9
mov eax, dword [edi + 0x54]
jmp 0x47edcc
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005bb0f0
cmp dword [edi + 0x60], 0
je 0x47ede5
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005b3c70
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 0x47ee15
mov dl, byte [edi + 0x1a2]
mov byte [esi + 0x1a2], dl
mov al, byte [edi + 0x358]
mov byte [esi + 0x358], al
mov ecx, dword [0x75b240]
test ecx, ecx
je 0x47ee71
cmp dword [esi + 0x4ec], 1
je 0x47ee71
push 1
mov edx, dword [esi + 0x4e8]
push edx
call fcn.00517ad0
mov eax, dword [esi + 0x4e8]
push eax
mov ecx, dword [esi + 0x4ec]
push ecx
mov ecx, dword [0x75b240]
call fcn.00517a80
push 0
push 0
mov edx, dword [esi + 0x4e8]
push edx
lea ecx, [esi + 0x20]
call fcn.005cf2c0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005bb1f0
mov dword [ebp - 4], 7
jmp 0x47eeb2
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 0x47eef4
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015b0
mov ecx, dword [0x75b240]
test ecx, ecx
je 0x47ef0c
push 0
mov eax, dword [edi + 0x4e8]
push eax
call fcn.00517ad0
push 1
mov ecx, dword [ebp + 0xf88c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043bc00
cmp dword [edi + 0x948], 0
je 0x47ef3d
push edi
mov ecx, 0x75b330
call fcn.00437fe0
mov dword [ebp - 4], 3
jmp 0x47ef89
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00421190
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x47ef89
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c8590
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b4280
mov ecx, esi
call fcn.005bdec0
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x47efbf
push eax
mov ecx, ebx
call fcn.00456160
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 0x47eff8
push 1
push eax
mov ecx, edi
call fcn.00453b80
mov dword [ebx + 0x358], 0
push 0x676974
lea ecx, [ebx + 0x35c]
call fcn.0054e080
jmp 0x47f548
mov al, byte [ebp - 0x11]
mov byte [0x75b27b], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47f043
mov eax, edx
lea ebx, [eax + 1]
jmp 0x47f030
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f030
sub eax, ebx
je 0x47f043
push edx
mov ecx, edi
call fcn.005b49f0
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.0058fee0
lea ecx, [ebp + 0x7920]
call fcn.0054aa60
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.0054c2f0
test eax, eax
jne 0x47f0f4
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x7920]
call fcn.0054aaa0
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.0061d2ff
add ebp, 0xf898
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp + 0x7920]
call fcn.0054b9a0
test eax, eax
jne 0x47f087
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005b43b0
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.00452bd0
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x47f18f
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f130
sub eax, edx
je 0x47f15f
mov ecx, dword [esi + 0x1a8]
push ecx
push 0x675ea0
lea edx, [edi + 0x1a8]
push edx
call fcn.00402f70
add esp, 0xc
mov byte [edi + 0x1a4], 1
jmp 0x47f18f
cmp byte [esi + 0x1a4], 0
je 0x47f18f
cmp byte [esi + 0x353], 0
je 0x47f18f
push 0x676974
lea ecx, [edi + 0x1a8]
call fcn.0054e080
mov byte [edi + 0x1a4], 1
mov byte [edi + 0x353], 1
push 0
call fcn.00620aa1
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.004658f0
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 0x47f210
sub eax, ecx
je 0x47f236
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x675ea0
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.005cd120
cmp dword [edi + 0x338], 0
je 0x47f40a
cmp dword [edi + 0x330], 0
je 0x47f40a
lea ecx, [ebp]
call fcn.0054aa60
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 0x47f29e
mov eax, dword [esi + 0x32c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x67b5d0
push eax
call fcn.0046e5f0
add esp, 0x10
jmp 0x47f2d3
cmp eax, 8
jne 0x47f2d3
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f2b0
sub eax, edx
je 0x47f2d3
mov edx, dword [esi + 0xf0]
push edx
push 0x675ea0
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.0054c2f0
test eax, eax
je 0x47f3f2
push 1
mov eax, dword [edi + 0x330]
push eax
lea ecx, [ebp]
call fcn.0054b9a0
test eax, eax
jne 0x47f3f2
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47f32a
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f313
sub eax, ebx
je 0x47f32a
push edx
mov ecx, dword [edi + 0x330]
call fcn.005b49f0
mov eax, dword [esi + 0x3ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f333
sub eax, edx
je 0x47f35f
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x675ea0
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 0x47f368
sub eax, edx
je 0x47f394
mov eax, dword [esi + 0x3a0]
push eax
push 0x675ea0
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 0x47f3a0
sub eax, edx
je 0x47f3cb
mov edx, dword [esi + 0x3a4]
push edx
push 0x675ea0
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.00452bd0
mov eax, dword [edi + 0x330]
mov edx, dword [eax + 0x4e8]
push edx
lea ecx, [eax + 0x20]
call fcn.005cd120
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xe
lea ecx, [ebp]
call fcn.0054aaa0
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.0045bb60
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005bb1f0
mov dword [ebp - 4], 0x11
jmp 0x47f44f
mov ecx, dword [0x75b240]
test ecx, ecx
je 0x47f464
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00517ad0
cmp dword [ebp - 0x40], 0
jl 0x47f47b
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043bc00
cmp dword [esi + 0x948], 0
je 0x47f498
push esi
mov ecx, 0x75b330
call fcn.00437fe0
mov dword [ebp - 4], 0xe
jmp 0x47f4e4
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00421190
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x47f4e4
mov dword [ebx + 0x358], 0
push 0x676974
lea ecx, [ebx + 0x35c]
call fcn.0054e080
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x47f517
mov edx, dword [edi + 0x4e8]
push edx
push 0x1468
jmp 0x47f523
mov eax, dword [edi + 0x4e8]
push eax
push 0x1431
push 0x111
call fcn.0042e5b0
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x7920]
call fcn.0054aaa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402570
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x47f580
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47f576
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 [0x75b27b], cl
jmp 0x47f0a1
mov dl, byte [ebp - 0x11]
mov byte [0x75b27b], dl
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
je 0x47f5b9
cmp dword [ebp + 0xf288], ebx
je 0x47f5b9
mov eax, dword [ebp + 0xf280]
cmp eax, ebx
jne 0x47f5b6
lea eax, [ebp + 0xf284]
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x34], 0
je 0x47f5c8
cmp byte [ebp + 0xf8b0], 0
je 0x47f5d7
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x47f73e
push 0x58c
call fcn.005f1588
add esp, 4
mov dword [ebp + 0xf88c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x47f610
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.0043d760
mov edi, eax
jmp 0x47f612
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x47fd29
mov al, byte [ebp + 0xf8bc]
mov byte [edi + 0xb9], al
mov ecx, dword [ebp - 0x28]
push ecx
push 0x675ea0
lea edx, [edi + 0xbc]
push edx
call fcn.00402f70
mov eax, dword [ebp - 0x2c]
push eax
push 0x675ea0
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.00411520
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.005b49e0
push 5
mov ecx, edi
call fcn.005f241a
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x47fd29
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x47f723
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 0x47f723
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 0x47fd29
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.005be3a0
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 0x47f7a9
mov eax, dword [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f795
sub eax, edx
sar eax, 1
jne 0x47f7a9
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x47f8cd
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f7b7
sub eax, edx
sar eax, 1
jne 0x47f7d0
mov dword [ebp - 0x20], ebx
jmp 0x47f8cd
push 0x2e
mov edx, dword [ebp - 0x20]
push edx
call fcn.0061ce13
add esp, 8
cmp eax, ebx
je 0x47f8cd
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.004c4170
test al, al
je 0x47f8b1
mov edx, dword [ebp + 0xf88c]
mov dword [esi + 0x324], edx
mov edx, dword [ebp + 0xf250]
test edx, edx
mov eax, edx
jne 0x47f856
lea eax, [ebp + 0xf254]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f860
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x47f87b
lea ecx, [ebp + 0xf254]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x676978
jne 0x47f88d
mov ecx, 0x676c70
test edx, edx
mov eax, edx
jne 0x47f899
lea eax, [ebp + 0xf254]
push 0
mov edx, dword [ebp - 0x20]
push edx
push ecx
push eax
push 0x679ed0
lea ecx, [ebp + 0xf25c]
call fcn.00411a20
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 0x47f91d
cmp dword [ebp - 0x20], ebx
jne 0x47f91d
cmp dword [esi + 0xf4], ebx
je 0x47f8e7
mov eax, dword [esi + 0xf4]
jmp 0x47f8ed
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.0049c050
mov ecx, dword [ebp + 0xf25c]
push ecx
lea ecx, [ebp + 0xf274]
call fcn.004017f0
jmp 0x47fb1a
mov eax, dword [ebp + 0xf25c]
cmp eax, ebx
jne 0x47f92d
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.00620297
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 0x47f9aa
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 0xf244]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], ebx
je 0x47f9d2
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x351], 1
jmp 0x47f9d2
cmp edi, ebx
jne 0x47f9d2
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.00405300
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 0x47fa1c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], ebx
je 0x47fa44
mov byte [esi + 0x350], 1
cmp dword [ebp - 0x20], ebx
je 0x47fa44
mov byte [esi + 0x1a2], 1
jmp 0x47fa44
cmp edi, ebx
jne 0x47fa44
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.00405300
mov edx, dword [ebp + 0xf268]
cmp edx, ebx
mov eax, edx
jne 0x47fa56
lea eax, [ebp + 0xf26c]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47fa60
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x47fa7b
lea ecx, [ebp + 0xf26c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x47fa99
push 0x676978
lea ecx, [ebp + 0xf268]
call fcn.00405300
mov edx, dword [ebp + 0xf268]
push edx
lea ecx, [ebp + 0xf274]
call fcn.004017f0
mov eax, dword [ebp + 0xf244]
cmp eax, ebx
jne 0x47fab5
lea eax, [ebp + 0xf248]
push eax
lea ecx, [ebp + 0xf274]
call fcn.00405300
test byte [esi + 0x174], 0x5c
je 0x47faf9
cmp dword [esi + 0xf4], ebx
je 0x47fada
mov eax, dword [esi + 0xf4]
jmp 0x47fae0
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.0049c050
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 0x47fb45
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x1a2], 1
mov eax, dword [esi + 0x4e8]
push eax
lea ecx, [esi + 0x20]
call fcn.005ccc30
jmp 0x47fc26
push ebx
lea ecx, [ebp + 0xf274]
push ecx
push esi
mov ecx, dword [edi + 0x234]
call fcn.0049c540
cmp eax, 2
jne 0x47fbff
mov ecx, dword [0x75b240]
cmp ecx, ebx
je 0x47fb7a
push 1
mov edx, dword [esi + 0x4e8]
push edx
call fcn.00517ad0
mov eax, dword [esi + 0x4e8]
push eax
mov ecx, edi
call fcn.0045bb60
cmp eax, ebx
jl 0x47fb9a
push 1
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043bc00
mov ecx, esi
cmp dword [esi + 0x948], ebx
je 0x47fbd7
call fcn.005bb1f0
push esi
mov ecx, 0x75b330
call fcn.00437fe0
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 0x47f0a1
call fcn.005bb1f0
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00421190
mov dword [ebp - 4], 0x19
jmp 0x47fbb4
cmp dword [ebp - 0x24], ebx
je 0x47fc1a
mov byte [esi + 0x1a2], 1
mov ecx, dword [esi + 0x4e8]
push ecx
lea ecx, [esi + 0x20]
call fcn.005ccc30
cmp dword [ebp - 0x20], ebx
jne 0x47fc26
mov byte [esi + 0x352], 1
mov eax, dword [ebp + 0xf274]
cmp eax, ebx
jne 0x47fc36
lea eax, [ebp + 0xf278]
push eax
mov ecx, esi
call fcn.005bb0f0
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c8590
cmp dword [esi + 0x4f4], ebx
jg 0x47fc6e
jl 0x47fc65
cmp dword [esi + 0x4f0], ebx
ja 0x47fc6e
cmp byte [esi + 0x34f], 0
je 0x47fc99
cmp dword [ebp - 0x20], ebx
jne 0x47fc99
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47fc80
cmp eax, 2
jne 0x47fc99
mov edx, dword [esi + 0x4e8]
push edx
push 0x14db
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042e5b0
mov ecx, esi
cmp byte [0x75b27a], 0
je 0x47fcab
call fcn.005b4810
jmp 0x47fcb0
call fcn.005bdec0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x294]
cmp eax, ebx
je 0x47fcc6
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00456160
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 0x47fd0b
push 1
push eax
mov ecx, edi
call fcn.00453b80
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 0x47f0c8