Function at 0x4be2d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
mov dword [ebp - 8], 1
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x10], 0
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be340
mov eax, dword [ebp - 0x110]
jmp 0x4bf23f
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xde]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x128]
add eax, 0xce
push eax
push 0x67
push 0x64
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be39c
jmp 0x4be986
mov eax, dword [ebp - 0x128]
add eax, 0xc6
push eax
push 0x66
push 0x64
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be3d6
jmp 0x4be986
mov eax, dword [ebp - 0x128]
add eax, 0x1be
push eax
push 0x68
push 0x64
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be410
jmp 0x4be986
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x148]
push eax
push 0x65
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be44a
jmp 0x4be986
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004379c0
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0x22
jne 0x4be49e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
dec eax
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xffffffff
je 0x4be529
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 0x65
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4be4e3
jmp 0x4be986
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0x8c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x11c]
push eax
call fcn.0047947b
add esp, 4
jmp 0x4be533
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x128]
add eax, 0x66
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x3a]
mov dword [edx], ecx
mov dword [edx + 4], eax
push str.Roman
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1c6]
push eax
call fcn.004ddf8c
add esp, 8
mov dword [0x531e58], eax
cmp dword [0x531e58], 0
jl 0x4be5af
mov eax, dword [0x531e58]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xb6]
push eax
call fcn.004de0d1
add esp, 8
mov dword [0x531e58], eax
jmp 0x4be5b9
mov dword [0x531e58], 0
push 0x58
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1ee]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x118], eax
push 0x5a
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1ee]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [ebp - 0x120], eax
push 0x58
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1ee]
push eax
call fcn.004e41ca
add esp, 8
mov dword [ebp - 0xfc], eax
push 0x5a
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1ee]
push eax
call fcn.004e41ca
add esp, 8
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x3a]
imul eax, dword [ebp - 0xfc]
cdq
idiv dword [ebp - 0x118]
mov dword [ebp - 0x3a], eax
mov eax, dword [ebp - 0x36]
imul eax, dword [ebp - 0x100]
cdq
idiv dword [ebp - 0x120]
mov dword [ebp - 0x36], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xa2]
mov dword [ebp - 0x32], eax
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jle 0x4be6b1
mov eax, dword [0x52d09c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1d2]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x6a]
add esi, 0x130
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
and eax, 0x2000
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x72], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xf4]
mov dword [ebp - 0x6e], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x24a]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x24e]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x23e]
mov dword [ebp - 0x76], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x252]
mov word [ebp - 0x78], ax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x26], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x66
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4be8a3
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004d96e6
add esp, 8
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x4be88b
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 0x14]
shl eax, 4
lea eax, [eax + eax*2]
add eax, dword [ebp - 0xf4]
add eax, 0x50
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x76], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 8]
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0x10]
push eax
call fcn.004d9749
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
call fcn.0047947b
add esp, 4
mov dword [ebp - 0x110], 0
lea eax, [ebp - 0xf0]
mov dword [0x531e5c], eax
push 0
push 1
lea eax, [ebp - 0x72]
push eax
call fcn.004e43fc
add esp, 0xc
push 0
push 4
lea eax, [ebp - 0x72]
push eax
call fcn.004e43fc
add esp, 0xc
push 0
push 4
lea eax, [ebp - 0x6e]
push eax
call fcn.004e43fc
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x6e]
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp - 0x18]
add eax, 0x80
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x6a]
add esi, 0x130
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x4a], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x46], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xce]
mov dword [ebp - 0x42], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
mov dword [ebp - 0x3e], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1be]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0x10c], 0
je 0x4be9af
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x110], 0
je 0x4be9d1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xce]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x110], 0
je 0x4be9f3
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x110], 0
je 0x4bea15
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1be]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x110], 0
je 0x4bea46
mov eax, dword [ebp - 0x110]
push eax
call fcn.004ae776
add esp, 4
mov eax, dword [ebp - 0x110]
jmp 0x4bf23f
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.004bf66d
add esp, 0xc
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x42]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x3e]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x110], 0
jne 0x4bebe7
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x140]
push eax
push 0x66
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4beb10
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004754e5
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4beb01
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4beb10
mov eax, dword [ebp - 0x11c]
push eax
call fcn.0047947b
add esp, 4
lea eax, [ebp - 0x11c]
push eax
push 0x6a
push 0x64
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4beb45
jmp 0x4bebb9
mov eax, dword [ebp - 0x11c]
push eax
call fcn.004796fa
add esp, 4
mov eax, dword [ebp - 0x11c]
push eax
call fcn.0047557c
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4beb7b
jmp 0x4bebb9
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xf8]
mov dword [ecx + 0x16], eax
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x11c]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x110], 0
je 0x4bebd5
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4bebe7
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0xde], eax
cmp dword [ebp - 0x110], 0
jne 0x4bf21b
mov eax, dword [ebp - 0x128]
add eax, 0xd6
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xde]
push eax
push 0x65
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp + 0x10], 1
jne 0x4bee73
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
mov eax, dword [ebp - 0x128]
cmp dword [eax + 0x1ee], 0
je 0x4bec6e
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1ee]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x144]
push eax
push 1
push 0
mov eax, dword [ebp - 0x128]
add eax, 0x66
push eax
mov eax, dword [ebp - 0x128]
add eax, 0x8a
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xae]
push eax
mov eax, dword [ebp - 0x128]
add eax, 0x292
push eax
call fcn.004e14d9
add esp, 0x24
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x1ee], eax
mov eax, dword [ebp - 0x144]
push eax
push 0x2000
mov eax, dword [ebp - 0x128]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.0043cc8c
add esp, 8
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x110], 0
jne 0x4bede5
push 0x1c20
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
push eax
call fcn.004e3c00
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4bede5
mov dword [ebp - 0x124], sym.MSOCht32.EXE_CheckImpFields
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x114], eax
push 0
push 1
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.0043808e
add esp, 0x1c
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4bede5
mov eax, dword [ebp - 0x2a]
push eax
mov eax, dword [ebp - 0x2e]
push eax
mov eax, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.004be013
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4bee35
mov dword [ebp - 0x124], sym.MSOCht32.EXE_PrintCodeAction
push 0
push 1
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0xec]
push eax
push 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.0043808e
add esp, 0x1c
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x104], 0
je 0x4bee5c
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
cmp dword [ebp - 0x110], 0
jne 0x4beea8
mov eax, dword [ebp - 0x128]
add eax, 0xc6
push eax
push 0x66
push 0x65
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4bf1fd
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
push eax
call fcn.004796fa
add esp, 4
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
push eax
call fcn.00479491
add esp, 8
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1be]
push eax
call fcn.00479491
add esp, 8
push 1
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0043f494
add esp, 0x14
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4bef7d
push 1
push 1
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004375be
add esp, 0x18
mov dword [ebp - 0x110], eax
cmp dword [ebp + 0x10], 1
jne 0x4bf033
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x32], 1
cmp dword [ebp - 0x110], 0
jne 0x4bf033
mov dword [ebp - 0x138], 0x1f
mov eax, dword [ebp - 0x138]
add eax, 0x12c
push eax
push 0x12c
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00406917
add esp, 0x14
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0xffffffff
jne 0x4beff3
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0
jne 0x4bf033
mov eax, dword [ebp - 0x128]
add eax, 0xd6
push eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xde]
push eax
push 0x65
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4bf04d
cmp dword [ebp - 0x110], 0xffffffff
jne 0x4bf16d
push 0
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041a77f
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x4bf0ed
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x66]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0xa6], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x66]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0xaa], eax
mov eax, dword [ebp - 0x32]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0xa2], eax
push 1
push 4
mov eax, dword [ebp - 0x128]
add eax, 0x22
push eax
call fcn.004e43fc
add esp, 0xc
push 0
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004d440a
add esp, 0x10
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x533660], 1
push 0
push 1
push 6
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x533660], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a1cd1
add esp, 4
push 0
push 0
push 0
push 1
push 0
mov eax, dword [ebp - 0xe8]
and eax, 0xffff
shl eax, 0x10
push eax
push 0x457
mov eax, dword [ebp + 8]
push eax
call fcn.0043db0f
add esp, 0x20
jmp 0x4bf189
cmp dword [ebp - 0x110], 0xfffffffe
je 0x4bf189
mov eax, dword [ebp - 0x110]
push eax
call fcn.004ae776
add esp, 4
push 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
call fcn.00479491
add esp, 8
push 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
push eax
call fcn.00479491
add esp, 8
push 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x1be]
push eax
call fcn.00479491
add esp, 8
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xd6]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0xc6]
push eax
call fcn.0047947b
add esp, 4
jmp 0x4bf20c
mov eax, dword [ebp - 0x110]
push eax
call fcn.004ae776
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4bf225
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0xec]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x110]
jmp 0x4bf23f
pop edi
pop esi
pop ebx
leave
ret