Function at 0x47b190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x44], eax
mov eax, dword [0x6b6ba8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47b1bf
cmp dword [ebp + 8], 0
je 0x47b1bf
cmp dword [ebp + 0xc], 0
jne 0x47b1c4
jmp 0x47bf6f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005b51f3
add esp, 8
test eax, eax
jne 0x47b1dd
jmp 0x47bf6f
push 0xfffffffffffffff0
mov eax, dword [0x6b6ba8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x2c], eax
push 0x80000
push 0x80000
push 0x1036
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
and edx, 0x100
je 0x47b266
call fcn.00479fc0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
cmp ecx, 5
jle 0x47b24e
push 0
push 0x7071
push 0x111
mov edx, dword [0x6b6ba4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47b266
push 0
push 0x7051
push 0x111
mov eax, dword [0x6b6ba4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47b2b2
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x1036
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47bf6f
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0x1033
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 4]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478910
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x47bf4d
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00478b20
movzx eax, al
test eax, eax
je 0x47bf4d
mov dword [ebp - 0x40], 0
xor ecx, ecx
mov word [ebp - 0x250], cx
push 0x206
push 0
lea edx, [ebp - 0x24e]
push edx
call fcn.005b4de0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x47b520
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x47b520
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478910
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x47b520
mov dword [ebp - 0x26c], 0
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], 0
xor eax, eax
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478d80
movzx edx, al
test edx, edx
je 0x47b520
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
mov edx, dword [0x6b6ba8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00478b20
movzx ecx, al
test ecx, ecx
je 0x47b520
mov edx, dword [ebp - 0x268]
add edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x1c]
jae 0x47b460
mov eax, dword [ebp - 0x258]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x270], eax
jmp 0x47b46f
mov ecx, dword [ebp - 0x25c]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x20]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x254]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x25c]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x258]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x274]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x270]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x254]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x40], 0
jne 0x47b7b9
lea edx, [ebp - 0x250]
push edx
push 0xa
call fcn.0047a100
movzx eax, al
test eax, eax
je 0x47b7b9
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [0x6b6ba8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00478910
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
je 0x47b7b9
mov dword [ebp - 0x290], 0
xor ecx, ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], 0
xor edx, edx
mov dword [ebp - 0x27c], edx
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
mov edx, dword [0x6b6ba8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00478d80
movzx ecx, al
test ecx, ecx
je 0x47b7b9
lea edx, [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x278]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00478b20
movzx eax, al
test eax, eax
je 0x47b7b9
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x280], ecx
jae 0x47b7b9
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28c]
lea ecx, [eax + edx*2]
cmp ecx, dword [ebp - 0x1c]
jae 0x47b636
mov edx, dword [ebp - 0x27c]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x38]
push eax
push 0
lea ecx, [ebp - 0x290]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x47b65a
mov edx, dword [ebp - 0x27c]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x38]
neg eax
push eax
push 0
lea ecx, [ebp - 0x290]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x28c]
add edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x1c]
jae 0x47b679
mov eax, dword [ebp - 0x27c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x29c], eax
jmp 0x47b688
mov ecx, dword [ebp - 0x280]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2a0], ecx
mov eax, dword [ebp - 0x290]
add eax, dword [ebp - 0x288]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x28c]
add eax, dword [ebp - 0x284]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x294], eax
lea edx, [ebp - 0x298]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0047a1c0
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
je 0x47b71a
mov edx, dword [ebp - 0x20]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x278]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x31c], eax
jmp 0x47b724
mov dword [ebp - 0x31c], 0
mov edx, dword [ebp - 0x280]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x27c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x278], 0xffffffff
je 0x47b7af
mov edx, dword [ebp - 0x2a0]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x29c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x278]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x320], eax
jmp 0x47b7b9
mov dword [ebp - 0x320], 0
cmp dword [ebp - 0x40], 0
jne 0x47b996
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
and edx, 0xffff
movzx eax, dx
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ebp - 0x2a8]
and edx, 0xffff
movzx eax, dx
shr eax, 8
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x2ac]
and edx, 0xff
movzx eax, dl
mov ecx, dword [ebp - 0x2a4]
and ecx, 0xff
movzx edx, cl
shl edx, 8
or eax, edx
movzx eax, ax
cmp eax, 0x600
jg 0x47b996
lea ecx, [ebp - 0x250]
push ecx
push 1
call fcn.0047a100
movzx edx, al
test edx, edx
je 0x47b996
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00478910
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0xffffffff
je 0x47b996
mov dword [ebp - 0x2b8], 0
xor eax, eax
mov dword [ebp - 0x2b4], eax
lea ecx, [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478b20
movzx edx, al
test edx, edx
je 0x47b996
mov eax, dword [ebp - 0x2b8]
add eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x1c]
jae 0x47b8d9
mov ecx, dword [ebp - 0x2b4]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2bc], ecx
jmp 0x47b8e8
mov edx, dword [ebp - 0x2b8]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x20]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x2b0]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x2b8]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2b4]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c0]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2bc]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x2b0]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x40], 0
jne 0x47bbc2
lea eax, [ebp - 0x250]
push eax
push 0xa
call fcn.0047a100
movzx ecx, al
test ecx, ecx
je 0x47bbc2
lea edx, [ebp - 0x250]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478910
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x47bbc2
mov dword [ebp - 0x2dc], 0
xor edx, edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2cc], 0
xor eax, eax
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478d80
movzx edx, al
test edx, edx
je 0x47bbc2
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [0x6b6ba8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00478b20
movzx ecx, al
test ecx, ecx
je 0x47bbc2
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x18]
cmp dword [ebp - 0x2cc], edx
jae 0x47bbc2
mov eax, dword [ebp - 0x2c8]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x38]
neg ecx
push ecx
push 0
lea edx, [ebp - 0x2dc]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x2dc]
add eax, dword [ebp - 0x2d4]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x2d8]
add eax, dword [ebp - 0x2d0]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2e4]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0047a1c0
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x47bb2b
mov eax, dword [ebp - 0x20]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x2c4]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x324], eax
jmp 0x47bb35
mov dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x2cc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2c8]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x2c4], 0xffffffff
je 0x47bbb8
mov eax, dword [ebp - 0x14]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x2c4]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x328], eax
jmp 0x47bbc2
mov dword [ebp - 0x328], 0
cmp dword [ebp - 0x40], 0
jne 0x47be39
mov eax, dword [ebp - 0x18]
shr eax, 1
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2e8], 0
jmp 0x47bbf5
mov ecx, dword [ebp - 0x2e8]
add ecx, 1
mov dword [ebp - 0x2e8], ecx
cmp dword [ebp - 0x40], 0
jne 0x47be39
mov edx, dword [ebp - 0x2e8]
cmp edx, dword [ebp - 0x1c]
jge 0x47be39
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0047a1c0
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
je 0x47be34
mov dword [ebp - 0x308], 0
xor eax, eax
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], 0
xor ecx, ecx
mov dword [ebp - 0x2f4], ecx
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00478d80
movzx eax, al
test eax, eax
je 0x47be34
lea ecx, [ebp - 0x2f8]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478b20
movzx edx, al
test edx, edx
je 0x47be34
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
push 0
lea ecx, [ebp - 0x308]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2f4]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2e8]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x304]
lea ecx, [eax + edx*2]
cmp ecx, dword [ebp - 0x1c]
jbe 0x47bd39
mov edx, dword [ebp - 0x38]
neg edx
push edx
push 0
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x2f4]
sub ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0x2e8]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x2e8], edx
jmp 0x47bcf3
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [0x6b6ba8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0047a1c0
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0xffffffff
je 0x47bd9d
mov eax, dword [ebp - 0x20]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x30c]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x32c], eax
jmp 0x47bda7
mov dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x2f8]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2f4]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x30]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x30c], 0xffffffff
je 0x47be2a
mov eax, dword [ebp - 0x14]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp - 0x30c]
push ecx
push 0x100f
mov edx, dword [0x6b6ba8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x330], eax
jmp 0x47be34
mov dword [ebp - 0x330], 0
jmp 0x47bbe6
cmp dword [ebp - 0x40], 0
jne 0x47bf4d
push 0x6499bc
mov eax, dword [0x6b6ba8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00478910
mov dword [ebp - 0x310], eax
cmp dword [ebp - 0x310], 0xffffffff
je 0x47bf4d
mov dword [ebp - 0x318], 0
xor edx, edx
mov dword [ebp - 0x314], edx
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x310]
push ecx
mov edx, dword [0x6b6ba8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00478b20
movzx ecx, al
test ecx, ecx
je 0x47bf4d
mov edx, dword [ebp - 0x20]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x310]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x318]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x314]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x30]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x14]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x10]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0x310]
push eax
push 0x100f
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
push eax
push 0
push 0x1036
mov ecx, dword [0x6b6ba8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x44]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret