Function at 0x43b330
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45851c
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x4f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
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 0x43b406
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 0x43b79b
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 + 0xe0]
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 0x43b50a
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 0x43b75e
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 0x43b560
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 0x43b587
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 0x43b5ae
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 0x43b5d5
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.00407270
xor edi, edi
cmp eax, edi
jne 0x43b63a
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 0x43b75a
push eax
push 0x4654a4
push 0x400
lea edx, [esp + 0x118]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0xf0]
call fcn.0042a750
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 ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b690
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x110]
push eax
lea esi, [esp + 0x50]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0xf8]
mov byte [esp + 0x520], 3
call fcn.00406d90
mov ebp, 8
cmp dword [esp + 0x60], ebp
jb 0x43b6e4
mov edx, dword [esp + 0x4c]
push edx
call fcn.0043ef40
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 0x43b708
lea edx, [esp + 0xf4]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x43b741
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b717
sub eax, esi
sar eax, 1
push ebx
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x108], ebp
jb 0x43b75a
mov edx, dword [esp + 0xf4]
push edx
call fcn.0043ef40
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.0043ef12
add esp, 0x508
ret 8