Function at 0x47d370
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x8098]
mov eax, 0x8098
call fcn.00614970
push 0xffffffffffffffff
push 0x63f852
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x7496c8]
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 0x47dd38
push esi
call fcn.004aab30
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 0x47d416
push edi
lea ecx, [ebp + 0x7a80]
call fcn.004017f0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005ab100
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.004523d0
mov byte [ebp - 0x34], al
test al, al
jne 0x47d43f
mov byte [esi + 0x358], al
jmp 0x47d448
cmp byte [ebp + 0x80b0], 0
je 0x47d45e
cmp dword [ebx + 0x358], 0
jg 0x47d45e
cmp byte [0x74f0a6], 0
je 0x47d465
test al, al
jne 0x47d465
mov byte [esi + 0x362], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47d4b1
cmp byte [ebx + 0x17d4], 0
jne 0x47d4b1
push eax
mov ecx, ebx
call fcn.00458420
test eax, eax
jl 0x47d4b1
push eax
mov ecx, dword [ebx + 0x234]
call fcn.004aaf60
mov eax, dword [eax]
test eax, eax
je 0x47d4b1
cmp dword [eax + 0x4f4], 0
jg 0x47d4b1
jl 0x47d4aa
cmp dword [eax + 0x4f0], 0
ja 0x47d4b1
mov byte [esi + 0x362], 0
mov ecx, 0x74f0a0
call fcn.0053bbf0
mov cl, byte [0x74f0a7]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47d4d4
mov byte [0x74f0a7], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004b2d60
add esp, 4
test eax, eax
je 0x47d50e
mov byte [ebp - 0x32], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47d502
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47d4f2
sub eax, edx
je 0x47d502
mov byte [ebp - 0x32], cl
jmp 0x47d50e
lea eax, [esi + 0x20]
push eax
call fcn.004b3030
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.00587240
mov ecx, dword [edi]
push ecx
push 0x66ae98
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f80
add esp, 0xc
push 1
mov ecx, esi
call fcn.005bb720
mov ecx, dword [0x74f06c]
test ecx, ecx
je 0x47d56b
mov eax, dword [esi + 0x4e0]
push eax
push 1
call fcn.00510490
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47d5a5
cmp byte [eax + 0x4a], 0
je 0x47d58c
mov ecx, dword [esi + 0x4e0]
mov dword [ebx + 0x1170], ecx
mov byte [eax + 0x4a], 0
mov eax, dword [ebx + 0x74]
cmp byte [eax + 0x4c], 0
je 0x47d5a5
mov edx, dword [esi + 0x4e0]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0x80c0]
test cl, 8
jne 0x47d5bc
test ecx, 0x8000000
je 0x47d753
cmp dword [esi + 0x340], 0
jne 0x47d753
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47d5da
cmp eax, 2
jne 0x47d7b8
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47d5e5
sub eax, edi
je 0x47d65e
test dword [ebp + 0x80c0], 0x1000000
jne 0x47d65e
push 0x5c
push edx
call fcn.006159e0
add esp, 8
test eax, eax
je 0x47d60e
inc eax
jmp 0x47d614
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.00614d5e
add esp, 8
test eax, eax
jne 0x47d65e
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47d63c
push 0x2e
push eax
call fcn.00614820
add esp, 8
test eax, eax
jne 0x47d65e
mov byte [ebp - 0x31], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47d695
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47d650
sub eax, edx
je 0x47d695
mov byte [ebp - 0x31], cl
mov byte [esi + 0xad4], 1
mov byte [esi + 0x34c], 1
push 1
push 0
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, ebx
call fcn.0047c4a0
test eax, eax
jne 0x47d7a0
mov cl, byte [ebp - 0x11]
mov byte [0x74f0a7], cl
jmp 0x47d725
mov byte [esi + 0xad4], 0
mov byte [esi + 0x34c], 0
mov eax, dword [esi + 0x4e0]
mov dword [ebp - 0x44], eax
push eax
mov ecx, ebx
call fcn.00458420
mov edi, eax
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005b1f50
mov dword [ebp - 4], 3
jmp 0x47d6e0
mov ecx, dword [0x74f06c]
test ecx, ecx
je 0x47d6f5
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.005104e0
test edi, edi
jl 0x47d70a
push 1
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043b3a0
mov byte [esi + 0xad0], 1
push esi
mov ecx, 0x74f160
call fcn.00437780
mov dl, byte [ebp - 0x11]
mov byte [0x74f0a7], 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 + 0x7a80]
call fcn.004011f0
xor eax, eax
jmp 0x47dd3d
test ecx, 0x800
je 0x47d7b8
cmp dword [0x74f0d8], 0
je 0x47d7b8
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47d771
cmp eax, 2
jne 0x47d7b8
mov byte [esi + 0xad4], 1
mov byte [esi + 0x34c], 1
push 1
push 1
lea edx, [ebp + 0x7a80]
push edx
push esi
mov ecx, ebx
call fcn.0047c4a0
test eax, eax
jne 0x47d7a0
mov al, byte [ebp - 0x11]
mov byte [0x74f0a7], al
jmp 0x47d725
mov byte [esi + 0xad4], 0
mov byte [esi + 0x34c], 0
mov ecx, dword [ebp + 0x80c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47d83b
mov bl, 1
mov byte [ebp - 0x33], bl
push 0x3f
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00614820
add esp, 8
test eax, eax
jne 0x47d807
lea ecx, [ebp]
call fcn.005422a0
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp]
call fcn.00542a20
test eax, eax
je 0x47d7f7
xor bl, bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.005422e0
test bl, bl
je 0x47d835
mov byte [esi + 0xad4], 1
push 1
push 1
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047c4a0
test eax, eax
je 0x47d687
mov byte [esi + 0xad4], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0x80c0]
test ecx, 0x100
je 0x47d867
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x498]
test eax, eax
je 0x47d8e8
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47d8d8
test cl, 4
je 0x47d8e8
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x47d8e8
mov eax, edx
lea edi, [eax + 2]
jmp 0x47d880
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47d880
sub eax, edi
sar eax, 1
je 0x47d8e8
push 0x2e
push edx
call fcn.00612d55
add esp, 8
test eax, eax
je 0x47d8e8
push 8
push 0x677540
push eax
call fcn.00617c6f
add esp, 0xc
test eax, eax
je 0x47d8e8
mov byte [esi + 0x185], 1
mov eax, dword [esi + 0x498]
test eax, eax
je 0x47d8e8
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 + 0x358]
test eax, eax
jle 0x47e1fe
push eax
mov ecx, edx
call fcn.00458420
mov dword [ebp + 0x808c], eax
test eax, eax
jl 0x47e1fe
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.004aaf60
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x47e1fe
cmp byte [ebp - 0x19], 0
jne 0x47d952
mov byte [esi + 0xad4], 1
push 0
push 0
lea eax, [ebp + 0x7a80]
push eax
push esi
mov ecx, ebx
call fcn.0047c4a0
mov byte [esi + 0xad4], 0
mov eax, dword [edi + 0x150]
mov ecx, dword [edi + 0x154]
mov edx, eax
or edx, ecx
je 0x47e1fe
cmp eax, dword [esi + 0x150]
jne 0x47e1fe
cmp ecx, dword [esi + 0x154]
jne 0x47e1fe
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, 0x74f130
call fcn.004334a0
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, 0x74f140
call fcn.004338d0
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, 0x74f150
call fcn.004338d0
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x47dc87
cmp dword [edi + 0x4f4], 0
jg 0x47dc87
jl 0x47da12
cmp dword [edi + 0x4f0], 0
ja 0x47dc87
cmp dword [edi + 0x338], 0
je 0x47da28
cmp dword [edi + 0x330], 0
jne 0x47dc87
cmp dword [edi + 0x5c], 0
je 0x47da44
cmp dword [edi + 0x54], 0
je 0x47da39
mov eax, dword [edi + 0x54]
jmp 0x47da3c
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005b1e50
cmp dword [edi + 0x60], 0
je 0x47da55
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005aaaf0
mov edx, dword [edi + 0x4e4]
mov dword [esi + 0x4e4], 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 0x47da85
mov dl, byte [edi + 0x1a2]
mov byte [esi + 0x1a2], dl
mov al, byte [edi + 0x358]
mov byte [esi + 0x358], al
mov ecx, dword [0x74f06c]
test ecx, ecx
je 0x47dae1
cmp dword [esi + 0x4e4], 1
je 0x47dae1
push 1
mov edx, dword [esi + 0x4e0]
push edx
call fcn.005104e0
mov eax, dword [esi + 0x4e0]
push eax
mov ecx, dword [esi + 0x4e4]
push ecx
mov ecx, dword [0x74f06c]
call fcn.00510490
push 0
push 0
mov edx, dword [esi + 0x4e0]
push edx
lea ecx, [esi + 0x20]
call fcn.005c5db0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005b1f50
mov dword [ebp - 4], 7
jmp 0x47db22
mov dword [ebp - 0x64], 1
mov eax, dword [edi + 0x4e0]
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 0x47db64
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015b0
mov ecx, dword [0x74f06c]
test ecx, ecx
je 0x47db7c
push 0
mov eax, dword [edi + 0x4e0]
push eax
call fcn.005104e0
push 1
mov ecx, dword [ebp + 0x808c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043b3a0
cmp dword [edi + 0x940], 0
je 0x47dbad
push edi
mov ecx, 0x74f160
call fcn.00437780
mov dword [ebp - 4], 3
jmp 0x47dbf9
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00420ff0
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x47dbf9
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c0bf0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005ab100
mov ecx, esi
call fcn.005b4bb0
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x47dc2f
push eax
mov ecx, ebx
call fcn.00452620
mov dword [ebp - 0x7c], 1
mov eax, dword [esi + 0x4e0]
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 0x47dc68
push 1
push eax
mov ecx, edi
call fcn.00451760
mov dword [ebx + 0x358], 0
push 0x66b96c
lea ecx, [ebx + 0x35c]
call fcn.00545860
jmp 0x47e1b8
mov al, byte [ebp - 0x11]
mov byte [0x74f0a7], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47dcb3
mov eax, edx
lea ebx, [eax + 1]
jmp 0x47dca0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47dca0
sub eax, ebx
je 0x47dcb3
push edx
mov ecx, edi
call fcn.005ab870
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.00587240
lea ecx, [ebp + 0x3d20]
call fcn.005422a0
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x180]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp + 0x3d20]
call fcn.00543b40
test eax, eax
jne 0x47dd64
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x3d20]
call fcn.005422e0
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 + 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.00613241
add ebp, 0x8098
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp + 0x3d20]
call fcn.005431f0
test eax, eax
jne 0x47dcf7
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005ab230
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.0044f690
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x47ddff
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47dda0
sub eax, edx
je 0x47ddcf
mov ecx, dword [esi + 0x1a8]
push ecx
push 0x66ae98
lea edx, [edi + 0x1a8]
push edx
call fcn.00402f80
add esp, 0xc
mov byte [edi + 0x1a4], 1
jmp 0x47ddff
cmp byte [esi + 0x1a4], 0
je 0x47ddff
cmp byte [esi + 0x353], 0
je 0x47ddff
push 0x66b96c
lea ecx, [edi + 0x1a8]
call fcn.00545860
mov byte [edi + 0x1a4], 1
mov byte [edi + 0x353], 1
push 0
call fcn.006169e1
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.0046ab30
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 0x47de80
sub eax, ecx
je 0x47dea6
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x66ae98
lea edx, [edi + 0x3ac]
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [edi + 0x4e0]
push eax
lea ecx, [edi + 0x20]
call fcn.005c3c90
cmp dword [edi + 0x338], 0
je 0x47e07a
cmp dword [edi + 0x330], 0
je 0x47e07a
lea ecx, [ebp]
call fcn.005422a0
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 0x47df0e
mov eax, dword [esi + 0x32c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x6708c8
push eax
call fcn.00468da0
add esp, 0x10
jmp 0x47df43
cmp eax, 8
jne 0x47df43
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47df20
sub eax, edx
je 0x47df43
mov edx, dword [esi + 0xf0]
push edx
push 0x66ae98
lea eax, [ebp - 0x30]
push eax
call fcn.00402f80
add esp, 0xc
mov ecx, dword [esi + 0x180]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp]
call fcn.00543b40
test eax, eax
je 0x47e062
push 1
mov eax, dword [edi + 0x330]
push eax
lea ecx, [ebp]
call fcn.005431f0
test eax, eax
jne 0x47e062
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47df9a
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47df83
sub eax, ebx
je 0x47df9a
push edx
mov ecx, dword [edi + 0x330]
call fcn.005ab870
mov eax, dword [esi + 0x3ac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47dfa3
sub eax, edx
je 0x47dfcf
mov ecx, dword [esi + 0x3ac]
push ecx
push 0x66ae98
mov edx, dword [edi + 0x330]
add edx, 0x3ac
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [esi + 0x3a0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47dfd8
sub eax, edx
je 0x47e004
mov eax, dword [esi + 0x3a0]
push eax
push 0x66ae98
mov ecx, dword [edi + 0x330]
add ecx, 0x3a0
push ecx
call fcn.00402f80
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 0x47e010
sub eax, edx
je 0x47e03b
mov edx, dword [esi + 0x3a4]
push edx
push 0x66ae98
mov eax, dword [edi + 0x330]
add eax, 0x3a4
push eax
call fcn.00402f80
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x330]
add ecx, 0x20
call fcn.0044f690
mov eax, dword [edi + 0x330]
mov edx, dword [eax + 0x4e0]
push edx
lea ecx, [eax + 0x20]
call fcn.005c3c90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xe
lea ecx, [ebp]
call fcn.005422e0
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 0x4e0]
mov dword [ebp - 0x4c], eax
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00458420
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005b1f50
mov dword [ebp - 4], 0x11
jmp 0x47e0bf
mov ecx, dword [0x74f06c]
test ecx, ecx
je 0x47e0d4
push 0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.005104e0
cmp dword [ebp - 0x40], 0
jl 0x47e0eb
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043b3a0
cmp dword [esi + 0x940], 0
je 0x47e108
push esi
mov ecx, 0x74f160
call fcn.00437780
mov dword [ebp - 4], 0xe
jmp 0x47e154
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00420ff0
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x47e154
mov dword [ebx + 0x358], 0
push 0x66b96c
lea ecx, [ebx + 0x35c]
call fcn.00545860
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x47e187
mov edx, dword [edi + 0x4e0]
push edx
push 0x1468
jmp 0x47e193
mov eax, dword [edi + 0x4e0]
push eax
push 0x1431
push 0x111
call fcn.0042dd70
mov byte [ebp - 4], 0xd
lea ecx, [ebp + 0x3d20]
call fcn.005422e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00402570
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x47e1f0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47e1e6
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 [0x74f0a7], cl
jmp 0x47dd11
mov dl, byte [ebp - 0x11]
mov byte [0x74f0a7], dl
xor ebx, ebx
cmp dword [ebp - 0x20], ebx
je 0x47e229
cmp dword [ebp + 0x7a88], ebx
je 0x47e229
mov eax, dword [ebp + 0x7a80]
cmp eax, ebx
jne 0x47e226
lea eax, [ebp + 0x7a84]
mov dword [ebp - 0x20], eax
cmp byte [ebp - 0x34], 0
je 0x47e238
cmp byte [ebp + 0x80b0], 0
je 0x47e247
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x47e3ae
push 0x58c
call fcn.005e7678
add esp, 4
mov dword [ebp + 0x808c], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x47e280
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.0043cf10
mov edi, eax
jmp 0x47e282
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x47e999
mov al, byte [ebp + 0x80bc]
mov byte [edi + 0xb9], al
mov ecx, dword [ebp - 0x28]
push ecx
push 0x66ae98
lea edx, [edi + 0xbc]
push edx
call fcn.00402f80
mov eax, dword [ebp - 0x2c]
push eax
push 0x66ae98
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f80
add esp, 0x18
mov edx, dword [esi + 0x4e0]
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 + 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.004114e0
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.005ab860
push 5
mov ecx, edi
call fcn.005e852c
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x47e999
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x47e393
lea eax, [ebp + 0x7a40]
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 0x47e393
lea ecx, [ebp + 0x7a40]
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 0x47e999
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, 0x81c
push 1
lea eax, [ebp + 0x7a5c]
push eax
push edi
mov ecx, esi
call fcn.005b5070
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 0x47e419
mov eax, dword [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e405
sub eax, edx
sar eax, 1
jne 0x47e419
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x47e53d
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e427
sub eax, edx
sar eax, 1
jne 0x47e440
mov dword [ebp - 0x20], ebx
jmp 0x47e53d
push 0x2e
mov edx, dword [ebp - 0x20]
push edx
call fcn.00612d55
add esp, 8
cmp eax, ebx
je 0x47e53d
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.00402a70
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.004bc790
test al, al
je 0x47e521
mov edx, dword [ebp + 0x808c]
mov dword [esi + 0x324], edx
mov edx, dword [ebp + 0x7a50]
test edx, edx
mov eax, edx
jne 0x47e4c6
lea eax, [ebp + 0x7a54]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e4d0
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x47e4eb
lea ecx, [ebp + 0x7a54]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x66b970
jne 0x47e4fd
mov ecx, 0x66bc68
test edx, edx
mov eax, edx
jne 0x47e509
lea eax, [ebp + 0x7a54]
push 0
mov edx, dword [ebp - 0x20]
push edx
push ecx
push eax
push 0x66ee64
lea ecx, [ebp + 0x7a5c]
call fcn.004118f0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0x7a50]
call fcn.004011f0
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
jne 0x47e58d
cmp dword [ebp - 0x20], ebx
jne 0x47e58d
cmp dword [esi + 0xf4], ebx
je 0x47e557
mov eax, dword [esi + 0xf4]
jmp 0x47e55d
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 + 0x234]
call fcn.00494720
mov ecx, dword [ebp + 0x7a5c]
push ecx
lea ecx, [ebp + 0x7a74]
call fcn.004017f0
jmp 0x47e78a
mov eax, dword [ebp + 0x7a5c]
cmp eax, ebx
jne 0x47e59d
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.006161d7
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 0x47e61a
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 0x7a44]
call fcn.004017f0
cmp dword [ebp + 0x80a0], ebx
je 0x47e642
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x351], 1
jmp 0x47e642
cmp edi, ebx
jne 0x47e642
lea ecx, [ebp + 0x7c8c]
push ecx
lea ecx, [ebp + 0x7a44]
call fcn.004017f0
lea edx, [ebp + 0x7a8c]
push edx
lea ecx, [ebp + 0x7a44]
call fcn.00405330
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 0x47e68c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp + 0x7a68]
call fcn.004017f0
cmp dword [ebp + 0x80a0], ebx
je 0x47e6b4
mov byte [esi + 0x350], 1
cmp dword [ebp - 0x20], ebx
je 0x47e6b4
mov byte [esi + 0x1a2], 1
jmp 0x47e6b4
cmp edi, ebx
jne 0x47e6b4
lea edx, [ebp + 0x808c]
push edx
lea ecx, [ebp + 0x7a68]
call fcn.004017f0
lea eax, [ebp + 0x7e8c]
push eax
lea ecx, [ebp + 0x7a68]
call fcn.00405330
mov edx, dword [ebp + 0x7a68]
cmp edx, ebx
mov eax, edx
jne 0x47e6c6
lea eax, [ebp + 0x7a6c]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47e6d0
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x47e6eb
lea ecx, [ebp + 0x7a6c]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x47e709
push 0x66b970
lea ecx, [ebp + 0x7a68]
call fcn.00405330
mov edx, dword [ebp + 0x7a68]
push edx
lea ecx, [ebp + 0x7a74]
call fcn.004017f0
mov eax, dword [ebp + 0x7a44]
cmp eax, ebx
jne 0x47e725
lea eax, [ebp + 0x7a48]
push eax
lea ecx, [ebp + 0x7a74]
call fcn.00405330
test byte [esi + 0x174], 0x5c
je 0x47e769
cmp dword [esi + 0xf4], ebx
je 0x47e74a
mov eax, dword [esi + 0xf4]
jmp 0x47e750
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 + 0x234]
call fcn.00494720
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 0x47e7b5
mov byte [esi + 0x1a3], 1
mov byte [esi + 0x1a2], 1
mov eax, dword [esi + 0x4e0]
push eax
lea ecx, [esi + 0x20]
call fcn.005c37a0
jmp 0x47e896
push ebx
lea ecx, [ebp + 0x7a74]
push ecx
push esi
mov ecx, dword [edi + 0x234]
call fcn.00494c10
cmp eax, 2
jne 0x47e86f
mov ecx, dword [0x74f06c]
cmp ecx, ebx
je 0x47e7ea
push 1
mov edx, dword [esi + 0x4e0]
push edx
call fcn.005104e0
mov eax, dword [esi + 0x4e0]
push eax
mov ecx, edi
call fcn.00458420
cmp eax, ebx
jl 0x47e80a
push 1
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043b3a0
mov ecx, esi
cmp dword [esi + 0x940], ebx
je 0x47e847
call fcn.005b1f50
push esi
mov ecx, 0x74f160
call fcn.00437780
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 0x47dd11
call fcn.005b1f50
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00420ff0
mov dword [ebp - 4], 0x19
jmp 0x47e824
cmp dword [ebp - 0x24], ebx
je 0x47e88a
mov byte [esi + 0x1a2], 1
mov ecx, dword [esi + 0x4e0]
push ecx
lea ecx, [esi + 0x20]
call fcn.005c37a0
cmp dword [ebp - 0x20], ebx
jne 0x47e896
mov byte [esi + 0x352], 1
mov eax, dword [ebp + 0x7a74]
cmp eax, ebx
jne 0x47e8a6
lea eax, [ebp + 0x7a78]
push eax
mov ecx, esi
call fcn.005b1e50
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c0bf0
cmp dword [esi + 0x4ec], ebx
jg 0x47e8de
jl 0x47e8d5
cmp dword [esi + 0x4e8], ebx
ja 0x47e8de
cmp byte [esi + 0x34f], 0
je 0x47e909
cmp dword [ebp - 0x20], ebx
jne 0x47e909
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47e8f0
cmp eax, 2
jne 0x47e909
mov edx, dword [esi + 0x4e0]
push edx
push 0x14db
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042dd70
mov ecx, esi
cmp byte [0x74f0a6], 0
je 0x47e91b
call fcn.005ab690
jmp 0x47e920
call fcn.005b4bb0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x294]
cmp eax, ebx
je 0x47e936
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00452620
mov dword [ebp - 0x94], 1
mov ecx, dword [esi + 0x4e0]
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 0x47e97b
push 1
push eax
mov ecx, edi
call fcn.00451760
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.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x7a80]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
jmp 0x47dd38