Function at 0x4d6dd0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x576ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4d7550
mov eax, dword [esp + 0xbc]
cmp eax, 1
jne 0x4d6e77
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x38]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00517e47
mov edx, dword [esp + 0x38]
push 0xc8
push 0x64
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], edx
lea ecx, [edi + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.004d6bb0
jmp 0x4d7550
cmp eax, 2
jne 0x4d6fd3
lea ecx, [esp + 0x38]
call fcn.00517947
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x28]
push edx
push ecx
mov dword [esp + 0xac], 0
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
lea ecx, [esp + 0x3c]
call fcn.00494110
lea eax, [edi + 0x10]
test eax, eax
je 0x4d6eba
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.005181a1
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x6c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0xb0]
test edi, edi
push 0xcc0020
je 0x4d6f70
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x70]
cmp eax, ebx
mov ecx, dword [esp + 0x34]
jg 0x4d6f4f
mov edx, ecx
sub edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x74]
jg 0x4d6f4f
mov ecx, dword [esp + 0xb4]
push 0xcc0020
push ecx
push edi
lea ebx, [esp + 0x44]
push ebx
push edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00494180
jmp 0x4d6fa0
mov edx, dword [esp + 0x74]
sub ecx, dword [esp + 0x2c]
push 0xcc0020
push edx
push ebx
push 0
lea edx, [edi + 6]
push edx
lea edx, [esp + 0x4c]
push edx
push ecx
push eax
push 0
push edi
jmp 0x4d6f99
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
push 0
push 0
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.004a33b0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4d6fbc
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.005181a1
lea ecx, [esp + 0x38]
jmp 0x4d7540
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x3c]
push eax
push edx
call fcn.005181a1
lea ecx, [esp + 0x38]
jmp 0x4d7540
test eax, eax
jne 0x4d726e
lea ecx, [esp + 0x28]
call fcn.00517947
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x38]
push eax
push edx
mov dword [esp + 0xac], 1
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
lea ecx, [esp + 0x2c]
call fcn.00494110
test eax, eax
je 0x4d7265
cmp dword [esp + 0x2c], 0
je 0x4d7265
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.00494150
mov edx, dword [edi + 0x14]
lea ecx, [esp + 0x6c]
push ecx
push 0x18
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x74]
sub edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
sub ecx, dword [esp + 0x38]
cmp edi, eax
push 0xcc0020
push 0
mov dword [esp + 0x28], ebx
mov ebp, eax
push 0
jg 0x4d71ee
cmp ecx, ebx
jg 0x4d708a
lea eax, [esp + 0x34]
push eax
push edi
push ebx
push 0
push 0
mov ecx, esi
call fcn.00494180
jmp 0x4d723b
sub ecx, ebx
mov ebp, ebx
sub ebp, ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x32
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x2c], ebp
push eax
mov ecx, esi
jle 0x4d7163
add ebx, 0xffffffce
push ebx
push 0
push 0
call fcn.00494180
mov ebp, ebx
mov dword [esp + 0x14], 0x32
push 0x330008
push 0
push ebx
lea edx, [esp + 0x34]
push edx
push edi
push 1
push 0
push ebp
mov ecx, esi
call fcn.00494180
push 0xcc0020
push 0
push ebx
lea eax, [esp + 0x34]
push eax
push edi
push 1
push 0
push ebp
mov ecx, esi
call fcn.00494180
add ebp, 1
sub dword [esp + 0x14], 1
jne 0x4d70c0
mov eax, dword [esp + 0x18]
add eax, 0xffffffce
xor ebp, ebp
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4d7139
mov edx, dword [esp + 0x20]
push 0xcc0020
push 0
push ebx
lea ecx, [esp + 0x34]
push ecx
push edi
push 1
push 0
lea eax, [edx + ebp]
push eax
mov ecx, esi
call fcn.00494180
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x4d710f
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
push 0xcc0020
push 0
push ebx
lea ecx, [esp + 0x34]
push ecx
push edi
push 0x32
push 0
sub edx, 0x32
push edx
mov ecx, esi
call fcn.00494180
jmp 0x4d723b
push ebp
push 0
push 0
call fcn.00494180
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x4d71c9
mov ebx, ebp
sub ebx, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx]
push 0x330008
push 0
push ebx
lea edx, [esp + 0x34]
push edx
push edi
push 1
push 0
push ebp
mov ecx, esi
call fcn.00494180
push 0xcc0020
push 0
push ebx
lea eax, [esp + 0x34]
push eax
push edi
push 1
push 0
push ebp
mov ecx, esi
call fcn.00494180
add ebx, 1
add ebp, 1
sub dword [esp + 0x14], 1
jne 0x4d7180
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
push 0xcc0020
push 0
push ebp
lea ecx, [esp + 0x34]
push ecx
push edi
push eax
push 0
sub edx, eax
push edx
mov ecx, esi
call fcn.00494180
jmp 0x4d723b
lea ecx, [esp + 0x34]
push ecx
push eax
push ebx
push 0
push 0
mov ecx, esi
sub edi, eax
call fcn.00494180
xor ebx, ebx
test edi, edi
jle 0x4d723b
jmp 0x4d7210
push 0xcc0020
lea eax, [ebp - 1]
push eax
mov eax, dword [esp + 0x28]
push 0
lea edx, [esp + 0x34]
push edx
push 1
push eax
lea ecx, [ebx + ebp]
push ecx
push 0
mov ecx, esi
call fcn.00494180
add ebx, 1
cmp ebx, edi
jl 0x4d7210
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4d7257
mov edx, dword [esp + 0x2c]
push eax
push edx
call fcn.005181a1
lea ecx, [esp + 0x28]
jmp 0x4d7540
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x2c]
push eax
push edx
call fcn.005181a1
lea ecx, [esp + 0x28]
jmp 0x4d7540
cmp eax, 4
jne 0x4d7550
lea ecx, [esp + 0x48]
call fcn.00517947
mov ecx, dword [edi + 0x30]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x5c]
push eax
push edx
mov dword [esp + 0xac], 2
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
lea ecx, [esp + 0x4c]
call fcn.00494110
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x4c]
call fcn.00494150
mov edx, dword [edi + 0x14]
lea ecx, [esp + 0x84]
push ecx
push 0x18
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x88]
push 0xcc0020
sub edi, ecx
cmp eax, edi
push 0
mov dword [esp + 0x20], eax
push 0
jl 0x4d7492
cmp edx, ebp
jg 0x4d7313
lea eax, [esp + 0x54]
push eax
push edi
push ebp
push 0
jmp 0x4d751d
sub edx, ebp
lea ecx, [esp + 0x54]
mov ebx, ebp
sub ebx, edx
cmp edx, 0x32
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ebx
push eax
mov ecx, esi
jle 0x4d7405
lea edi, [ebp - 0x32]
push edi
push 0
push 0
call fcn.00494180
mov ebx, edi
mov dword [esp + 0x14], 0x32
lea esp, [esp]
mov eax, dword [esp + 0x18]
push 0x330008
push 0
push edi
lea edx, [esp + 0x54]
push edx
push eax
push 1
push 0
push ebx
mov ecx, esi
call fcn.00494180
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push edi
lea ecx, [esp + 0x54]
push ecx
push edx
push 1
push 0
push ebx
mov ecx, esi
call fcn.00494180
add ebx, 1
sub dword [esp + 0x14], 1
jne 0x4d7350
mov eax, dword [esp + 0x20]
add eax, 0xffffffce
xor ebx, ebx
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4d73d4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push 0
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push 1
push 0
lea edx, [ebx + ebp]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
add ebx, 1
cmp ebx, dword [esp + 0x24]
jl 0x4d73a7
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
push 0xcc0020
push 0
push edi
push ecx
push edx
push 0x32
sub eax, 0x32
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4d7526
push ebx
push 0
push 0
call fcn.00494180
cmp dword [esp + 0x20], 0
jle 0x4d7470
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov edi, edi
mov eax, dword [esp + 0x14]
push 0x330008
push 0
add eax, 0xffffffff
push eax
lea eax, [esp + 0x54]
push eax
push edi
push 1
push 0
push ebx
mov ecx, esi
call fcn.00494180
mov eax, dword [esp + 0x14]
push 0xcc0020
push 0
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x54]
push ecx
push edi
push 1
push 0
push ebx
mov ecx, esi
call fcn.00494180
add ebx, 1
sub dword [esp + 0x1c], 1
jne 0x4d7420
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push 0xcc0020
push 0
add ebx, 0xffffffff
push ebx
lea edx, [esp + 0x54]
push edx
push eax
push ecx
push 0
push ebp
jmp 0x4d751f
sub edi, eax
mov ebx, edi
sub eax, ebx
mov edi, eax
lea eax, [esp + 0x54]
push eax
push edi
push ebp
push 0
push 0
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x44], edi
call fcn.00494180
test ebx, ebx
jle 0x4d7509
mov ecx, dword [esp + 0x14]
lea ebx, [edi - 1]
mov dword [esp + 0x1c], ecx
push 0x330008
push ebx
push 0
lea edx, [esp + 0x54]
push edx
push 1
push ebp
push edi
push 0
mov ecx, esi
call fcn.00494180
push 0xcc0020
push ebx
push 0
lea eax, [esp + 0x54]
push eax
push 1
push ebp
push edi
push 0
mov ecx, esi
call fcn.00494180
add edi, 1
sub dword [esp + 0x1c], 1
jne 0x4d74c3
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0xcc0020
push edi
push 0
lea ecx, [esp + 0x54]
push ecx
push ebx
push ebp
push edx
push 0
mov ecx, esi
call fcn.00494180
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4d7531
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.005181a1
lea ecx, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00517ecf
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x14