Function at 0x446000
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5235b8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x88], 4
je 0x44606c
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
add edx, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x28], ecx
add eax, ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov dword [esp + 0x38], eax
call fcn.00512bad
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
mov eax, dword [esi + 0x54]
xor ebp, ebp
cmp eax, ebp
jne 0x446087
lea edi, [esi + 0x7c]
cmp edi, ebp
je 0x44608c
cmp dword [edi + 4], ebp
jne 0x44611a
jmp 0x44608c
cmp eax, 1
jne 0x4460e3
mov eax, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
add edx, eax
mov eax, dword [esi + 0x78]
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov al, byte [esi + 0x50]
test al, al
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x40]
sete cl
push ecx
push edx
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
call fcn.00445a50
add esp, 0x14
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
cmp eax, 2
jne 0x44626c
mov edi, dword [esp + 0x5c]
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
add esi, 0x5c
push eax
push esi
mov ecx, edi
call fcn.00512bad
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 4
lea ecx, [esp + 0x14]
call fcn.0050b9b3
mov edx, dword [esi + 0x80]
lea ecx, [esp + 0x34]
push ecx
push 0x18
push edx
mov dword [esp + 0x60], ebp
call dword [sym.imp.GDI32.dll_GetObjectA]
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.0050ba6a
cmp edi, ebp
jne 0x446154
xor edi, edi
jmp 0x446157
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x18]
push ebx
push edi
push eax
call fcn.0050bbab
mov ebx, eax
mov al, byte [esi + 0x58]
test al, al
mov dword [esp + 0x14], ebx
je 0x446204
mov eax, dword [esi + 0x78]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x40]
cdq
idiv ebp
test eax, eax
jl 0x446244
mov ebx, dword [esp + 0x3c]
mov eax, dword [esi + 0x70]
xor edi, edi
cdq
idiv ebx
test eax, eax
jl 0x4461eb
mov ecx, ebp
mov edx, dword [esi + 0x74]
imul ecx, dword [esp + 0x10]
add ecx, edx
mov edx, ebx
imul edx, edi
mov eax, dword [esi + 0x6c]
push 0xcc0020
add edx, eax
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x24]
push 0
push eax
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x70]
mov ebx, dword [esp + 0x3c]
cdq
idiv ebx
mov ebp, dword [esp + 0x40]
inc edi
cmp edi, eax
jle 0x44619a
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x10]
cdq
idiv ebp
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, eax
jle 0x44618e
mov ebx, dword [esp + 0x14]
jmp 0x446244
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov ecx, dword [esi + 0x78]
and eax, ebp
mov ebp, dword [esp + 0x40]
mov edx, dword [esi + 0x70]
push 0xcc0020
mov edi, dword [esi + 0x74]
push ebp
mov ebp, dword [esp + 0x44]
mov esi, dword [esi + 0x6c]
push ebp
push 0
push 0
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
push edi
mov ecx, dword [eax + 4]
push esi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
test ebx, ebx
jne 0x44624c
xor eax, eax
jmp 0x44624f
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.0050bbab
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.0050bae8
pop ebx
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 4