Function at 0x4776e0
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 0x47772b
mov eax, dword [ebp + 0x40]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x88], eax
jb 0x477730
call fcn.00578ff3
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 0x4777ac
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 0x477827
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.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x477848
xor eax, eax
jmp 0x477850
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 0x4779c4
push 0x6c
call fcn.00578e5f
add esp, 4
test eax, eax
je 0x477881
call fcn.00530b10
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x47788d
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.0047f420
mov edx, dword [eax + 4]
test edx, edx
mov dword [esp + 0x28], eax
je 0x4778c7
mov ecx, dword [eax + 8]
sub ecx, edx
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x4778d0
call fcn.00578ff3
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 0x4778ef
cmp dword [eax + 0x28], 0
je 0x4778ef
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x4778f2
mov eax, dword [ebp + 0x64]
push esi
call fcn.005303d0
mov ecx, dword [ebp + 0x74]
add ecx, 1
cmp dword [esp + 0x88], ecx
jne 0x47796b
cmp dword [ebp + 0x6c], 0
je 0x47796b
cmp dword [ebp + 0x68], 0
je 0x47796b
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 4]
cmp dword [eax - 0xc], 0
je 0x47796b
push str.10000000_0000_0000_0000_000000000001
push eax
call fcn.00579288
add esp, 8
test eax, eax
je 0x47796b
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.0052f840
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 0x477a1c
cmp dword [ebp + 0x60], 0
je 0x477a1c
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 0x477713
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.0047f420
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4782e1
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4782e1
mov ecx, dword [ebp + 0x20]
push edi
add ecx, 0x24
call fcn.0047f420
mov edi, eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x477a89
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x477a8e
call fcn.00578ff3
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 0x477aae
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 4
jne 0x477ab3
call fcn.00578ff3
cmp dword [0x601d5c], 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 0x477ec4
cmp ebx, esi
je 0x4782ce
cmp dword [ebx + 0x28], esi
je 0x4782ce
cmp dword [ebx + 0x30], esi
je 0x4782ce
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 0x477bef
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 [0x5d1470]
call fcn.005999a0
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 0x477c11
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 0x477cfa
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 [0x5d1470]
call fcn.005999a0
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 [0x5d1470]
fmulp st(1)
call fcn.005999a0
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 0x477d16
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 0x477dbb
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x477dbb
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.00449f60
lea eax, [esp + 0x54]
call fcn.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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.00449f30
jmp 0x477ea4
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x477e4c
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477e4c
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.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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.00449f30
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
jmp 0x47829f
mov ecx, dword [edi]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call edi
test eax, eax
jne 0x477eb4
mov edx, dword [esi]
push edx
call edi
test eax, eax
je 0x477eb4
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.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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.00449f30
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x30]
jmp 0x47829f
cmp ebx, esi
je 0x4782ce
cmp dword [ebx + 0x28], esi
je 0x4782ce
cmp dword [ebx + 0x34], esi
je 0x4782ce
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 0x477fd9
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 [0x5d1470]
call fcn.005999a0
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 [0x5d1470]
fmulp st(1)
call fcn.005999a0
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 0x477ffb
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 0x4780e5
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 [0x5d1470]
call fcn.005999a0
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 0x478102
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 0x4781b2
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4781b2
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.00449f60
lea eax, [esp + 0x30]
call fcn.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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.00449f30
mov eax, dword [esp + 0x14]
push 1
push eax
lea eax, [esp + 0x38]
jmp 0x47828f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47822c
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x47822c
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.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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 0x47828f
mov ecx, dword [esi]
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call esi
test eax, eax
jne 0x478294
mov edx, dword [edi]
push edx
call esi
test eax, eax
je 0x478294
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.00449f60
mov esi, dword [esp + 0x18]
xor edi, edi
call fcn.00479fa0
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.00449f30
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