Function at 0x4b3d58
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov byte [0x5016e0], 1
mov eax, esi
mov edx, dword [0x455790]
call fcn.00403630
test al, al
je 0x4b3daa
push 0
mov dx, 4
xor eax, eax
call fcn.00407080
push eax
mov eax, dword [0x50197c]
mov eax, dword [eax]
push eax
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4b3dac
xor ebx, ebx
test ebx, ebx
je 0x4b3dc8
cmp dword [ebx + 0x248], 0
je 0x4b3dc8
call fcn.004b7310
test al, al
je 0x4b3dc8
mov byte [ebp - 0x71], 1
jmp 0x4b3dcc
mov byte [ebp - 0x71], 0
call fcn.004b7310
test al, al
je 0x4b467b
mov eax, esi
mov edx, dword [0x455790]
call fcn.00403630
test al, al
je 0x4b467b
cmp dword [ebx + 0x248], 0
je 0x4b3e31
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x4b3e11
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebx + 0xb0], eax
jmp 0x4b3e31
xor edx, edx
xor eax, eax
call fcn.004bfe40
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 0x54]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004d7d78
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.004bfe40
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fa2c
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004b17f8
cmp dword [ebp - 0x1c], 0
je 0x4b4955
cmp dword [ebx + 0x248], 0
jne 0x4b3ebc
push 0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413ca8
lea edx, [ebp - 0xb0]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004a4bdc
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fd9c
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x78], 0x11b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x88]
xor edx, edx
xor eax, eax
call fcn.00413c80
cmp dword [ebp - 0x10], 0
jle 0x4b3f10
mov byte [ebp - 0x52], 0
jmp 0x4b3f16
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
mov eax, dword [ebx + 0x248]
test eax, eax
je 0x4b43de
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x28], 0
je 0x4b3f65
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x28]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x248]
call fcn.004e209c
cmp byte [ebx + 0x1ec], 0
je 0x4b3fa3
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004dd184
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x6c], eax
jmp 0x4b40a4
mov eax, dword [ebx + 0x22c]
call fcn.00446790
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4b4058
mov eax, dword [ebx + 0x54]
call fcn.004f4978
mov eax, dword [eax + 0x94]
mov di, word [eax + 0x2e]
mov eax, dword [ebx + 0x54]
call fcn.004f4978
mov eax, dword [eax + 0x94]
cmp di, word [eax + 0x2c]
je 0x4b4058
mov eax, dword [ebx + 0x22c]
call fcn.00446790
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004cadec
push eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004dd184
mov edi, dword [ebp - 0xac]
mov eax, dword [ebx + 0x248]
call fcn.004caecc
add edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.004cae54
sub edi, eax
pop eax
sub edi, eax
mov eax, dword [ebx + 0x54]
call fcn.004f4978
mov eax, dword [eax + 0x94]
movsx eax, word [eax + 0x2c]
add edi, eax
mov eax, dword [ebx + 0x54]
call fcn.004f4978
mov eax, dword [eax + 0x94]
movsx eax, word [eax + 0x2e]
sub edi, eax
mov dword [ebp - 0x6c], edi
jmp 0x4b40a4
mov eax, dword [ebx + 0x22c]
call fcn.00446790
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004cadec
push eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004dd184
mov edi, dword [ebp - 0xac]
mov eax, dword [ebx + 0x248]
call fcn.004caecc
add edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.004cae54
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebx + 0x22c]
call fcn.00446790
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004cadec
push eax
mov eax, dword [ebx + 0x248]
call fcn.004caeec
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0xb0]
mov eax, ebx
call fcn.004dd184
add edi, dword [ebp - 0xb0]
mov dword [ebp - 0x70], edi
lea eax, [ebp - 0xa0]
push eax
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.0043f718
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.0043f73c
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x80]
call fcn.0043f764
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x7c]
call fcn.0043f788
push 3
mov eax, dword [ebx + 0x22c]
call fcn.00446790
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x70]
push eax
push edi
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fea4
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
mov eax, dword [0x501968]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.004bfe40
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413ca8
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00424334
call fcn.0041fea4
xor ecx, ecx
pop edx
call fcn.004bb024
cmp dword [ebp - 0x10], 0
jle 0x4b4303
push ebp
call fcn.004b39e0
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4b42fd
push ebp
call fcn.004b3b40
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00424334
call fcn.0041fea4
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
mov eax, dword [0x501968]
mov eax, dword [eax]
call eax
push 0
xor eax, eax
mov al, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea edx, [edx + edx*2]
xor eax, eax
call fcn.004265f0
mov edx, eax
mov eax, 0xff
call fcn.0042652c
push eax
mov eax, dword [ebp - 0x8c]
call fcn.00446790
mov edx, dword [ebp - 0x90]
pop ecx
call fcn.004c9da0
push ebp
call fcn.004b3cfc
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4b42f4
push 0xc
call sub.kernel32.dll_Sleep
cmp edi, dword [ebp - 0x10]
jle 0x4b425c
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x5016e0], 0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4b432c
mov dl, byte [ebp - 0xc]
call fcn.0045d17c
push 0
push 1
push 0xb
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004e1f34
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x78]
or eax, 4
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x70]
push eax
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x10]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004e1108
lea eax, [ebp - 0x90]
call fcn.0040da2c
lea eax, [ebp - 0x8c]
call fcn.0040da2c
jmp 0x4b4666
lea eax, [ebp - 0xa0]
push eax
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x455a94]
call fcn.00458544
mov edi, eax
mov dword [0x5016dc], edi
mov dword [edi + 0xc], 0xffffff9e
xor edx, edx
mov eax, edi
call fcn.00459d08
mov edx, dword [esi + 0x40]
mov eax, dword [0x5016dc]
call fcn.0043f718
mov edx, dword [esi + 0x44]
mov eax, dword [0x5016dc]
call fcn.0043f73c
mov edx, dword [esi + 0x48]
mov eax, dword [0x5016dc]
call fcn.0043f764
mov edx, dword [esi + 0x4c]
mov eax, dword [0x5016dc]
call fcn.0043f788
push 0xffffffffffffffec
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4b4474
mov dl, 3
mov eax, dword [0x5016dc]
call fcn.0045a004
or edi, 0xffffffff
jmp 0x4b4489
push 3
mov eax, dword [ebx + 0x22c]
call fcn.00446790
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x78]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [0x5016dc]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x5016dc]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x64], eax
push 0xffffffffffffffec
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fea4
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
mov eax, dword [0x501968]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
call fcn.004bfe40
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413ca8
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00424334
call fcn.0041fea4
xor ecx, ecx
pop edx
call fcn.004bb024
cmp dword [ebp - 0x10], 0
jle 0x4b460a
push ebp
call fcn.004b39e0
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4b4604
push ebp
call fcn.004b3b40
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00424334
call fcn.0041fea4
push eax
lea eax, [ebp - 0x80]
push eax
push 0
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
mov eax, dword [0x501968]
mov eax, dword [eax]
call eax
push ebp
call fcn.004b3cfc
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4b45ff
push 0xc
call sub.kernel32.dll_Sleep
cmp edi, dword [ebp - 0x10]
jle 0x4b45a5
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x64]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x5016e0], 0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4b4633
mov dl, byte [ebp - 0xc]
call fcn.0045d17c
push 0
push 1
push 0xb
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x5016dc
call fcn.0040da2c
lea eax, [ebp - 0x58]
call fcn.0040da2c
lea eax, [ebp - 0x1c]
call fcn.0040da2c
jmp 0x4b4955
cmp dword [0x5016dc], 0
jne 0x4b468b
mov eax, esi
call fcn.004b38c8
cmp dword [0x5016dc], 0
je 0x4b4955
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004bfe40
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fa2c
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fea4
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x60], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004b17f8
cmp dword [ebp - 0x1c], 0
je 0x4b4955
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fea4
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fd9c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004bfe40
mov dword [ebp - 0x5c], eax
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x71], 0
jne 0x4b4762
test ebx, ebx
je 0x4b4762
mov edi, ebx
mov eax, edi
call fcn.004cb864
cmp dword [0x5016dc], 0
je 0x4b4955
push 0
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.004cbc8c
push eax
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x10], 0
jle 0x4b4834
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
mov ebx, 0xff
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4b4834
push 0
mov edx, ebx
xor eax, eax
call fcn.004265f0
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x5016f0
lea eax, [ebp - 0x5c]
call fcn.004bfba0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.00424334
call fcn.0041fea4
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x501bb8]
cmp dword [eax], 0
je 0x4b4815
push 0
mov dx, 3
xor eax, eax
call fcn.00407080
push eax
mov eax, dword [0x50197c]
mov eax, dword [eax]
push eax
mov eax, dword [0x501bb8]
mov eax, dword [eax]
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
inc edi
sub ebx, dword [ebp - 0x68]
cmp edi, dword [ebp - 0x10]
jg 0x4b4834
cmp dword [ebp - 0x10], 0
jle 0x4b482b
push 0xc
call sub.kernel32.dll_Sleep
cmp edi, dword [ebp - 0x10]
jle 0x4b479b
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00424334
call fcn.0041fea4
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x501bb8]
cmp dword [eax], 0
je 0x4b4892
push 0
mov dx, 3
xor eax, eax
call fcn.00407080
push eax
mov eax, dword [0x50197c]
mov eax, dword [eax]
push eax
mov eax, dword [0x501bb8]
mov eax, dword [eax]
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
mov byte [0x5016e0], 0
cmp byte [esi + 0x57], 0
je 0x4b491d
push 0
push 1
push 0xb
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x501a54]
cmp dword [eax], 6
jl 0x4b48d2
push 0x585
push 0
push 0
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x455790]
call fcn.00403630
test al, al
je 0x4b48fe
push 0xffffffffffffffec
mov eax, esi
call fcn.00446790
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4b491d
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [0x5016dc]
call fcn.00446790
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x5016dc
call fcn.0040da2c
lea eax, [ebp - 0x5c]
call fcn.0040da2c
mov eax, 0x5016f0
call fcn.0040da2c
lea eax, [ebp - 0x1c]
call fcn.0040da2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4