Function at 0x43c7d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ac2c
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x510]
mov dword fs:[0], eax
mov eax, dword [esp + 0x520]
mov esi, edx
lea edx, [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x524]
push edx
push eax
mov dword [esp + 0x70], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
sub ebx, dword [esp + 0x74]
sub ebp, dword [esp + 0x78]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push ebx
mov edi, eax
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push 0
push 0
push edi
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x43c8a6
mov eax, dword [esp + 0x2c]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x43cc3b
fld1
mov esi, dword [esp + 0x18]
fst dword [esp + 0x84]
lea edx, [esp + 0x20]
fldz
push edx
fst dword [esp + 0x8c]
mov dword [esp + 0x24], 0
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x98]
fst dword [esp + 0x9c]
fst dword [esp + 0xa4]
fst dword [esp + 0xa8]
fst dword [esp + 0xac]
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fst dword [esp + 0xbc]
fst dword [esp + 0xc0]
fst dword [esp + 0xc4]
fst dword [esp + 0xc8]
fst dword [esp + 0xcc]
fxch st(1)
fst dword [esp + 0xa0]
fst dword [esp + 0xb8]
fld dword [esi + 0xe4]
fstp dword [esp + 0xd0]
fxch st(1)
fst dword [esp + 0xd4]
fst dword [esp + 0xd8]
fst dword [esp + 0xdc]
fst dword [esp + 0xe0]
fstp dword [esp + 0xe4]
fstp dword [esp + 0xe8]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [esp + 0x24], eax
push 0
push 0
lea eax, [esp + 0x8c]
push eax
push 1
mov dword [esp + 0x528], 0
mov ecx, dword [esp + 0x30]
push 1
push ecx
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x43c9aa
mov dword [esp + 0x24], eax
lea edx, [esp + 0x28]
push edx
push edi
mov dword [esp + 0x30], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov byte [esp + 0x518], 1
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x18], eax
je 0x43cbfe
mov edx, dword [eax + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x44], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x43ca00
mov ecx, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov edi, dword [esi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x40], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x43ca27
mov dword [edi + 8], eax
mov edi, dword [esi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x43ca4e
mov dword [edi + 8], eax
mov edi, dword [esi]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x43ca75
mov dword [edi + 8], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov edi, dword [esi]
push ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x5c], eax
push 0
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x54]
lea esi, [esp + 0x4c]
mov dword [esp + 0x54], 0x15
mov dword [esp + 0x58], 0x4e
call fcn.00407480
xor edi, edi
cmp eax, edi
jne 0x43cada
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push 0xcc0020
push edi
push edi
push eax
push ebp
push ebx
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x43cbfa
push eax
push 0x46767c
lea edx, [esp + 0x114]
push 0x200
push edx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0xf0]
mov word [esp + 0x50a], di
call fcn.0042bd40
mov byte [esp + 0x518], 2
mov ebx, 7
lea eax, [esp + 0x10c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43cb30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x110]
push eax
lea esi, [esp + 0x50]
call fcn.00406f80
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0xf8]
mov byte [esp + 0x520], 3
call fcn.00406df0
mov ebp, 8
cmp dword [esp + 0x60], ebp
jb 0x43cb84
mov edx, dword [esp + 0x4c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x108], ebp
mov edx, dword [esp + 0xf4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
jae 0x43cba8
lea edx, [esp + 0xf4]
mov ebx, dword [0x474bb0]
cmp ebx, edi
je 0x43cbe1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43cbb7
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x108], ebp
jb 0x43cbfa
mov edx, dword [esp + 0xf4]
push edx
call fcn.004415cb
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
push edi
push eax
call sub.gdiplus.dll_GdipReleaseDC
mov ecx, dword [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x40]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov ecx, dword [esp + 0x510]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4f8]
xor ecx, esp
call fcn.004414cc
add esp, 0x508
ret 8