Function at 0x47f6d0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf898]
mov eax, 0xf898
call fcn.006218a0
push 0xffffffffffffffff
push 0x64c9e2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x758898]
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 - 0x3c], esi
mov eax, dword [ebp + 0xf8b4]
mov dword [ebp - 0x28], eax
mov edi, dword [ebp + 0xf8b8]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x4800af
push esi
call fcn.004b3670
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 0x47f776
push edi
lea ecx, [ebp + 0xf280]
call fcn.004017f0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b6ee0
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.00456c30
mov byte [ebp - 0x36], al
test al, al
jne 0x47f79f
mov byte [esi + 0x36c], al
jmp 0x47f7a8
cmp byte [ebp + 0xf8b0], 0
je 0x47f7be
cmp dword [ebx + 0x358], 0
jg 0x47f7be
cmp byte [0x75e2aa], 0
je 0x47f7c5
test al, al
jne 0x47f7c5
mov byte [esi + 0x376], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47f815
cmp byte [ebx + 0x17d4], 0
jne 0x47f815
push eax
mov ecx, dword [ebx + 0x234]
call fcn.0045ef40
test eax, eax
jl 0x47f815
push eax
mov ecx, dword [ebx + 0x234]
call fcn.00426f80
mov eax, dword [eax]
test eax, eax
je 0x47f815
cmp dword [eax + 0x50c], 0
jg 0x47f815
jl 0x47f80e
cmp dword [eax + 0x508], 0
ja 0x47f815
mov byte [esi + 0x376], 0
mov dword [ebp - 0x34], 0xc80
mov ecx, 0x75e2a4
call fcn.005453d0
mov cl, byte [0x75e2ab]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47f83f
mov byte [0x75e2ab], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004bb890
add esp, 4
test eax, eax
je 0x47f87c
mov byte [ebp - 0x38], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47f870
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f860
sub eax, edx
je 0x47f870
mov byte [ebp - 0x38], cl
jmp 0x47f87c
lea eax, [esi + 0x20]
push eax
call fcn.004bbb60
add esp, 4
lea ecx, [ebp - 0x20]
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 - 0x20]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.005923b0
mov ecx, dword [edi]
push ecx
push 0x678ea8
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f70
add esp, 0xc
push 1
mov ecx, esi
call fcn.005c7800
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47f8d9
mov eax, dword [esi + 0x4f8]
push eax
push 1
call fcn.00518c10
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47f913
cmp byte [eax + 0x4a], 0
je 0x47f8fa
mov ecx, dword [esi + 0x4f8]
mov dword [ebx + 0x1170], ecx
mov byte [eax + 0x4a], 0
mov eax, dword [ebx + 0x74]
cmp byte [eax + 0x4c], 0
je 0x47f913
mov edx, dword [esi + 0x4f8]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0xf8c0]
test cl, 8
jne 0x47f92a
test ecx, 0x8000000
je 0x47fac5
cmp dword [esi + 0x354], 0
jne 0x47fac5
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47f948
cmp eax, 2
jne 0x47fb2a
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f953
sub eax, edi
je 0x47f9ce
test dword [ebp + 0xf8c0], 0x1000000
jne 0x47f9ce
push 0x5c
push edx
call fcn.00622910
add esp, 8
test eax, eax
je 0x47f97c
inc eax
jmp 0x47f982
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.00621c8e
add esp, 8
test eax, eax
jne 0x47f9ce
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47f9aa
push 0x2e
push eax
call fcn.00621750
add esp, 8
test eax, eax
jne 0x47f9ce
mov byte [ebp - 0x37], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47fa05
lea edx, [eax + 1]
jmp 0x47f9c0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f9c0
sub eax, edx
je 0x47fa05
mov byte [ebp - 0x37], cl
mov byte [esi + 0xaec], 1
mov byte [esi + 0x360], 1
push 1
push 0
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, ebx
call fcn.0047e7f0
test eax, eax
jne 0x47fb12
mov cl, byte [ebp - 0x11]
mov byte [0x75e2ab], cl
jmp 0x47fa97
mov byte [esi + 0xaec], 0
mov byte [esi + 0x360], 0
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 0x54], eax
push eax
mov ecx, dword [ebx + 0x234]
call fcn.0045ef40
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005bde50
mov dword [ebp - 4], 3
jmp 0x47fa54
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47fa69
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.00518c60
test edi, edi
jl 0x47fa7c
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043cac0
mov byte [esi + 0xae8], 1
push esi
mov ecx, 0x75e360
call fcn.004388d0
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
xor eax, eax
jmp 0x4800b4
test ecx, 0x800
je 0x47fb2a
cmp dword [0x75e2dc], 0
je 0x47fb2a
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47fae3
cmp eax, 2
jne 0x47fb2a
mov byte [esi + 0xaec], 1
mov byte [esi + 0x360], 1
push 1
push 1
lea edx, [ebp + 0xf280]
push edx
push esi
mov ecx, ebx
call fcn.0047e7f0
test eax, eax
jne 0x47fb12
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
jmp 0x47fa97
mov byte [esi + 0xaec], 0
mov byte [esi + 0x360], 0
mov ecx, dword [ebp + 0xf8c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47fbba
mov bl, 1
mov byte [ebp - 0x35], bl
push 0x3f
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00621750
add esp, 8
test eax, eax
jne 0x47fb86
lea ecx, [ebp + 0x7920]
call fcn.0054bc10
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp + 0x7920]
call fcn.0054c390
test eax, eax
je 0x47fb73
xor bl, bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x7920]
call fcn.0054bc50
test bl, bl
je 0x47fbb4
mov byte [esi + 0xaec], 1
push 1
push 1
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047e7f0
test eax, eax
je 0x47f9f7
mov byte [esi + 0xaec], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0xf8c0]
test ecx, 0x100
je 0x47fbe6
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47fc5f
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47fc4f
test cl, 4
je 0x47fc5f
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x47fc5f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fbf7
sub eax, edi
sar eax, 1
je 0x47fc5f
push 0x2e
push edx
call fcn.0061fc83
add esp, 8
test eax, eax
je 0x47fc5f
push 8
push 0x6856e4
push eax
call fcn.00624bdd
add esp, 0xc
test eax, eax
je 0x47fc5f
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47fc5f
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 0x480580
push eax
mov eax, edx
mov ecx, dword [eax + 0x234]
call fcn.0045ef40
mov dword [ebp + 0xf88c], eax
test eax, eax
jl 0x480580
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.00426f80
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
test edi, edi
je 0x480580
cmp byte [ebp - 0x19], 0
jne 0x47fccf
mov byte [esi + 0xaec], 1
push 0
push 0
lea ecx, [ebp + 0xf280]
push ecx
push esi
mov ecx, ebx
call fcn.0047e7f0
mov byte [esi + 0xaec], 0
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
mov edx, eax
or edx, ecx
je 0x480580
cmp eax, dword [esi + 0x158]
jne 0x480580
cmp ecx, dword [esi + 0x15c]
jne 0x480580
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, 0x75e330
call fcn.00434540
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, 0x75e340
call fcn.00434970
mov eax, dword [esi + 0x16c]
mov ecx, dword [edi + 0x16c]
mov edx, dword [esi + 0xe8]
mov ebx, dword [edi + 0xe8]
push eax
push ecx
push edx
push ebx
mov ecx, 0x75e350
call fcn.00434970
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x48000b
cmp dword [edi + 0x50c], 0
jg 0x48000b
jl 0x47fd8f
cmp dword [edi + 0x508], 0
ja 0x48000b
cmp dword [edi + 0x34c], 0
je 0x47fda5
cmp dword [edi + 0x340], 0
jne 0x48000b
cmp dword [edi + 0x5c], 0
je 0x47fdc1
cmp dword [edi + 0x54], 0
je 0x47fdb6
mov eax, dword [edi + 0x54]
jmp 0x47fdb9
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005bdd50
cmp dword [edi + 0x60], 0
je 0x47fdd2
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005b68d0
mov edx, dword [edi + 0x4fc]
mov dword [esi + 0x4fc], edx
mov eax, dword [edi + 0x334]
mov dword [esi + 0x334], eax
mov cl, byte [edi + 0x36b]
mov byte [esi + 0x36b], 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 0x47fe02
mov dl, byte [edi + 0x1b2]
mov byte [esi + 0x1b2], dl
mov al, byte [edi + 0x36c]
mov byte [esi + 0x36c], al
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47fe5e
cmp dword [esi + 0x4fc], 1
je 0x47fe5e
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00518c60
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [esi + 0x4fc]
push ecx
mov ecx, dword [0x75e260]
call fcn.00518c10
push 0
push 0
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005d2000
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005bde50
mov dword [ebp - 4], 7
jmp 0x47fe9f
mov dword [ebp - 0x9c], 1
mov eax, dword [edi + 0x4f8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0x1fc]
lea ecx, [ebp - 0x9c]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x47feea
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015b0
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47ff02
push 0
mov eax, dword [edi + 0x4f8]
push eax
call fcn.00518c60
mov ecx, dword [ebp + 0xf88c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043cac0
cmp dword [edi + 0x958], 0
je 0x47ff31
push edi
mov ecx, 0x75e360
call fcn.004388d0
mov dword [ebp - 4], 3
jmp 0x47ff7d
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00421350
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x47ff7d
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c96b0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b6ee0
mov ecx, esi
call fcn.005c0b20
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x47ffb3
push eax
mov ecx, ebx
call fcn.00456eb0
mov dword [ebp - 0x6c], 1
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x1fc]
lea ecx, [ebp - 0x6c]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x47ffec
push 1
push eax
mov ecx, edi
call fcn.00454930
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f250
jmp 0x48053a
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x480033
mov eax, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480020
sub eax, ebx
je 0x480033
push edx
mov ecx, edi
call fcn.005b7670
lea ecx, [ebp - 0x28]
call fcn.00402500
mov bl, 0xd
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x20]
call fcn.005923b0
lea ecx, [ebp]
call fcn.0054bc10
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x18c]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp]
call fcn.0054d4a0
test eax, eax
jne 0x4800db
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.0054bc50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
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.0062016f
add ebp, 0xf898
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp]
call fcn.0054cb50
test eax, eax
jne 0x480071
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005b7010
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.00453980
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x480171
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480112
sub eax, edx
je 0x480141
mov ecx, dword [esi + 0x1b8]
push ecx
push 0x678ea8
lea edx, [edi + 0x1b8]
push edx
call fcn.00402f70
add esp, 0xc
mov byte [edi + 0x1b4], 1
jmp 0x480171
cmp byte [esi + 0x1b4], 0
je 0x480171
cmp byte [esi + 0x367], 0
je 0x480171
push 0x67997c
lea ecx, [edi + 0x1b8]
call fcn.0054f250
mov byte [edi + 0x1b4], 1
mov byte [edi + 0x367], 1
push 0
call fcn.00623911
mov dword [edi + 0x160], eax
mov eax, dword [esi + 0x3bc]
mov dword [edi + 0x3bc], eax
mov eax, dword [esi + 0x3b8]
mov ecx, dword [esi + 0x3b4]
mov edx, dword [esi + 0x178]
mov ebx, dword [esi + 0x138]
push eax
push ecx
push edx
mov eax, dword [esi + 0x174]
push eax
mov eax, dword [esi + 0x170]
push eax
mov eax, dword [esi + 0x16c]
push eax
mov eax, dword [esi + 0x168]
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.00466a10
add esp, 0x38
mov eax, dword [esi + 0x3c0]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4801f0
sub eax, ecx
je 0x480216
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
lea edx, [edi + 0x3c0]
push edx
call fcn.00402f70
add esp, 0xc
mov eax, dword [edi + 0x4f8]
push eax
lea ecx, [edi + 0x20]
call fcn.005cfe20
cmp dword [edi + 0x34c], 0
je 0x4803fd
cmp dword [edi + 0x340], 0
je 0x4803fd
lea ecx, [ebp + 0x7920]
call fcn.0054bc10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402500
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x34c]
cmp eax, 4
jne 0x480281
mov eax, dword [esi + 0x33c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x67e82c
push eax
call fcn.0046f4f0
add esp, 0x10
jmp 0x4802b3
cmp eax, 8
jne 0x4802b3
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480290
sub eax, edx
je 0x4802b3
mov edx, dword [esi + 0xf0]
push edx
push 0x678ea8
lea eax, [ebp - 0x30]
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [esi + 0x18c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp + 0x7920]
call fcn.0054d4a0
test eax, eax
je 0x4803e2
push 1
mov eax, dword [edi + 0x340]
push eax
lea ecx, [ebp + 0x7920]
call fcn.0054cb50
test eax, eax
jne 0x4803e2
mov edx, dword [esi + 0x38]
test edx, edx
je 0x480317
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480300
sub eax, ebx
je 0x480317
push edx
mov ecx, dword [edi + 0x340]
call fcn.005b7670
mov eax, dword [esi + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480320
sub eax, edx
je 0x48034c
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
mov edx, dword [edi + 0x340]
add edx, 0x3c0
push edx
call fcn.00402f70
add esp, 0xc
mov eax, dword [esi + 0x3b4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480355
sub eax, edx
je 0x480381
mov eax, dword [esi + 0x3b4]
push eax
push 0x678ea8
mov ecx, dword [edi + 0x340]
add ecx, 0x3b4
push ecx
call fcn.00402f70
add esp, 0xc
mov eax, dword [esi + 0x3b8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480390
sub eax, edx
je 0x4803bb
mov edx, dword [esi + 0x3b8]
push edx
push 0x678ea8
mov eax, dword [edi + 0x340]
add eax, 0x3b8
push eax
call fcn.00402f70
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x340]
add ecx, 0x20
call fcn.00453980
mov eax, dword [edi + 0x340]
mov edx, dword [eax + 0x4f8]
push edx
lea ecx, [eax + 0x20]
call fcn.005cfe20
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x7920]
call fcn.0054bc50
mov byte [ebp - 4], 0x11
mov eax, dword [esi + 0x4f8]
mov dword [ebp - 0x50], eax
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.0045ef40
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005bde50
mov dword [ebp - 4], 0x11
jmp 0x480446
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x48045b
push 0
mov eax, dword [ebp - 0x50]
push eax
call fcn.00518c60
cmp dword [ebp - 0x44], 0
jl 0x480470
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043cac0
cmp dword [esi + 0x958], 0
je 0x48048d
push esi
mov ecx, 0x75e360
call fcn.004388d0
mov dword [ebp - 4], 0xe
jmp 0x4804d9
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00421350
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x4804d9
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f250
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x48050c
mov edx, dword [edi + 0x4f8]
push edx
push 0x1468
jmp 0x480518
mov eax, dword [edi + 0x4f8]
push eax
push 0x1431
push 0x111
call fcn.0042ed90
mov byte [ebp - 4], 0xd
lea ecx, [ebp]
call fcn.0054bc50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402570
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x480572
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x480568
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 [0x75e2ab], cl
jmp 0x480088
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x4805ab
cmp dword [ebp + 0xf288], ebx
je 0x4805ab
mov eax, dword [ebp + 0xf280]
cmp eax, ebx
jne 0x4805a8
lea eax, [ebp + 0xf284]
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x36], 0
je 0x4805ba
cmp byte [ebp + 0xf8b0], 0
je 0x4805c9
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x48072d
push 0x58c
call fcn.005f43f8
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x4805ff
push ebx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x81c
push edx
mov ecx, eax
call fcn.0043e0e0
mov edi, eax
jmp 0x480601
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x480ea9
mov al, byte [ebp + 0xf8bc]
mov byte [edi + 0xb9], al
mov ecx, dword [ebp - 0x20]
push ecx
push 0x678ea8
lea edx, [edi + 0xbc]
push edx
call fcn.00402f70
mov eax, dword [ebp - 0x2c]
push eax
push 0x678ea8
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f70
add esp, 0x18
mov edx, dword [esi + 0x4f8]
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.004113e0
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.005b7660
push 5
mov ecx, edi
call fcn.005f52ac
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x480ea9
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x480712
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 0x480712
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 0x480ea9
mov dword [ebp + 0xf274], ebx
mov dword [ebp + 0xf27c], ebx
xor edx, edx
mov word [ebp + 0xf278], dx
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x18]
add edi, 0x81c
push 1
lea eax, [ebp + 0xf274]
push eax
push edi
mov ecx, esi
call fcn.005c1000
mov dword [ebp + 0xf268], ebx
mov dword [ebp + 0xf270], ebx
xor ecx, ecx
mov word [ebp + 0xf26c], cx
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x28], ebx
je 0x480798
mov eax, dword [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480784
sub eax, edx
sar eax, 1
jne 0x480798
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x480a32
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4807a6
sub eax, edx
sar eax, 1
jne 0x4807bf
mov dword [ebp - 0x24], ebx
jmp 0x480a32
push 0x2e
mov edx, dword [ebp - 0x24]
push edx
call fcn.0061fc83
add esp, 8
cmp eax, ebx
je 0x480a32
mov dword [ebp + 0xf250], ebx
mov dword [ebp + 0xf258], ebx
xor ecx, ecx
mov word [ebp + 0xf254], cx
mov byte [ebp - 4], 0x1a
push ebx
add eax, 2
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00402a70
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0xf88c]
push eax
lea ecx, [ebp + 0xf250]
push ecx
mov edx, dword [esi + 0x20]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, edi
call fcn.004c5250
test al, al
je 0x480a17
mov ecx, dword [ebp + 0xf88c]
mov dword [esi + 0x334], ecx
mov edx, dword [ebp + 0xf250]
cmp edx, ebx
mov eax, edx
jne 0x480846
lea eax, [ebp + 0xf254]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480850
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x48086b
lea ecx, [ebp + 0xf254]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x679980
jne 0x48087d
mov ecx, 0x679c78
cmp edx, ebx
mov eax, edx
jne 0x480889
lea eax, [ebp + 0xf254]
push ebx
mov edx, dword [ebp - 0x24]
push edx
push ecx
push eax
push 0x67d030
lea ecx, [ebp + 0xf274]
call fcn.00411ad0
mov edx, dword [ebp + 0xf274]
cmp edx, ebx
mov eax, edx
jne 0x4808b2
lea eax, [ebp + 0xf278]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4808b5
sub eax, edi
sar eax, 1
cmp eax, 0x103
jb 0x480a17
cmp edx, ebx
mov eax, edx
jne 0x4808db
lea eax, [ebp + 0xf278]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4808e0
sub eax, edx
sar eax, 1
add eax, 2
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f4427
add esp, 4
mov edi, eax
cmp edi, ebx
jne 0x48097b
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf250]
call fcn.00401210
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xf268]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xf274]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov eax, 0x753b
jmp 0x4800b4
mov ecx, dword [ebp + 0xf274]
cmp ecx, ebx
jne 0x48098b
lea ecx, [ebp + 0xf278]
mov edx, edi
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x480990
push 0x2e
push edi
call fcn.0061fc83
add esp, 8
mov dword [ebp - 0x48], eax
xor ecx, ecx
cmp eax, ebx
je 0x4809db
mov ecx, eax
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4809c0
sub ecx, ebx
sar ecx, 1
cmp ecx, 7
jbe 0x4809db
xor eax, eax
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov edx, 0x102
sub edx, ecx
xor ecx, ecx
mov word [edi + edx*2], cx
push ecx
lea ecx, [ebp + 0xf274]
test eax, eax
je 0x480a01
push eax
push edi
push 0x678de0
call fcn.00402320
jmp 0x480a0c
push edi
push 0x678ea8
call fcn.004021b0
push edi
call fcn.005f4432
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402570
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf250]
call fcn.00401210
cmp dword [ebp - 0x28], ebx
jne 0x480a82
cmp dword [ebp - 0x24], ebx
jne 0x480a82
cmp dword [esi + 0xf4], ebx
je 0x480a4c
mov eax, dword [esi + 0xf4]
jmp 0x480a52
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0xf274]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x234]
call fcn.0049d230
mov ecx, dword [ebp + 0xf274]
push ecx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
jmp 0x480c90
mov eax, dword [ebp + 0xf274]
cmp eax, ebx
jne 0x480a92
lea eax, [ebp + 0xf278]
push 0x100
lea edx, [ebp + 0xf28c]
push edx
push 0x100
lea ecx, [ebp + 0xf68c]
push ecx
push 0x100
lea edx, [ebp + 0xf48c]
push edx
push 3
lea ecx, [ebp + 0xf88c]
push ecx
push eax
call fcn.00623107
add esp, 0x24
mov ebx, eax
xor eax, eax
mov dword [ebp + 0xf244], eax
mov dword [ebp + 0xf24c], eax
xor edx, edx
mov word [ebp + 0xf248], dx
mov byte [ebp - 4], 0x1c
mov edi, dword [ebp - 0x24]
cmp edi, eax
je 0x480b11
push edi
lea ecx, [ebp + 0xf244]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], 0
je 0x480b39
mov byte [esi + 0x1b3], 1
mov byte [esi + 0x365], 1
jmp 0x480b39
cmp ebx, eax
jne 0x480b39
lea eax, [ebp + 0xf68c]
push eax
lea ecx, [ebp + 0xf244]
call fcn.004017f0
lea ecx, [ebp + 0xf28c]
push ecx
lea ecx, [ebp + 0xf244]
call fcn.00405340
xor ecx, ecx
mov dword [ebp + 0xf25c], ecx
mov dword [ebp + 0xf264], ecx
xor edx, edx
mov word [ebp + 0xf260], dx
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x28]
cmp eax, ecx
je 0x480b84
push eax
lea ecx, [ebp + 0xf25c]
call fcn.004017f0
cmp dword [ebp + 0xf8a0], 0
je 0x480bac
mov byte [esi + 0x364], 1
test edi, edi
je 0x480bac
mov byte [esi + 0x1b2], 1
jmp 0x480bac
cmp ebx, ecx
jne 0x480bac
lea eax, [ebp + 0xf88c]
push eax
lea ecx, [ebp + 0xf25c]
call fcn.004017f0
lea ecx, [ebp + 0xf48c]
push ecx
lea ecx, [ebp + 0xf25c]
call fcn.00405340
mov edx, dword [ebp + 0xf25c]
test edx, edx
mov eax, edx
jne 0x480bbe
lea eax, [ebp + 0xf260]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480bc1
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x480bdc
lea ecx, [ebp + 0xf260]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x480bfa
push 0x679980
lea ecx, [ebp + 0xf25c]
call fcn.00405340
mov edx, dword [ebp + 0xf25c]
push edx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
mov eax, dword [ebp + 0xf244]
test eax, eax
jne 0x480c16
lea eax, [ebp + 0xf248]
push eax
lea ecx, [ebp + 0xf268]
call fcn.00405340
test ebx, ebx
je 0x480c38
mov edx, dword [ebp + 0xf274]
push edx
lea ecx, [ebp + 0xf268]
call fcn.004017f0
test byte [esi + 0x17c], 0x5c
je 0x480c72
cmp dword [esi + 0xf4], 0
je 0x480c52
mov eax, dword [esi + 0xf4]
jmp 0x480c58
lea eax, [esi + 0xf8]
push eax
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xf268]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0049d230
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 0xf25c]
call fcn.00401210
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf244]
call fcn.00401210
mov ebx, dword [ebp - 0x34]
add ebx, 0x85b
cmp byte [ebp + 0xf8b0], 0
je 0x480cc4
mov byte [esi + 0x1b3], 1
mov byte [esi + 0x1b2], 1
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005cf930
jmp 0x480dae
push 0
lea eax, [ebp + 0xf268]
push eax
push esi
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x234]
call fcn.0049d720
cmp eax, 2
jne 0x480d85
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x480cfd
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00518c60
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [edi + 0x234]
call fcn.0045ef40
test eax, eax
jl 0x480d1f
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043cac0
mov ecx, esi
cmp dword [esi + 0x958], 0
je 0x480d5d
call fcn.005bde50
push esi
mov ecx, 0x75e360
call fcn.004388d0
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xf268]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xf274]
call fcn.00401210
jmp 0x480088
call fcn.005bde50
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00421350
mov dword [ebp - 4], 0x19
jmp 0x480d3a
cmp dword [ebp - 0x28], 0
je 0x480da1
mov byte [esi + 0x1b2], 1
mov eax, dword [esi + 0x4f8]
push eax
lea ecx, [esi + 0x20]
call fcn.005cf930
cmp dword [ebp - 0x24], 0
jne 0x480dae
mov byte [esi + 0x366], 1
mov eax, dword [ebp + 0xf268]
test eax, eax
jne 0x480dbe
lea eax, [ebp + 0xf26c]
push eax
mov ecx, esi
call fcn.005bdd50
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c96b0
cmp dword [esi + 0x504], 0
jg 0x480df8
jl 0x480def
cmp dword [esi + 0x500], 0
ja 0x480df8
cmp byte [esi + 0x363], 0
je 0x480e20
cmp dword [ebp - 0x24], 0
jne 0x480e20
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x480e0b
cmp eax, 2
jne 0x480e20
mov ecx, dword [esi + 0x4f8]
push ecx
push ebx
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042ed90
mov ecx, esi
cmp byte [0x75e2aa], 0
je 0x480e32
call fcn.005b7490
jmp 0x480e37
call fcn.005c0b20
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x480e4c
push eax
mov ecx, ebx
call fcn.00456eb0
mov dword [ebp - 0x84], 1
mov edx, dword [esi + 0x4f8]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebx + 0x1fc]
lea ecx, [ebp - 0x84]
push ecx
push 0xffffffffffffffff
push 0x100d
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x480e8b
push 1
push eax
mov ecx, edi
call fcn.00454930
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 0xf268]
call fcn.00401210
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xf274]
call fcn.00401210
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x4800af