Function at 0x47f9db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x47fab0
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov eax, dword [eax + 8]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x47faba
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004379c0
add esp, 8
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
cmp dword [eax + 0x114], 0
jne 0x47faed
mov eax, 1
jmp 0x4811ae
mov eax, dword [ebp - 0x1bc]
add eax, 0x158
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x1bc]
sub eax, dword [ecx + 0x30]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x1bc]
sub eax, dword [ecx + 0x34]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x1bc]
add eax, 0x30
lea ecx, [ebp - 0x28c]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xe6], 0
je 0x47fb72
mov dword [ebp - 0x220], 1
jmp 0x4810c6
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x114]
dec eax
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 2
add eax, 0x50
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fbde
mov eax, dword [ebp - 0x220]
jmp 0x4811ae
push 0xc
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fc15
jmp 0x4810c6
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x1bc]
add eax, dword [ecx + 0x30]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp + 0x18]
add ecx, eax
mov dword [ebp - 0x244], ecx
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0xf4], 1
je 0x47fc5a
mov dword [ebp - 0x250], 1
jmp 0x47fc64
mov dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0xf4], 2
je 0x47fc86
mov dword [ebp - 0x218], 1
jmp 0x47fc90
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x264]
push eax
push 0x67
push 0x64
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fcc2
jmp 0x4810c6
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x10]
push eax
push 0x66
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fcf9
jmp 0x4810c6
mov eax, dword [ebp - 0x20]
push eax
call fcn.00438897
add esp, 4
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fd3b
jmp 0x4810c6
mov eax, dword [ebp - 0x20]
push eax
call fcn.00438897
add esp, 4
push eax
mov eax, dword [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.0047954d
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
call fcn.0047947b
add esp, 4
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xbc]
push eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xc0]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47fdb6
jmp 0x4810c6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
cmp dword [eax + 0x2c], 0
je 0x480788
mov eax, dword [ebp - 0x1e4]
cmp dword [eax + 0x34], 0
je 0x480788
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x38]
add eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 8
je 0x47fe44
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x27c], eax
jmp 0x47fe4e
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 8
je 0x47fea1
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x1e4]
mov ecx, dword [ecx + 0x30]
cmp dword [eax + 0x28], ecx
jge 0x47fea1
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x28]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x14], 0xffffffff
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [ebp - 0x27c]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x254], eax
jmp 0x47fef2
inc dword [ebp - 0x254]
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x254], eax
jge 0x4806bd
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax + 0x30]
dec eax
cmp eax, dword [ebp - 0x27c]
jle 0x47ff40
mov eax, dword [ebp - 0x27c]
lea eax, [eax + eax*2 + 3]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x254]
cmp dword [ecx + eax*8 + 4], edx
jg 0x47ff40
inc dword [ebp - 0x27c]
mov dword [ebp - 0x1b8], 0
add dword [ebp - 0x1b8], 0x100
mov eax, dword [ebp - 0x254]
shl eax, 2
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x2ac]
cmp dword [eax + ecx + 8], 0
je 0x47ff77
inc dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x254]
shl eax, 2
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x2ac]
cmp dword [eax + ecx + 4], 0
je 0x47ff9a
inc dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x254]
shl eax, 2
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x2ac]
cmp dword [eax + ecx + 0xc], 0
jl 0x4806b8
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax + 0x10]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 2
add eax, dword [ebp - 0x1d4]
add eax, 0x1c
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x254]
shl eax, 2
lea eax, [eax + eax*4]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x28], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
cmp dword [eax + ecx + 0x24], 0
je 0x480027
inc dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0xc]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x268]
push eax
call fcn.004d96e6
add esp, 8
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
je 0x48010c
mov eax, dword [ebp - 0x1c4]
test byte [eax + 0x20], 2
jne 0x4800b6
mov eax, dword [ebp - 0x1c4]
add eax, 0x50
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1d8]
cmp dword [eax + 0x18], ecx
jle 0x4800b6
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1c4]
cmp dword [eax], 1
jne 0x4800de
mov dword [ebp - 0x278], 0
add dword [ebp - 0x1b8], 0x2000
jmp 0x480107
mov eax, dword [ebp - 0x1c4]
cmp dword [eax + 0x18], 0
jne 0x4800fd
mov dword [ebp - 0x278], 1
jmp 0x480107
mov dword [ebp - 0x278], 0
jmp 0x480116
mov dword [ebp - 0x278], 0
cmp dword [ebp - 0x278], 0
je 0x4804bd
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x264]
push eax
call fcn.0047f796
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
add eax, dword [ebp - 0x1c4]
add eax, 0x50
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb6]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c6]
push eax
call fcn.004deb14
add esp, 0x1c
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x1f4], 0
je 0x4801f2
mov eax, dword [ebp - 0x1f4]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x1f0]
push eax
mov eax, dword [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [ebp - 0x1ec]
push eax
mov eax, dword [ebp - 0x1f0]
add eax, 4
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_SetRect]
cmp dword [ebp - 0x228], 0
je 0x480251
mov eax, dword [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x1fc]
cdq
sub eax, edx
sar eax, 1
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1fc]
cmp dword [ebp - 0xc], eax
jge 0x480275
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add eax, ecx
add eax, dword [ebp - 0xc]
add eax, 0x78
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4802dd
jmp 0x4810c6
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add eax, ecx
add eax, 0x50
push eax
mov eax, dword [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00522244
add esp, 0xc
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add eax, ecx
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x10]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add eax, ecx
add eax, dword [ebp - 0x18]
add eax, 0x50
push eax
call fcn.00522244
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x4803ca
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x1c4]
add ecx, 0x50
add eax, ecx
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
add eax, ecx
push eax
call fcn.00522244
add esp, 0xc
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0xffffffff
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20], eax
push 1
push 4
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
add eax, dword [ebp - 0x18]
add eax, 0x50
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0x26c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x204]
cmp dword [eax + 0x18], ecx
jle 0x480471
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x18]
add eax, 0x50
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x1c0]
mov dword [ecx + 0x18], eax
push 1
push pe_nt_image_headers32
lea eax, [ebp - 0x1b8]
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x268]
push eax
call fcn.004d9749
add esp, 4
cmp dword [ebp - 0x278], 0
je 0x480517
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 0x268]
push eax
call fcn.004d9d6a
add esp, 0x10
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4805fc
test byte [ebp - 0x1b8], 0x20
je 0x480570
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x18]
push eax
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x14]
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x4805fc
test byte [ebp - 0x1b7], 0x20
je 0x4805c9
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x18]
push eax
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x14]
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x4805fc
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x18]
push eax
mov eax, dword [ebp - 0x1d8]
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x20], eax
lea eax, [ebp - 0x210]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 0x23c]
add ecx, 0x10
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x27c]
and eax, 0xffff
shl eax, 0x10
mov ecx, dword [ebp - 0x254]
and ecx, 0xffff
or eax, ecx
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
sub eax, ecx
mov ecx, dword [ebp - 0x240]
mov eax, dword [eax + ecx + 0x1c]
mov ecx, dword [ebp - 0x23c]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x1d4]
inc dword [eax + 0x10]
jmp 0x47feec
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x10], 0
jne 0x4806f0
mov dword [ebp - 0x220], 0x71
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4810c6
push 0
mov eax, dword [ebp - 0x1dc]
shl eax, 2
lea eax, [eax + eax*4]
add eax, 0xc
push eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x480749
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4810c6
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1c8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4807a4
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4810c6
mov eax, dword [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x250]
push eax
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x1bc]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0047e3f4
add esp, 0x24
mov eax, dword [ebp - 0x1e4]
add eax, 0x14
lea ecx, [ebp - 0x2a8]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x12c]
add dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x12c]
add dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x12c]
add dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x12c]
add dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 8
je 0x480889
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 0x10
jne 0x480889
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x1cc]
add eax, dword [ebp - 0x29c]
push eax
mov eax, dword [ebp - 0x2a0]
add eax, dword [ebp - 0x1d0]
push eax
mov eax, dword [ebp - 0x2a4]
neg eax
push eax
mov eax, dword [ebp - 0x2a8]
neg eax
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 0x10
je 0x4808f7
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0043833a
add esp, 8
mov dword [ebp - 0x22c], 0
jmp 0x480937
mov eax, dword [ebp - 0x1bc]
test byte [eax + 0x2d], 8
je 0x480921
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x480937
lea eax, [ebp - 0x238]
push eax
mov eax, dword [ebp - 0x1bc]
push eax
call fcn.0043833a
add esp, 8
xor eax, eax
sub eax, dword [ebp - 0x238]
neg eax
sub dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x230]
add dword [ebp - 0x208], eax
xor eax, eax
sub eax, dword [ebp - 0x234]
neg eax
sub dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x22c]
add dword [ebp - 0x204], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1bc]
add eax, dword [ecx + 0x34]
add eax, dword [ebp - 0x2a4]
add eax, dword [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0x30]
add eax, dword [ebp - 0x238]
add eax, dword [ebp - 0x2a8]
add eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x210]
add edx, eax
sub ecx, edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x210]
add ecx, dword [ebp - 0x1c]
cmp dword [eax + 0x7a], ecx
jl 0x4809f7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x7a]
sub eax, dword [ebp - 0x210]
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb6]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c6]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0xb40
mov dword [ebp - 0x1a0], 0x870
mov dword [ebp - 0x19c], 0x32
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24a]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x24e]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x252]
mov dword [ebp - 0x174], eax
mov eax, dword [0x5333dc]
mov dword [ebp - 0x16c], eax
mov eax, dword [0x5334a4]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x170], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x23e]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xb4]
shr eax, 0x10
and eax, 0xffff
movzx eax, ax
xor ecx, ecx
mov cl, ah
mov dword [ebp - 0x1e8], ecx
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x2b0], eax
jmp 0x480b61
mov dword [ebp - 0x1e8], 0xff
jmp 0x480b80
cmp dword [ebp - 0x2b0], 0xd
je 0x480b4d
cmp dword [ebp - 0x2b0], 0x12
je 0x480b4d
jmp 0x480b80
cmp dword [ebp - 0x1e8], 0xff
jne 0x480b9c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xe2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x144], 6
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x134], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1ee]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1de]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 8], sym.MSOCht32.EXE_FEPosHandler
lea eax, [ebp - 0x1b4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x21c]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xb6]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c6]
push eax
mov eax, dword [ebp - 0x268]
push eax
mov eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00470852
add esp, 0x24
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x480c8e
jmp 0x4810c6
mov dword [0x53368c], 0
mov dword [0x533690], 0
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xe6], eax
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x260], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xe6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x254], 0
jmp 0x480d20
inc dword [ebp - 0x254]
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x254]
cmp dword [eax + 0x10], ecx
jle 0x480ee4
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1d4]
test byte [ecx + eax*4 + 0x40], 0x80
je 0x480edf
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 2
add eax, dword [ebp - 0x1d4]
add eax, 0x40
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ecx + eax*4 + 0x44]
push eax
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x18]
push eax
call fcn.004d96e6
add esp, 8
mov dword [ebp - 0x1c4], eax
push 0x7d007d00
push 0
push 0x472
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1c4]
push eax
push 0x100
push 0x470
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x18]
push eax
call fcn.004d9749
add esp, 4
push 0
push 0x400
push 0x471
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
je 0x480edf
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 2
add eax, dword [ebp - 0x1d4]
add eax, 0x1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx]
push eax
push 0
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x1c4]
add eax, 0x50
push eax
call fcn.004f2ced
add esp, 0x14
push 0
mov eax, dword [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 0x254]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x1d4]
mov eax, dword [ecx + eax*4 + 0x44]
push eax
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x18]
push eax
call fcn.004d9d6a
add esp, 0x10
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x480d1a
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
push 8
push 8
push 0xffff8ad0
push 0xffff8ad0
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x200]
mov dword [eax + 0x44], 2
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax]
shl ecx, 0x10
mov eax, dword [ebp + 0x14]
and eax, 0xffff
or ecx, eax
mov eax, dword [ebp - 0x200]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x200]
mov dword [ecx + 0x34], eax
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x200]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x200]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x26]
mov ecx, dword [ebp - 0x200]
mov dword [ecx + 0x38], eax
push 1
push 0x400
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
push 1
push 0x800
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
push 1
push 8
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x25c]
jl 0x480ffb
mov eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x20c]
cmp eax, dword [ebp - 0x258]
jge 0x48104c
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 2
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_LPtoDP]
push 0
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x4000
mov eax, dword [ebp + 0xc]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x1f8]
push eax
push 0x100
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
cmp dword [ebp - 0x218], 0
je 0x481090
push 1
push 0x1000
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
cmp dword [ebp - 0x250], 0
je 0x4810b6
push 1
push 0x2000
mov eax, dword [ebp - 0x200]
add eax, 0x10
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xe6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x260], 0
je 0x4810e0
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x264], 0
je 0x4810fc
mov eax, dword [ebp - 0x264]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1be]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x248], 0
je 0x48112a
mov eax, dword [ebp - 0x248]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x481140
mov eax, dword [ebp - 0x20]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x268], 0
je 0x48115a
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x224], 0
je 0x481174
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x24], 0
je 0x48118c
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x220], 0
je 0x4811a3
cmp dword [ebp - 8], 0
je 0x4811a3
mov eax, dword [ebp - 0x220]
jmp 0x4811ae
pop edi
pop esi
pop ebx
leave
ret