Function at 0x47f1e0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf898]
mov eax, 0xf898
call fcn.00621970
push 0xffffffffffffffff
push 0x64c8c2
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 0x47fbbf
push esi
call fcn.004b3490
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 0x47f286
push edi
lea ecx, [ebp + 0xf280]
call fcn.00401800
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b6ff0
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.004564c0
mov byte [ebp - 0x36], al
test al, al
jne 0x47f2af
mov byte [esi + 0x36c], al
jmp 0x47f2b8
cmp byte [ebp + 0xf8b0], 0
je 0x47f2ce
cmp dword [ebx + 0x358], 0
jg 0x47f2ce
cmp byte [0x75e2aa], 0
je 0x47f2d5
test al, al
jne 0x47f2d5
mov byte [esi + 0x376], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47f325
cmp byte [ebx + 0x17d4], 0
jne 0x47f325
push eax
mov ecx, dword [ebx + 0x234]
call fcn.0045e8a0
test eax, eax
jl 0x47f325
push eax
mov ecx, dword [ebx + 0x234]
call fcn.004265e0
mov eax, dword [eax]
test eax, eax
je 0x47f325
cmp dword [eax + 0x50c], 0
jg 0x47f325
jl 0x47f31e
cmp dword [eax + 0x508], 0
ja 0x47f325
mov byte [esi + 0x376], 0
mov dword [ebp - 0x34], 0xc80
mov ecx, 0x75e2a4
call fcn.00545540
mov cl, byte [0x75e2ab]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47f34f
mov byte [0x75e2ab], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004bb790
add esp, 4
test eax, eax
je 0x47f38c
mov byte [ebp - 0x38], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47f380
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f370
sub eax, edx
je 0x47f380
mov byte [ebp - 0x38], cl
jmp 0x47f38c
lea eax, [esi + 0x20]
push eax
call fcn.004bba60
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00402510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402510
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x20]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.005924c0
mov ecx, dword [edi]
push ecx
push 0x678ea8
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f80
add esp, 0xc
push 1
mov ecx, esi
call fcn.005c7940
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47f3e9
mov eax, dword [esi + 0x4f8]
push eax
push 1
call fcn.00518e00
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47f423
cmp byte [eax + 0x4a], 0
je 0x47f40a
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 0x47f423
mov edx, dword [esi + 0x4f8]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0xf8c0]
test cl, 8
jne 0x47f43a
test ecx, 0x8000000
je 0x47f5d5
cmp dword [esi + 0x354], 0
jne 0x47f5d5
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47f458
cmp eax, 2
jne 0x47f63a
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f463
sub eax, edi
je 0x47f4de
test dword [ebp + 0xf8c0], 0x1000000
jne 0x47f4de
push 0x5c
push edx
call fcn.006229e0
add esp, 8
test eax, eax
je 0x47f48c
inc eax
jmp 0x47f492
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.00621d5e
add esp, 8
test eax, eax
jne 0x47f4de
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47f4ba
push 0x2e
push eax
call fcn.00621820
add esp, 8
test eax, eax
jne 0x47f4de
mov byte [ebp - 0x37], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47f515
lea edx, [eax + 1]
jmp 0x47f4d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f4d0
sub eax, edx
je 0x47f515
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.0047e300
test eax, eax
jne 0x47f622
mov cl, byte [ebp - 0x11]
mov byte [0x75e2ab], cl
jmp 0x47f5a7
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.0045e8a0
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005bdf80
mov dword [ebp - 4], 3
jmp 0x47f564
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47f579
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.00518e50
test edi, edi
jl 0x47f58c
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043c2c0
mov byte [esi + 0xae8], 1
push esi
mov ecx, 0x75e360
call fcn.004380e0
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
xor eax, eax
jmp 0x47fbc4
test ecx, 0x800
je 0x47f63a
cmp dword [0x75e2dc], 0
je 0x47f63a
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47f5f3
cmp eax, 2
jne 0x47f63a
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.0047e300
test eax, eax
jne 0x47f622
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
jmp 0x47f5a7
mov byte [esi + 0xaec], 0
mov byte [esi + 0x360], 0
mov ecx, dword [ebp + 0xf8c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47f6ca
mov bl, 1
mov byte [ebp - 0x35], bl
push 0x3f
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00621820
add esp, 8
test eax, eax
jne 0x47f696
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 0x47f683
xor bl, bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x7920]
call fcn.0054bc50
test bl, bl
je 0x47f6c4
mov byte [esi + 0xaec], 1
push 1
push 1
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047e300
test eax, eax
je 0x47f507
mov byte [esi + 0xaec], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0xf8c0]
test ecx, 0x100
je 0x47f6f6
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47f76f
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47f75f
test cl, 4
je 0x47f76f
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x47f76f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f707
sub eax, edi
sar eax, 1
je 0x47f76f
push 0x2e
push edx
call fcn.0061fd52
add esp, 8
test eax, eax
je 0x47f76f
push 8
push 0x6856f4
push eax
call fcn.00624cad
add esp, 0xc
test eax, eax
je 0x47f76f
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47f76f
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 0x480090
push eax
mov eax, edx
mov ecx, dword [eax + 0x234]
call fcn.0045e8a0
mov dword [ebp + 0xf88c], eax
test eax, eax
jl 0x480090
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.004265e0
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
test edi, edi
je 0x480090
cmp byte [ebp - 0x19], 0
jne 0x47f7df
mov byte [esi + 0xaec], 1
push 0
push 0
lea ecx, [ebp + 0xf280]
push ecx
push esi
mov ecx, ebx
call fcn.0047e300
mov byte [esi + 0xaec], 0
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
mov edx, eax
or edx, ecx
je 0x480090
cmp eax, dword [esi + 0x158]
jne 0x480090
cmp ecx, dword [esi + 0x15c]
jne 0x480090
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.00433db0
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.004341e0
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.004341e0
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x47fb1b
cmp dword [edi + 0x50c], 0
jg 0x47fb1b
jl 0x47f89f
cmp dword [edi + 0x508], 0
ja 0x47fb1b
cmp dword [edi + 0x34c], 0
je 0x47f8b5
cmp dword [edi + 0x340], 0
jne 0x47fb1b
cmp dword [edi + 0x5c], 0
je 0x47f8d1
cmp dword [edi + 0x54], 0
je 0x47f8c6
mov eax, dword [edi + 0x54]
jmp 0x47f8c9
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005bde80
cmp dword [edi + 0x60], 0
je 0x47f8e2
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005b69e0
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 0x47f912
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 0x47f96e
cmp dword [esi + 0x4fc], 1
je 0x47f96e
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00518e50
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [esi + 0x4fc]
push ecx
mov ecx, dword [0x75e260]
call fcn.00518e00
push 0
push 0
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005d2110
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005bdf80
mov dword [ebp - 4], 7
jmp 0x47f9af
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 0x47f9fa
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015c0
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47fa12
push 0
mov eax, dword [edi + 0x4f8]
push eax
call fcn.00518e50
mov ecx, dword [ebp + 0xf88c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043c2c0
cmp dword [edi + 0x958], 0
je 0x47fa41
push edi
mov ecx, 0x75e360
call fcn.004380e0
mov dword [ebp - 4], 3
jmp 0x47fa8d
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.00420cb0
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x47fa8d
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c9620
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b6ff0
mov ecx, esi
call fcn.005c0c50
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x47fac3
push eax
mov ecx, ebx
call fcn.00456740
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 0x47fafc
push 1
push eax
mov ecx, edi
call fcn.00454110
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f250
jmp 0x48004a
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47fb43
mov eax, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fb30
sub eax, ebx
je 0x47fb43
push edx
mov ecx, edi
call fcn.005b7780
lea ecx, [ebp - 0x28]
call fcn.00402510
mov bl, 0xd
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x20]
call fcn.005924c0
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 0x47fbeb
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.0054bc50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402580
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.0062023e
add ebp, 0xf898
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp]
call fcn.0054cb50
test eax, eax
jne 0x47fb81
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005b7120
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.00453150
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x47fc81
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fc22
sub eax, edx
je 0x47fc51
mov ecx, dword [esi + 0x1b8]
push ecx
push 0x678ea8
lea edx, [edi + 0x1b8]
push edx
call fcn.00402f80
add esp, 0xc
mov byte [edi + 0x1b4], 1
jmp 0x47fc81
cmp byte [esi + 0x1b4], 0
je 0x47fc81
cmp byte [esi + 0x367], 0
je 0x47fc81
push 0x67997c
lea ecx, [edi + 0x1b8]
call fcn.0054f250
mov byte [edi + 0x1b4], 1
mov byte [edi + 0x367], 1
push 0
call fcn.006239e1
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.00466390
add esp, 0x38
mov eax, dword [esi + 0x3c0]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47fd00
sub eax, ecx
je 0x47fd26
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
lea edx, [edi + 0x3c0]
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [edi + 0x4f8]
push eax
lea ecx, [edi + 0x20]
call fcn.005cff30
cmp dword [edi + 0x34c], 0
je 0x47ff0d
cmp dword [edi + 0x340], 0
je 0x47ff0d
lea ecx, [ebp + 0x7920]
call fcn.0054bc10
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402510
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x34c]
cmp eax, 4
jne 0x47fd91
mov eax, dword [esi + 0x33c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x67e82c
push eax
call fcn.0046f000
add esp, 0x10
jmp 0x47fdc3
cmp eax, 8
jne 0x47fdc3
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fda0
sub eax, edx
je 0x47fdc3
mov edx, dword [esi + 0xf0]
push edx
push 0x678ea8
lea eax, [ebp - 0x30]
push eax
call fcn.00402f80
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 0x47fef2
push 1
mov eax, dword [edi + 0x340]
push eax
lea ecx, [ebp + 0x7920]
call fcn.0054cb50
test eax, eax
jne 0x47fef2
mov edx, dword [esi + 0x38]
test edx, edx
je 0x47fe27
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fe10
sub eax, ebx
je 0x47fe27
push edx
mov ecx, dword [edi + 0x340]
call fcn.005b7780
mov eax, dword [esi + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fe30
sub eax, edx
je 0x47fe5c
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
mov edx, dword [edi + 0x340]
add edx, 0x3c0
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [esi + 0x3b4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fe65
sub eax, edx
je 0x47fe91
mov eax, dword [esi + 0x3b4]
push eax
push 0x678ea8
mov ecx, dword [edi + 0x340]
add ecx, 0x3b4
push ecx
call fcn.00402f80
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 0x47fea0
sub eax, edx
je 0x47fecb
mov edx, dword [esi + 0x3b8]
push edx
push 0x678ea8
mov eax, dword [edi + 0x340]
add eax, 0x3b8
push eax
call fcn.00402f80
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x340]
add ecx, 0x20
call fcn.00453150
mov eax, dword [edi + 0x340]
mov edx, dword [eax + 0x4f8]
push edx
lea ecx, [eax + 0x20]
call fcn.005cff30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402580
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.0045e8a0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005bdf80
mov dword [ebp - 4], 0x11
jmp 0x47ff56
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47ff6b
push 0
mov eax, dword [ebp - 0x50]
push eax
call fcn.00518e50
cmp dword [ebp - 0x44], 0
jl 0x47ff80
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043c2c0
cmp dword [esi + 0x958], 0
je 0x47ff9d
push esi
mov ecx, 0x75e360
call fcn.004380e0
mov dword [ebp - 4], 0xe
jmp 0x47ffe9
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.00420cb0
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x47ffe9
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f250
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x48001c
mov edx, dword [edi + 0x4f8]
push edx
push 0x1468
jmp 0x480028
mov eax, dword [edi + 0x4f8]
push eax
push 0x1431
push 0x111
call fcn.0042e350
mov byte [ebp - 4], 0xd
lea ecx, [ebp]
call fcn.0054bc50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402580
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x480082
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x480078
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 0x47fb98
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x4800bb
cmp dword [ebp + 0xf288], ebx
je 0x4800bb
mov eax, dword [ebp + 0xf280]
cmp eax, ebx
jne 0x4800b8
lea eax, [ebp + 0xf284]
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x36], 0
je 0x4800ca
cmp byte [ebp + 0xf8b0], 0
je 0x4800d9
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x48023d
push 0x58c
call fcn.005f44e8
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x48010f
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.0043d870
mov edi, eax
jmp 0x480111
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x4809b9
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.00402f80
mov eax, dword [ebp - 0x2c]
push eax
push 0x678ea8
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f80
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.004110b0
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.005b7770
push 5
mov ecx, edi
call fcn.005f537a
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x4809b9
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x480222
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 0x480222
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 0x4809b9
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.005c1130
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 0x4802a8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480294
sub eax, edx
sar eax, 1
jne 0x4802a8
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x480542
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4802b6
sub eax, edx
sar eax, 1
jne 0x4802cf
mov dword [ebp - 0x24], ebx
jmp 0x480542
push 0x2e
mov edx, dword [ebp - 0x24]
push edx
call fcn.0061fd52
add esp, 8
cmp eax, ebx
je 0x480542
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.00402a80
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.004c5200
test al, al
je 0x480527
mov ecx, dword [ebp + 0xf88c]
mov dword [esi + 0x334], ecx
mov edx, dword [ebp + 0xf250]
cmp edx, ebx
mov eax, edx
jne 0x480356
lea eax, [ebp + 0xf254]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480360
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x48037b
lea ecx, [ebp + 0xf254]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x679980
jne 0x48038d
mov ecx, 0x679c78
cmp edx, ebx
mov eax, edx
jne 0x480399
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.00411610
mov edx, dword [ebp + 0xf274]
cmp edx, ebx
mov eax, edx
jne 0x4803c2
lea eax, [ebp + 0xf278]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4803c5
sub eax, edi
sar eax, 1
cmp eax, 0x103
jb 0x480527
cmp edx, ebx
mov eax, edx
jne 0x4803eb
lea eax, [ebp + 0xf278]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4803f0
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.005f4522
add esp, 4
mov edi, eax
cmp edi, ebx
jne 0x48048b
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402580
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.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov eax, 0x753b
jmp 0x47fbc4
mov ecx, dword [ebp + 0xf274]
cmp ecx, ebx
jne 0x48049b
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 0x4804a0
push 0x2e
push edi
call fcn.0061fd52
add esp, 8
mov dword [ebp - 0x48], eax
xor ecx, ecx
cmp eax, ebx
je 0x4804eb
mov ecx, eax
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4804d0
sub ecx, ebx
sar ecx, 1
cmp ecx, 7
jbe 0x4804eb
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 0x480511
push eax
push edi
push 0x678de0
call fcn.00402330
jmp 0x48051c
push edi
push 0x678ea8
call fcn.004021c0
push edi
call fcn.005f4517
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402580
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf250]
call fcn.00401210
cmp dword [ebp - 0x28], ebx
jne 0x480592
cmp dword [ebp - 0x24], ebx
jne 0x480592
cmp dword [esi + 0xf4], ebx
je 0x48055c
mov eax, dword [esi + 0xf4]
jmp 0x480562
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.0049cce0
mov ecx, dword [ebp + 0xf274]
push ecx
lea ecx, [ebp + 0xf268]
call fcn.00401800
jmp 0x4807a0
mov eax, dword [ebp + 0xf274]
cmp eax, ebx
jne 0x4805a2
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.006231d7
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 0x480621
push edi
lea ecx, [ebp + 0xf244]
call fcn.00401800
cmp dword [ebp + 0xf8a0], 0
je 0x480649
mov byte [esi + 0x1b3], 1
mov byte [esi + 0x365], 1
jmp 0x480649
cmp ebx, eax
jne 0x480649
lea eax, [ebp + 0xf68c]
push eax
lea ecx, [ebp + 0xf244]
call fcn.00401800
lea ecx, [ebp + 0xf28c]
push ecx
lea ecx, [ebp + 0xf244]
call fcn.00405330
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 0x480694
push eax
lea ecx, [ebp + 0xf25c]
call fcn.00401800
cmp dword [ebp + 0xf8a0], 0
je 0x4806bc
mov byte [esi + 0x364], 1
test edi, edi
je 0x4806bc
mov byte [esi + 0x1b2], 1
jmp 0x4806bc
cmp ebx, ecx
jne 0x4806bc
lea eax, [ebp + 0xf88c]
push eax
lea ecx, [ebp + 0xf25c]
call fcn.00401800
lea ecx, [ebp + 0xf48c]
push ecx
lea ecx, [ebp + 0xf25c]
call fcn.00405330
mov edx, dword [ebp + 0xf25c]
test edx, edx
mov eax, edx
jne 0x4806ce
lea eax, [ebp + 0xf260]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4806d1
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4806ec
lea ecx, [ebp + 0xf260]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x48070a
push 0x679980
lea ecx, [ebp + 0xf25c]
call fcn.00405330
mov edx, dword [ebp + 0xf25c]
push edx
lea ecx, [ebp + 0xf268]
call fcn.00401800
mov eax, dword [ebp + 0xf244]
test eax, eax
jne 0x480726
lea eax, [ebp + 0xf248]
push eax
lea ecx, [ebp + 0xf268]
call fcn.00405330
test ebx, ebx
je 0x480748
mov edx, dword [ebp + 0xf274]
push edx
lea ecx, [ebp + 0xf268]
call fcn.00401800
test byte [esi + 0x17c], 0x5c
je 0x480782
cmp dword [esi + 0xf4], 0
je 0x480762
mov eax, dword [esi + 0xf4]
jmp 0x480768
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.0049cce0
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 0x4807d4
mov byte [esi + 0x1b3], 1
mov byte [esi + 0x1b2], 1
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005cfa40
jmp 0x4808be
push 0
lea eax, [ebp + 0xf268]
push eax
push esi
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x234]
call fcn.0049d1d0
cmp eax, 2
jne 0x480895
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x48080d
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00518e50
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [edi + 0x234]
call fcn.0045e8a0
test eax, eax
jl 0x48082f
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043c2c0
mov ecx, esi
cmp dword [esi + 0x958], 0
je 0x48086d
call fcn.005bdf80
push esi
mov ecx, 0x75e360
call fcn.004380e0
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 0x47fb98
call fcn.005bdf80
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.00420cb0
mov dword [ebp - 4], 0x19
jmp 0x48084a
cmp dword [ebp - 0x28], 0
je 0x4808b1
mov byte [esi + 0x1b2], 1
mov eax, dword [esi + 0x4f8]
push eax
lea ecx, [esi + 0x20]
call fcn.005cfa40
cmp dword [ebp - 0x24], 0
jne 0x4808be
mov byte [esi + 0x366], 1
mov eax, dword [ebp + 0xf268]
test eax, eax
jne 0x4808ce
lea eax, [ebp + 0xf26c]
push eax
mov ecx, esi
call fcn.005bde80
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c9620
cmp dword [esi + 0x504], 0
jg 0x480908
jl 0x4808ff
cmp dword [esi + 0x500], 0
ja 0x480908
cmp byte [esi + 0x363], 0
je 0x480930
cmp dword [ebp - 0x24], 0
jne 0x480930
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x48091b
cmp eax, 2
jne 0x480930
mov ecx, dword [esi + 0x4f8]
push ecx
push ebx
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042e350
mov ecx, esi
cmp byte [0x75e2aa], 0
je 0x480942
call fcn.005b75a0
jmp 0x480947
call fcn.005c0c50
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x48095c
push eax
mov ecx, ebx
call fcn.00456740
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 0x48099b
push 1
push eax
mov ecx, edi
call fcn.00454110
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.00402580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402580
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x47fbbf