Function at 0x481520
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp + 0x48]
push esi
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x88], 1
mov dword [esp + 0x18], 0x10
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x48156b
mov eax, dword [ebp + 0x40]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x88], eax
jb 0x481570
call fcn.005d29f1
mov eax, dword [ebp + 0x3c]
add eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov eax, dword [ebp + 0x74]
add eax, 1
cmp dword [esp + 0x88], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
jne 0x4815ec
mov ecx, dword [ebp + 0x4c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x48]
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [edi + 1]
push eax
add ecx, 0xffffffff
push ecx
add edx, 0xffffffff
push edx
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esi + 3]
push eax
push edi
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x20]
push eax
jmp 0x481667
mov ecx, dword [ebp + 0x48]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x48]
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [edi + 1]
push eax
add ecx, 0xffffffff
push ecx
add edx, 0xffffffff
push edx
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esi + 3]
push edx
push edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x20]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0x7c]
push eax
add ecx, 0x24
call fcn.0048b500
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x481688
xor eax, eax
jmp 0x481690
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x88]
lea ecx, [ecx + edx - 1]
cmp ecx, eax
jae 0x481804
push 0x70
call fcn.005d2776
add esp, 4
test eax, eax
je 0x4816c1
call fcn.00580c60
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4816cd
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x88]
lea ecx, [edx + eax - 1]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x20]
lea eax, [ebp + 0x7c]
push eax
add ecx, 0x24
call fcn.0048b500
mov edx, dword [eax + 4]
test edx, edx
mov dword [esp + 0x28], eax
je 0x481707
mov ecx, dword [eax + 8]
sub ecx, edx
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x481710
call fcn.005d29f1
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
test eax, eax
mov dword [esp + 0x28], eax
je 0x48172f
cmp dword [eax + 0x28], 0
je 0x48172f
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x481732
mov eax, dword [ebp + 0x64]
push esi
call fcn.00580510
mov ecx, dword [ebp + 0x74]
add ecx, 1
cmp dword [esp + 0x88], ecx
jne 0x4817ab
cmp dword [ebp + 0x6c], 0
je 0x4817ab
cmp dword [ebp + 0x68], 0
je 0x4817ab
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
cmp dword [eax - 0xc], 0
je 0x4817ab
push str.10000000_0000_0000_0000_000000000001
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4817ab
mov ecx, dword [ebp + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
or ebx, 0xffffffff
sub ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov edi, eax
add edi, ebx
push esi
mov esi, dword [ebp + 0x68]
mov ebx, 1
call fcn.0057f980
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x8c]
mov eax, dword [esi + 8]
mov edx, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 8]
push 0xcc0020
mov ecx, esi
call eax
mov edx, dword [esi]
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x5c]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x60]
sub eax, ecx
push eax
mov eax, dword [esp + 0x60]
sub edi, eax
sub edi, 2
push edi
add ecx, 1
push ecx
add eax, 1
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
jmp 0x48185c
cmp dword [ebp + 0x60], 0
je 0x48185c
mov ecx, dword [ebp + 0x60]
mov edx, dword [ecx + 8]
mov eax, ecx
mov dword [esp + 0x24], edx
mov edx, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 8]
push 0xcc0020
call eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x50]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x60]
sub esi, ecx
push esi
sub edi, eax
sub edi, 2
push edi
add ecx, 1
push ecx
add eax, 1
push eax
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x18]
add dword [esp + 0x88], 1
add eax, 0x10
cmp eax, 0x50
mov dword [esp + 0x18], eax
jle 0x481553
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x74]
add esi, dword [ebp + 0x78]
lea edi, [ebp + 0x7c]
push edi
add ecx, 0x24
call fcn.0048b500
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x482121
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x482121
mov ecx, dword [ebp + 0x20]
push edi
add ecx, 0x24
call fcn.0048b500
mov edi, eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4818c9
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4818ce
call fcn.005d29f1
mov edx, dword [edi + 4]
mov ebx, dword [edx + esi*4]
mov eax, dword [ebp + 0x3c]
lea edi, [ebp + 0x38]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], edi
je 0x4818ee
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 4
jne 0x4818f3
call fcn.005d29f1
cmp dword [0x67d944], esi
mov eax, dword [edi + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
jne 0x481d04
cmp ebx, esi
je 0x48210e
cmp dword [ebx + 0x28], esi
je 0x48210e
cmp dword [ebx + 0x30], esi
je 0x48210e
mov ecx, dword [ebx + 0x30]
sub edi, edx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x88], edi
call eax
cmp edi, eax
jge 0x481a2f
mov ecx, dword [ebx + 0x30]
fild dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
fstp qword [esp + 0x30]
call eax
mov dword [esp + 0x88], eax
fild dword [esp + 0x88]
fdivr qword [esp + 0x30]
fmul qword [0x6407f8]
call fcn.005f4400
mov edx, dword [ebp + 0x100]
push 2
lea ecx, [esp + 0x68]
push ecx
lea edi, [ebp + 0x100]
push 2
push edx
mov dword [esp + 0x74], 0x1c
mov dword [esp + 0x84], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x78], 2
mov dword [esp + 0x98], edi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [edi]
push 2
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
imul ecx, esi
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [edi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x60]
add dword [esp + 0x50], ecx
xor esi, esi
jmp 0x481a51
mov edx, dword [ebp + 0x100]
lea eax, [ebp + 0x100]
push esi
push edx
mov dword [esp + 0x90], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
cmp dword [esp + 0x1c], eax
jge 0x481b3a
mov ecx, dword [ebx + 0x30]
fild dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
fstp qword [esp + 0x30]
call edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fdivr qword [esp + 0x30]
fmul qword [0x6407f8]
call fcn.005f4400
mov ecx, dword [ebp + 0x104]
push 2
mov dword [esp + 0x78], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x70], esi
push eax
lea esi, [ebp + 0x104]
push 2
push ecx
mov dword [esp + 0x74], 0x1c
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov edx, dword [esi]
push 2
push edx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fild dword [esp + 0x30]
fdiv qword [0x6407f8]
fmulp st(1)
call fcn.005f4400
mov dword [esp + 0x24], eax
mov eax, dword [esi]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x5c]
add dword [esp + 0x4c], eax
jmp 0x481b56
mov ecx, dword [ebp + 0x104]
lea eax, [ebp + 0x104]
push esi
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x14]
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481bfb
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481bfb
mov edx, dword [edi]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x30]
push ecx
push edx
call edi
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
push ecx
call edi
add ebp, 4
lea eax, [esp + 0x30]
mov edi, ebp
call fcn.0044aa50
lea eax, [esp + 0x54]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add edx, ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x88]
add ecx, eax
push 1
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x68], ecx
call fcn.0044aa20
jmp 0x481ce4
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481c8c
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x481c8c
mov ecx, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edi, [ebp + 4]
lea eax, [esp + 0x30]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x88]
push 1
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], ecx
call fcn.0044aa20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
jmp 0x4820df
mov ecx, dword [edi]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call edi
test eax, eax
jne 0x481cf4
mov edx, dword [esi]
push edx
call edi
test eax, eax
je 0x481cf4
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edi, [ebp + 4]
lea eax, [esp + 0x54]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
push 1
push eax
lea eax, [esp + 0x5c]
call fcn.0044aa20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
jmp 0x4820df
cmp ebx, esi
je 0x48210e
cmp dword [ebx + 0x28], esi
je 0x48210e
cmp dword [ebx + 0x34], esi
je 0x48210e
mov ecx, dword [ebx + 0x34]
sub edi, edx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x88], edi
call eax
cmp edi, eax
jge 0x481e19
mov ecx, dword [ebx + 0x34]
fild dword [esp + 0x88]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
fstp qword [esp + 0x30]
call eax
mov dword [esp + 0x88], eax
fild dword [esp + 0x88]
fdivr qword [esp + 0x30]
fmul qword [0x6407f8]
call fcn.005f4400
mov edx, dword [ebp + 0x100]
push 2
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], esi
push ecx
lea esi, [ebp + 0x100]
push 2
push edx
mov dword [esp + 0x74], 0x1c
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x78], 2
mov dword [esp + 0x98], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [esi]
push 2
push eax
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fild dword [esp + 0x24]
fdiv qword [0x6407f8]
fmulp st(1)
call fcn.005f4400
mov ecx, dword [esi]
push 1
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x60]
add dword [esp + 0x50], ecx
jmp 0x481e3b
mov edx, dword [ebp + 0x100]
lea eax, [ebp + 0x100]
push esi
push edx
mov dword [esp + 0x90], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esp + 0x88]
mov ecx, dword [ebx + 0x34]
mov edi, dword [esp + 0x50]
mov eax, dword [ecx]
sub edi, dword [esp + 0x48]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edi
call edx
cmp edi, eax
jge 0x481f25
mov ecx, dword [ebx + 0x34]
fild dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
fstp qword [esp + 0x28]
call edx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fdivr qword [esp + 0x28]
fmul qword [0x6407f8]
call fcn.005f4400
mov ecx, dword [ebp + 0x104]
push 2
mov dword [esp + 0x78], eax
lea eax, [esp + 0x68]
push eax
lea edi, [ebp + 0x104]
push 2
push ecx
mov dword [esp + 0x74], 0x1c
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x64
mov dword [esp + 0x78], 2
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov edx, dword [edi]
push 2
push edx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, eax
imul ecx, dword [esp + 0x30]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi]
lea ecx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x5c]
add dword [esp + 0x4c], eax
jmp 0x481f42
mov ecx, dword [ebp + 0x104]
lea eax, [ebp + 0x104]
push 0
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esp + 0x14]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481ff2
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x481ff2
mov edx, dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x54]
push ecx
push edx
call esi
mov ecx, dword [edi]
lea eax, [esp + 0x30]
push eax
push ecx
call esi
add ebp, 4
lea eax, [esp + 0x54]
mov edi, ebp
call fcn.0044aa50
lea eax, [esp + 0x30]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
add edx, ecx
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x88]
add ecx, eax
push 1
push edx
lea eax, [esp + 0x5c]
mov dword [esp + 0x44], ecx
call fcn.0044aa20
mov eax, dword [esp + 0x14]
push 1
push eax
lea eax, [esp + 0x38]
jmp 0x4820cf
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48206c
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48206c
mov ecx, dword [esi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edi, [ebp + 4]
lea eax, [esp + 0x30]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x88]
push 1
push eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x38]
jmp 0x4820cf
mov ecx, dword [esi]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call esi
test eax, eax
jne 0x4820d4
mov edx, dword [edi]
push edx
call esi
test eax, eax
je 0x4820d4
mov ecx, dword [edi]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edi, [ebp + 4]
lea eax, [esp + 0x54]
call fcn.0044aa50
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00483f90
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x14]
push 1
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
lea eax, [esp + 0x5c]
call fcn.0044aa20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 0x34]
push 0xcc0020
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x54]
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x8c]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8