Function at 0x47f8b0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf898]
mov eax, 0xf898
call fcn.006222c0
push 0xffffffffffffffff
push 0x64d262
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 0x48028f
push esi
call fcn.004b3c50
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 0x47f956
push edi
lea ecx, [ebp + 0xf280]
call fcn.004017e0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b74c0
mov eax, dword [ebx + 0x198]
mov dword [esi], eax
mov ecx, ebx
call fcn.004569d0
mov byte [ebp - 0x36], al
test al, al
jne 0x47f97f
mov byte [esi + 0x36c], al
jmp 0x47f988
cmp byte [ebp + 0xf8b0], 0
je 0x47f99e
cmp dword [ebx + 0x358], 0
jg 0x47f99e
cmp byte [0x75e2aa], 0
je 0x47f9a5
test al, al
jne 0x47f9a5
mov byte [esi + 0x376], 1
mov eax, dword [ebx + 0x358]
test eax, eax
jle 0x47f9f5
cmp byte [ebx + 0x17d4], 0
jne 0x47f9f5
push eax
mov ecx, dword [ebx + 0x234]
call fcn.0045eed0
test eax, eax
jl 0x47f9f5
push eax
mov ecx, dword [ebx + 0x234]
call fcn.004cf7d0
mov eax, dword [eax]
test eax, eax
je 0x47f9f5
cmp dword [eax + 0x50c], 0
jg 0x47f9f5
jl 0x47f9ee
cmp dword [eax + 0x508], 0
ja 0x47f9f5
mov byte [esi + 0x376], 0
mov dword [ebp - 0x34], 0xc80
mov ecx, 0x75e2a4
call fcn.005457b0
mov cl, byte [0x75e2ab]
mov byte [ebp - 0x11], cl
cmp dword [ebx + 0x358], 0
jle 0x47fa1f
mov byte [0x75e2ab], 0
mov edx, dword [esi + 0x20]
push edx
call fcn.004bbec0
add esp, 4
test eax, eax
je 0x47fa5c
mov byte [ebp - 0x38], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47fa50
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fa40
sub eax, edx
je 0x47fa50
mov byte [ebp - 0x38], cl
jmp 0x47fa5c
lea eax, [esi + 0x20]
push eax
call fcn.004bc190
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.004024f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004024f0
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x20]
push eax
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.005928c0
mov ecx, dword [edi]
push ecx
push 0x678ea8
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f60
add esp, 0xc
push 1
mov ecx, esi
call fcn.005c7e50
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47fab9
mov eax, dword [esi + 0x4f8]
push eax
push 1
call fcn.00519120
mov byte [ebp - 0x19], 0
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x47faf3
cmp byte [eax + 0x4a], 0
je 0x47fada
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 0x47faf3
mov edx, dword [esi + 0x4f8]
mov dword [ebx + 0x1174], edx
mov byte [eax + 0x4c], 0
mov ecx, dword [ebp + 0xf8c0]
test cl, 8
jne 0x47fb0a
test ecx, 0x8000000
je 0x47fca5
cmp dword [esi + 0x354], 0
jne 0x47fca5
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47fb28
cmp eax, 2
jne 0x47fd0a
mov edx, dword [esi + 0x148]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fb33
sub eax, edi
je 0x47fbae
test dword [ebp + 0xf8c0], 0x1000000
jne 0x47fbae
push 0x5c
push edx
call fcn.00623330
add esp, 8
test eax, eax
je 0x47fb5c
inc eax
jmp 0x47fb62
mov eax, dword [esi + 0x148]
push str.firefox.exe
push eax
call fcn.006226ae
add esp, 8
test eax, eax
jne 0x47fbae
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47fb8a
push 0x2e
push eax
call fcn.00622170
add esp, 8
test eax, eax
jne 0x47fbae
mov byte [ebp - 0x37], 1
mov eax, dword [esi + 0x134]
test eax, eax
je 0x47fbe5
lea edx, [eax + 1]
jmp 0x47fba0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fba0
sub eax, edx
je 0x47fbe5
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.0047e9d0
test eax, eax
jne 0x47fcf2
mov cl, byte [ebp - 0x11]
mov byte [0x75e2ab], cl
jmp 0x47fc77
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.0045eed0
mov edi, eax
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.005be430
mov dword [ebp - 4], 3
jmp 0x47fc34
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x47fc49
push 0
mov eax, dword [ebp - 0x54]
push eax
call fcn.00519170
test edi, edi
jl 0x47fc5c
push edi
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x234]
call fcn.0043c850
mov byte [esi + 0xae8], 1
push esi
mov ecx, 0x75e360
call fcn.00438670
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
xor eax, eax
jmp 0x480294
test ecx, 0x800
je 0x47fd0a
cmp dword [0x75e2dc], 0
je 0x47fd0a
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x47fcc3
cmp eax, 2
jne 0x47fd0a
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.0047e9d0
test eax, eax
jne 0x47fcf2
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
jmp 0x47fc77
mov byte [esi + 0xaec], 0
mov byte [esi + 0x360], 0
mov ecx, dword [ebp + 0xf8c0]
mov byte [ebp - 0x19], 1
test cl, 0x20
je 0x47fd9a
mov bl, 1
mov byte [ebp - 0x35], bl
push 0x3f
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00622170
add esp, 8
test eax, eax
jne 0x47fd66
lea ecx, [ebp + 0x7920]
call fcn.0054c120
mov byte [ebp - 4], 6
push 0
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp + 0x7920]
call fcn.0054c8a0
test eax, eax
je 0x47fd53
xor bl, bl
mov byte [ebp - 0x35], bl
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x7920]
call fcn.0054c160
test bl, bl
je 0x47fd94
mov byte [esi + 0xaec], 1
push 1
push 1
lea eax, [ebp + 0xf280]
push eax
push esi
mov ecx, dword [ebp - 0x18]
call fcn.0047e9d0
test eax, eax
je 0x47fbd7
mov byte [esi + 0xaec], 0
mov byte [ebp - 0x19], 1
mov ecx, dword [ebp + 0xf8c0]
test ecx, 0x100
je 0x47fdc6
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47fe3f
mov dword [ebp - 0x30], 1
push 4
lea edx, [ebp - 0x30]
push edx
jmp 0x47fe2f
test cl, 4
je 0x47fe3f
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x47fe3f
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47fdd7
sub eax, edi
sar eax, 1
je 0x47fe3f
push 0x2e
push edx
call fcn.006206a1
add esp, 8
test eax, eax
je 0x47fe3f
push 8
push 0x68572c
push eax
call fcn.006255fd
add esp, 0xc
test eax, eax
je 0x47fe3f
mov byte [esi + 0x191], 1
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x47fe3f
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 0x480760
push eax
mov eax, edx
mov ecx, dword [eax + 0x234]
call fcn.0045eed0
mov dword [ebp + 0xf88c], eax
test eax, eax
jl 0x480760
push eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x234]
call fcn.004cf7d0
mov edi, dword [eax]
mov dword [ebp - 0x40], edi
test edi, edi
je 0x480760
cmp byte [ebp - 0x19], 0
jne 0x47feaf
mov byte [esi + 0xaec], 1
push 0
push 0
lea ecx, [ebp + 0xf280]
push ecx
push esi
mov ecx, ebx
call fcn.0047e9d0
mov byte [esi + 0xaec], 0
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
mov edx, eax
or edx, ecx
je 0x480760
cmp eax, dword [esi + 0x158]
jne 0x480760
cmp ecx, dword [esi + 0x15c]
jne 0x480760
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.004343a0
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.004347d0
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.004347d0
mov ebx, dword [ebp - 0x18]
cmp byte [ebx + 0x17d4], 0
jne 0x4801eb
cmp dword [edi + 0x50c], 0
jg 0x4801eb
jl 0x47ff6f
cmp dword [edi + 0x508], 0
ja 0x4801eb
cmp dword [edi + 0x34c], 0
je 0x47ff85
cmp dword [edi + 0x340], 0
jne 0x4801eb
cmp dword [edi + 0x5c], 0
je 0x47ffa1
cmp dword [edi + 0x54], 0
je 0x47ff96
mov eax, dword [edi + 0x54]
jmp 0x47ff99
lea eax, [edi + 0x58]
push eax
mov ecx, esi
call fcn.005be330
cmp dword [edi + 0x60], 0
je 0x47ffb2
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, esi
call fcn.005b6eb0
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 0x47ffe2
mov dl, byte [edi + 0x1b3]
mov byte [esi + 0x1b3], dl
mov al, byte [edi + 0x36c]
mov byte [esi + 0x36c], al
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x48003e
cmp dword [esi + 0x4fc], 1
je 0x48003e
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00519170
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [esi + 0x4fc]
push ecx
mov ecx, dword [0x75e260]
call fcn.00519120
push 0
push 0
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005d29e0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.005be430
mov dword [ebp - 4], 7
jmp 0x48007f
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 0x4800ca
push 0
push eax
push 0x1008
mov ecx, dword [ebx + 0x1fc]
call fcn.004015a0
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x4800e2
push 0
mov eax, dword [edi + 0x4f8]
push eax
call fcn.00519170
mov ecx, dword [ebp + 0xf88c]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043c850
cmp dword [edi + 0x958], 0
je 0x480111
push edi
mov ecx, 0x75e360
call fcn.00438670
mov dword [ebp - 4], 3
jmp 0x48015d
mov byte [ebp - 4], 0xa
push 1
mov ecx, edi
call fcn.004212d0
mov dword [ebp - 4], 7
mov dword [ebp - 4], 3
jmp 0x48015d
lea edi, [ebx + 0x5d0]
push 1
push 1
push esi
mov ecx, edi
call fcn.004c9dc0
mov edx, dword [ebx + 0x20]
push edx
mov ecx, esi
call fcn.005b74c0
mov ecx, esi
call fcn.005c1100
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x480193
push eax
mov ecx, ebx
call fcn.00456c40
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 0x4801cc
push 1
push eax
mov ecx, edi
call fcn.00454680
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f750
jmp 0x48071a
mov al, byte [ebp - 0x11]
mov byte [0x75e2ab], al
mov edx, dword [esi + 0x38]
test edx, edx
je 0x480213
mov eax, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480200
sub eax, ebx
je 0x480213
push edx
mov ecx, edi
call fcn.005b7c50
lea ecx, [ebp - 0x28]
call fcn.004024f0
mov bl, 0xd
mov byte [ebp - 4], bl
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x20]
call fcn.005928c0
lea ecx, [ebp]
call fcn.0054c120
mov byte [ebp - 4], 0xe
mov edx, dword [esi + 0x18c]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp]
call fcn.0054d9b0
test eax, eax
jne 0x4802bb
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.0054c160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402560
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402560
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.00620b8d
add ebp, 0xf898
mov esp, ebp
pop ebp
ret 0x24
push 1
push edi
lea ecx, [ebp]
call fcn.0054d060
test eax, eax
jne 0x480251
mov ecx, dword [esi + 0x30]
push ecx
mov edx, dword [esi + 0x2c]
push edx
mov ecx, edi
call fcn.005b75f0
mov eax, dword [esi + 0x3c]
push eax
lea ecx, [edi + 0x20]
call fcn.004536e0
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x480351
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4802f2
sub eax, edx
je 0x480321
mov ecx, dword [esi + 0x1b8]
push ecx
push 0x678ea8
lea edx, [edi + 0x1b8]
push edx
call fcn.00402f60
add esp, 0xc
mov byte [edi + 0x1b5], 1
jmp 0x480351
cmp byte [esi + 0x1b5], 0
je 0x480351
cmp byte [esi + 0x367], 0
je 0x480351
push 0x67997c
lea ecx, [edi + 0x1b8]
call fcn.0054f750
mov byte [edi + 0x1b5], 1
mov byte [edi + 0x367], 1
push 0
call fcn.00624331
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.00466960
add esp, 0x38
mov eax, dword [esi + 0x3c0]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4803d0
sub eax, ecx
je 0x4803f6
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
lea edx, [edi + 0x3c0]
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [edi + 0x4f8]
push eax
lea ecx, [edi + 0x20]
call fcn.005d0770
cmp dword [edi + 0x34c], 0
je 0x4805dd
cmp dword [edi + 0x340], 0
je 0x4805dd
lea ecx, [ebp + 0x7920]
call fcn.0054c120
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.004024f0
mov byte [ebp - 4], 0x10
mov eax, dword [edi + 0x34c]
cmp eax, 4
jne 0x480461
mov eax, dword [esi + 0x33c]
push 1
lea ecx, [ebp - 0x30]
push ecx
push 0x67e840
push eax
call fcn.0046f6c0
add esp, 0x10
jmp 0x480493
cmp eax, 8
jne 0x480493
mov eax, dword [esi + 0xf0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480470
sub eax, edx
je 0x480493
mov edx, dword [esi + 0xf0]
push edx
push 0x678ea8
lea eax, [ebp - 0x30]
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [esi + 0x18c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp + 0x7920]
call fcn.0054d9b0
test eax, eax
je 0x4805c2
push 1
mov eax, dword [edi + 0x340]
push eax
lea ecx, [ebp + 0x7920]
call fcn.0054d060
test eax, eax
jne 0x4805c2
mov edx, dword [esi + 0x38]
test edx, edx
je 0x4804f7
mov eax, edx
lea ebx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4804e0
sub eax, ebx
je 0x4804f7
push edx
mov ecx, dword [edi + 0x340]
call fcn.005b7c50
mov eax, dword [esi + 0x3c0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480500
sub eax, edx
je 0x48052c
mov ecx, dword [esi + 0x3c0]
push ecx
push 0x678ea8
mov edx, dword [edi + 0x340]
add edx, 0x3c0
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [esi + 0x3b4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480535
sub eax, edx
je 0x480561
mov eax, dword [esi + 0x3b4]
push eax
push 0x678ea8
mov ecx, dword [edi + 0x340]
add ecx, 0x3b4
push ecx
call fcn.00402f60
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 0x480570
sub eax, edx
je 0x48059b
mov edx, dword [esi + 0x3b8]
push edx
push 0x678ea8
mov eax, dword [edi + 0x340]
add eax, 0x3b8
push eax
call fcn.00402f60
add esp, 0xc
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, dword [edi + 0x340]
add ecx, 0x20
call fcn.004536e0
mov eax, dword [edi + 0x340]
mov edx, dword [eax + 0x4f8]
push edx
lea ecx, [eax + 0x20]
call fcn.005d0770
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x30]
call fcn.00402560
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 0x7920]
call fcn.0054c160
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.0045eed0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.005be430
mov dword [ebp - 4], 0x11
jmp 0x480626
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x48063b
push 0
mov eax, dword [ebp - 0x50]
push eax
call fcn.00519170
cmp dword [ebp - 0x44], 0
jl 0x480650
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebx + 0x234]
call fcn.0043c850
cmp dword [esi + 0x958], 0
je 0x48066d
push esi
mov ecx, 0x75e360
call fcn.00438670
mov dword [ebp - 4], 0xe
jmp 0x4806b9
mov byte [ebp - 4], 0x14
push 1
mov ecx, esi
call fcn.004212d0
mov dword [ebp - 4], 0x11
mov dword [ebp - 4], 0xe
jmp 0x4806b9
mov dword [ebx + 0x358], 0
push 0x67997c
lea ecx, [ebx + 0x35c]
call fcn.0054f750
mov ecx, ebx
cmp byte [ebx + 0x17d4], 0
je 0x4806ec
mov edx, dword [edi + 0x4f8]
push edx
push 0x1468
jmp 0x4806f8
mov eax, dword [edi + 0x4f8]
push eax
push 0x1431
push 0x111
call fcn.0042ec10
mov byte [ebp - 4], 0xd
lea ecx, [ebp]
call fcn.0054c160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402560
mov eax, dword [ebx + 0x17d0]
test eax, eax
je 0x480752
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x480748
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 0x480268
mov dl, byte [ebp - 0x11]
mov byte [0x75e2ab], dl
xor ebx, ebx
cmp dword [ebp - 0x24], ebx
je 0x48078b
cmp dword [ebp + 0xf288], ebx
je 0x48078b
mov eax, dword [ebp + 0xf280]
cmp eax, ebx
jne 0x480788
lea eax, [ebp + 0xf284]
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x36], 0
je 0x48079a
cmp byte [ebp + 0xf8b0], 0
je 0x4807a9
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x358], ebx
jle 0x48090d
push 0x58c
call fcn.005f4e18
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x17
cmp eax, ebx
je 0x4807df
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.0043de00
mov edi, eax
jmp 0x4807e1
xor edi, edi
mov byte [ebp - 4], 3
cmp edi, ebx
je 0x481089
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.00402f60
mov eax, dword [ebp - 0x2c]
push eax
push 0x678ea8
lea ecx, [edi + 0xc0]
push ecx
call fcn.00402f60
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.00411530
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.005b7c40
push 5
mov ecx, edi
call fcn.005f5caa
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x358], 0
jle 0x481089
mov esi, edx
cmp dword [esi + 0x17d0], 0
je 0x4808f2
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 0x4808f2
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 0x481089
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.005c15f0
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 0x480978
mov eax, dword [ebp - 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480964
sub eax, edx
sar eax, 1
jne 0x480978
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x480c12
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480986
sub eax, edx
sar eax, 1
jne 0x48099f
mov dword [ebp - 0x24], ebx
jmp 0x480c12
push 0x2e
mov edx, dword [ebp - 0x24]
push edx
call fcn.006206a1
add esp, 8
cmp eax, ebx
je 0x480c12
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.00402a60
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.004c5960
test al, al
je 0x480bf7
mov ecx, dword [ebp + 0xf88c]
mov dword [esi + 0x334], ecx
mov edx, dword [ebp + 0xf250]
cmp edx, ebx
mov eax, edx
jne 0x480a26
lea eax, [ebp + 0xf254]
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480a30
sub eax, edi
sar eax, 1
cmp edx, ebx
mov ecx, edx
jne 0x480a4b
lea ecx, [ebp + 0xf254]
cmp word [ecx + eax*2 - 2], 0x5c
mov ecx, 0x679980
jne 0x480a5d
mov ecx, 0x679c78
cmp edx, ebx
mov eax, edx
jne 0x480a69
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.00411c20
mov edx, dword [ebp + 0xf274]
cmp edx, ebx
mov eax, edx
jne 0x480a92
lea eax, [ebp + 0xf278]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480a95
sub eax, edi
sar eax, 1
cmp eax, 0x103
jb 0x480bf7
cmp edx, ebx
mov eax, edx
jne 0x480abb
lea eax, [ebp + 0xf278]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x480ac0
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.005f4e47
add esp, 4
mov edi, eax
cmp edi, ebx
jne 0x480b5b
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402560
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.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov eax, 0x753b
jmp 0x480294
mov ecx, dword [ebp + 0xf274]
cmp ecx, ebx
jne 0x480b6b
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 0x480b70
push 0x2e
push edi
call fcn.006206a1
add esp, 8
mov dword [ebp - 0x48], eax
xor ecx, ecx
cmp eax, ebx
je 0x480bbb
mov ecx, eax
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x480ba0
sub ecx, ebx
sar ecx, 1
cmp ecx, 7
jbe 0x480bbb
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 0x480be1
push eax
push edi
push 0x678de0
call fcn.00402310
jmp 0x480bec
push edi
push 0x678ea8
call fcn.004021a0
push edi
call fcn.005f4e52
add esp, 4
xor ebx, ebx
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x30]
call fcn.00402560
mov byte [ebp - 4], 0x19
lea ecx, [ebp + 0xf250]
call fcn.00401210
cmp dword [ebp - 0x28], ebx
jne 0x480c62
cmp dword [ebp - 0x24], ebx
jne 0x480c62
cmp dword [esi + 0xf4], ebx
je 0x480c2c
mov eax, dword [esi + 0xf4]
jmp 0x480c32
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.0049d5f0
mov ecx, dword [ebp + 0xf274]
push ecx
lea ecx, [ebp + 0xf268]
call fcn.004017e0
jmp 0x480e70
mov eax, dword [ebp + 0xf274]
cmp eax, ebx
jne 0x480c72
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.00623b27
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 0x480cf1
push edi
lea ecx, [ebp + 0xf244]
call fcn.004017e0
cmp dword [ebp + 0xf8a0], 0
je 0x480d19
mov byte [esi + 0x1b4], 1
mov byte [esi + 0x365], 1
jmp 0x480d19
cmp ebx, eax
jne 0x480d19
lea eax, [ebp + 0xf68c]
push eax
lea ecx, [ebp + 0xf244]
call fcn.004017e0
lea ecx, [ebp + 0xf28c]
push ecx
lea ecx, [ebp + 0xf244]
call fcn.00405310
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 0x480d64
push eax
lea ecx, [ebp + 0xf25c]
call fcn.004017e0
cmp dword [ebp + 0xf8a0], 0
je 0x480d8c
mov byte [esi + 0x364], 1
test edi, edi
je 0x480d8c
mov byte [esi + 0x1b3], 1
jmp 0x480d8c
cmp ebx, ecx
jne 0x480d8c
lea eax, [ebp + 0xf88c]
push eax
lea ecx, [ebp + 0xf25c]
call fcn.004017e0
lea ecx, [ebp + 0xf48c]
push ecx
lea ecx, [ebp + 0xf25c]
call fcn.00405310
mov edx, dword [ebp + 0xf25c]
test edx, edx
mov eax, edx
jne 0x480d9e
lea eax, [ebp + 0xf260]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480da1
sub eax, edi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x480dbc
lea ecx, [ebp + 0xf260]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x480dda
push 0x679980
lea ecx, [ebp + 0xf25c]
call fcn.00405310
mov edx, dword [ebp + 0xf25c]
push edx
lea ecx, [ebp + 0xf268]
call fcn.004017e0
mov eax, dword [ebp + 0xf244]
test eax, eax
jne 0x480df6
lea eax, [ebp + 0xf248]
push eax
lea ecx, [ebp + 0xf268]
call fcn.00405310
test ebx, ebx
je 0x480e18
mov edx, dword [ebp + 0xf274]
push edx
lea ecx, [ebp + 0xf268]
call fcn.004017e0
test byte [esi + 0x17c], 0x5c
je 0x480e52
cmp dword [esi + 0xf4], 0
je 0x480e32
mov eax, dword [esi + 0xf4]
jmp 0x480e38
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.0049d5f0
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 0x480ea4
mov byte [esi + 0x1b4], 1
mov byte [esi + 0x1b3], 1
mov edx, dword [esi + 0x4f8]
push edx
lea ecx, [esi + 0x20]
call fcn.005d0280
jmp 0x480f8e
push 0
lea eax, [ebp + 0xf268]
push eax
push esi
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x234]
call fcn.0049dae0
cmp eax, 2
jne 0x480f65
mov ecx, dword [0x75e260]
test ecx, ecx
je 0x480edd
push 1
mov edx, dword [esi + 0x4f8]
push edx
call fcn.00519170
mov eax, dword [esi + 0x4f8]
push eax
mov ecx, dword [edi + 0x234]
call fcn.0045eed0
test eax, eax
jl 0x480eff
push eax
mov ecx, dword [edi + 0x234]
call fcn.0043c850
mov ecx, esi
cmp dword [esi + 0x958], 0
je 0x480f3d
call fcn.005be430
push esi
mov ecx, 0x75e360
call fcn.00438670
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 0x480268
call fcn.005be430
mov byte [ebp - 4], 0x1e
push 1
mov ecx, esi
call fcn.004212d0
mov dword [ebp - 4], 0x19
jmp 0x480f1a
cmp dword [ebp - 0x28], 0
je 0x480f81
mov byte [esi + 0x1b3], 1
mov eax, dword [esi + 0x4f8]
push eax
lea ecx, [esi + 0x20]
call fcn.005d0280
cmp dword [ebp - 0x24], 0
jne 0x480f8e
mov byte [esi + 0x366], 1
mov eax, dword [ebp + 0xf268]
test eax, eax
jne 0x480f9e
lea eax, [ebp + 0xf26c]
push eax
mov ecx, esi
call fcn.005be330
mov edi, dword [ebp - 0x18]
add edi, 0x5d0
push 1
push 1
push esi
mov ecx, edi
call fcn.004c9dc0
cmp dword [esi + 0x504], 0
jg 0x480fd8
jl 0x480fcf
cmp dword [esi + 0x500], 0
ja 0x480fd8
cmp byte [esi + 0x363], 0
je 0x481000
cmp dword [ebp - 0x24], 0
jne 0x481000
mov eax, dword [esi + 0x44]
cmp eax, 1
je 0x480feb
cmp eax, 2
jne 0x481000
mov ecx, dword [esi + 0x4f8]
push ecx
push ebx
push 0x111
mov ecx, dword [ebp - 0x18]
call fcn.0042ec10
mov ecx, esi
cmp byte [0x75e2aa], 0
je 0x481012
call fcn.005b7a70
jmp 0x481017
call fcn.005c1100
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x294]
test eax, eax
je 0x48102c
push eax
mov ecx, ebx
call fcn.00456c40
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 0x48106b
push 1
push eax
mov ecx, edi
call fcn.00454680
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.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xf280]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
jmp 0x48028f